-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
117 lines (117 loc) · 5.08 KB
/
profile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OTT - Profile</title>
<link rel="stylesheet" href="profile1.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="manga.html">Manga</a></li>
<li><a href="voicebooks.html">Voicebooks</a></li>
<li><a href="subscription.html">Subscription</a></li>
<li><a class="active" href="profile.html">Profile</a></li>
</ul>
</nav>
</header>
<div class="profile-wrapper">
<div class="profile-header">
<div class="profile-image">
<img src="image/Akatsuki.jpg" alt="Profile Image">
</div>
<div class="profile-info">
<h2>venkat07</h2>
<p>[email protected]</p>
<p>book Love</p>
<ul class="social-links">
<li><i class="fab fa-twitter"></i></li>
<li><i class="fab fa-instagram"></i></li>
<li><i class="fab fa-facebook"></i></li>
<li><i class="fab fa-pinterest"></i></li>
</ul>
</div>
</div>
<div class="content">
<div class="progress-section">
<h2>Reading Progress</h2>
<ul class="progress-list">
<li class="progress-item">
<img src="image/Pain.jpg" >
<div class="progress-details">
<h3>Naruto</h3>
<p>Chapter 10 of 50</p>
<div class="progress-bar">
<div class="progress" style="width: 20%;"></div>
</div>
</div>
</li>
<li class="progress-item">
<img src="image/Jujutsu_kaisen.jpg">
<div class="progress-details">
<h3>Jujutsu kaisen</h3>
<p>Chapter 25 of 100</p>
<div class="progress-bar">
<div class="progress" style="width: 25%;"></div>
</div>
</div>
</li>
</ul>
</div>
<div class="progress-section">
<h2>Listening Progress</h2>
<ul class="progress-list">
<li class="progress-item">
<img src="image/haunting adeline.jpg" alt="Voicebook 1">
<div class="progress-details">
<h3>haunting adeline</h3>
<p>Chapter 3 of 44</p>
<div class="progress-bar">
<div class="progress" style="width: 15%;"></div>
</div>
</div>
</li>
<li class="progress-item">
<img src="image/poniyan selvan.jpg" alt="Voicebook 2">
<div class="progress-details">
<h3>Poniyan selvan</h3>
<p>Chapter 5 of 100</p>
<div class="progress-bar">
<div class="progress" style="width: 16%;"></div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<script>
document.querySelector("#upload").addEventListener("click", function () {
document.querySelector(".popup").style.display = "flex";
});
document.querySelector(".close").addEventListener("click", function () {
document.querySelector(".popup").style.display = "none";
});
document.getElementById("inp").onchange = function () {
document.getElementById("imageUp").src = URL.createObjectURL(this.files[0]);
};
function upload1() {
let profilepic = document.getElementById("imageUp");
let inputfile = document.getElementById("inp");
let a = 1;
document.getElementById("i" + a).src = URL.createObjectURL(inputfile.files[0]);
document.getElementById("i" + a).style.display = "flex";
document.querySelector(".popup").style.display = "none";
a = a + 1;
document.getElementById("imageUp").src = "image/profile.jpg";
}
</script>
</body>
</html>