-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
192 lines (175 loc) · 7.72 KB
/
index.html
File metadata and controls
192 lines (175 loc) · 7.72 KB
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="styles.css?v=1.0">
<title>01Founders | Student Dashboard</title>
</head>
<body>
<div class="login-container" id="loginContainer" style="display:none;">
<h1>Login</h1>
<form >
<input type="text" id="username" placeholder="Enter Username or Email" name="username" required >
<input type="password" id="password" placeholder="Enter Password" name="password" required >
<button type="button" id="login-btn">Login</button>
<div class="remember-me-container">
<input type="checkbox" id="remember-me" name="rememberMe">
<label for="remember-me">Remember Me</label>
</div>
</form>
<p id="error" class="error-message"></p>
</div>
<!-- XP board -->
<div id="xpDetailOverlay" class="xp-overlay" style="display:none;">
<div class="xp-overlay-content card">
<span class="close-btn" id="close-xp-overlay-btn">×</span>
<div id="xpDetailContent">
<h2>XP Board</h2>
<ul id="allProjectList"></ul>
</div>
</div>
</div>
<!-- group detail Overlay container -->
<div id="groupDetailsOverlay" class="overlay">
<div class="overlay-content card">
<span class="close-btn" id="close-overlay-btn">×</span>
<div id="groupDetailsContent"></div>
</div>
</div>
<div class="container" id="dashboardContainer" style="display:none;">
<div class="left-section">
<!-- user Info -->
<div class="card-user" id="user-info" >
<div class="user-header">
<img id="userImage" alt="User Image"></img>
<h2 class="f-ms14"><span id="fullName"></span></h2>
</div>
<div class="list-item">
<li>Login: <span id="login"></span></li>
<li>ID: <span id="userId"></span></li>
<li>Student ID: <span id="stdId"></span></li>
<li>Campus: <span id="campus"></span></li>
<li>Email: <span id="email"></span></li>
<li>Joined: <span id="createdAt"></span></li>
</div>
</div>
<div >
<button class="logout-button" type="button" id="logout-btn">Logout</button>
</div>
</div>
<!-- header -->
<div class="header">
<h1>Welcome to Your Dashboard, <span class="f-ms20 f-cb" id="userLoginName"></span></h1>
<div>
<button class="logout-button2" type="button" id="logout-btn-header">Logout</button>
</div>
</div>
<!-- Top Section -->
<div class="dashboard-section dashboard-top" id="topSection">
<!-- XP Info-->
<div id="xp-info" class="grid card xp-info">
<a href="#" class="link-more"> See More <i class="fa-solid fa-angle-right more-icon"></i> </a>
<h2><span id="totalXp" class="f-md"> </span></h2>
<h2 class="bb-01">Last activity</h2>
<div class="f-ms12"><span id="project-list"></span></div>
</div>
<!-- audit ratio Info-->
<div id="audit-info" class="grid card audit-info">
<div class="audit-header">
<h1 class="bb-01">Audits ratio</h1>
</div>
<div class="audit-content-container">
<div class="audit-left" id="audit-left">
<div id="done-container" class="svg-container">
<svg id="done-svg" width="100%" role="img" aria-label="done-icon">
</svg>
</div>
<div id="received-container" class="svg-container">
<svg id="received-svg" width="100%" role="img" aria-label="received-icon">
</svg>
</div>
</div>
<div class="audit-right f-ms14">
<div class="audit-content">
<div>
<span id="totalUp"></span>
</div>
<div class="arrow-svg-container">
<div>Done</div>
<svg id="up-arraw" role="img" width="12" viewBox="0 0 130 130" aria-label="icon"><path fill="none" stroke="var(--white-0)" stroke-width="6" d="M17.35 55.4L65 7.75l47.65 47.65M65 122.75V8.41"></path></svg>
</div>
</div>
<div class="audit-content">
<div class="arrow-svg-container">
<div>Received</div>
<svg id="down-arraw" role="img" width="12" viewBox="0 0 130 130" aria-label="icon"><path fill="none" stroke="var(--white-0)" stroke-width="6" d="M114.65 73.1L67 120.75 19.35 73.1M67 5.75v114.34"></path></svg>
</div>
<div>
<span id="totalDown"></span>
</div>
</div>
</div>
</div>
<div class="ratio-status">
<div class="audit-ratio-value f-md"><span id="auditRatio"></span></div>
<div class="f-cy" id="status"></div>
</div>
</div>
<!-- on progress info-->
<div id="OnProgress" class="grid card OnProgress">
<h2 class="bb-01">Currently working on</h2>
<div id="workingProjectsList"></div>
</div>
<!-- skill radar chart-->
<div id="radarChartContainer" class="grid card radarChart">
<div class="radarChart-header">
<!-- <h1 class="f-md2">Skills</h1> -->
<h1 class="f-md2">Current Level: <span class="f-md" id="level"></span></h1>
</div>
<svg id="radarChart" width="100%"></svg>
<h1 class="f-md2" id="skillTypeTitle">Skills</h1>
<div class="selection-label">
<label class="f-ms14">skill type:</label>
<select class="graph-display-name" id="skillTypeSelected" data-default="Technical_skills">
<option value="Technical_skills" selected>Technical Skills</option>
<option value="Technologies">Technologies</option>
</select>
</div>
</div>
</div> <!--end of top section-->
<!-- Bottom Section -->
<div class="dashboard-section dashboard-bottom" id="bottomSection">
<!-- xp line chart-->
<div id="xp-progress-chart" class="grid lineChart card">
<div class="chart-header">
<h1 class="f-ms18">XP progression</h1>
</div>
<svg id="lineChart" width="100%"></svg>
</div>
<!-- xp bar chart-->
<div id="barChartContainer" class="grid barChart card ">
<div class="chart-header">
<h1 class="f-ms18">XP Earned By Project</h1>
<div class="selection-label">
<label class="f-ms14">Category:</label>
<select class="graph-display-name" id="categorySelected" data-default="Go">
<option value="Go">Golang</option>
<option value="Js">JavaScript</option>
<option value="Rust">Rust</option>
<option value="AI">AI Starter</option>
<option value="Cyber">Cybersecurity</option>
</select>
</div>
</div>
<svg id="barChart" width="100%"></svg>
</div>
</div>
</div> <!-- end of container -->
<script type="module" src="main.js"></script>
<!-- library for svg -->
<script src="https://d3js.org/d3.v7.min.js"></script>
</body>
</html>