This repository was archived by the owner on Mar 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdashboard.html
162 lines (161 loc) · 3.89 KB
/
dashboard.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>Ubercodes - Personal Dashboard</title>
<link
rel="stylesheet"
href="styles/dashboard.css"
/>
<!-- favicon -->
<link
rel="icon"
type="image/webp"
href="/images/icon.png"
/>
<script
defer
data-domain="ubercoders.in"
src="https://plausible.io/js/script.file-downloads.js"
></script>
<script>
window.plausible =
window.plausible ||
function () {
(window.plausible.q =
window.plausible.q || []).push(
arguments
);
};
</script>
<script src="https://www.gstatic.com/firebasejs/9.16.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.16.0/firebase-auth.js"></script>
</head>
<body>
<div class="container">
<div class="header">
<div
style="
display: flex;
justify-content: space-between;
align-items: center;
"
>
<div>
<h1>
Welcome Back,
<span id="userName">{User}</span>!
</h1>
<p>
Track your GSOC 2025 preparation
progress
</p>
</div>
<button
id="logout-button"
style="
padding: 10px 20px;
border: none;
border-radius: 5px;
background: #ff4444;
color: white;
cursor: pointer;
"
>
Logout
</button>
</div>
</div>
<div class="content">
<div class="tabs">
<button
class="tab-button active"
data-tab="dashboard"
>
Dashboard
</button>
<button
class="tab-button"
data-tab="events"
>
Events
</button>
<button
class="tab-button"
data-tab="tasks"
>
Tasks
</button>
</div>
<div
id="dashboard"
class="tab-content active"
>
<h2>Dashboard</h2>
<p>
Problems Solved:
<span id="problemsSolved">0</span>
</p>
<p>
GitHub Streak:
<span id="githubStreak">0</span>
</p>
<p>
Projects Completed:
<span id="projectsCompleted">0</span>
</p>
<div class="progress-bar">
<div
id="gsocProgress"
class="progress"
style="width: 0%"
></div>
</div>
<p>
Progress:
<span id="progressPercent">0</span>%
</p>
</div>
<div id="events" class="tab-content">
<h2>Events</h2>
<div id="eventsList"></div>
</div>
<div id="tasks" class="tab-content">
<h2>Tasks</h2>
<ul style="list-style-type: none; margin: 20px;">
<li>
<input
type="checkbox"
class="task-checkbox"
/>
<h3 style="display: inline;">Task 1</h3>
</li>
<li>
<input
type="checkbox"
class="task-checkbox"
/>
<h3 style="display: inline;">Task 2</h3>
</li>
<li>
<input
type="checkbox"
class="task-checkbox"
/>
<h3 style="display: inline;">Task 3</h3>
</li>
</ul>
</div>
</div>
</div>
<script
type="module"
src="script/dashboard.js"
defer
></script>
</body>
</html>