-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser-profile.html
executable file
·312 lines (303 loc) · 9.22 KB
/
user-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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<div data-page="user-profile" class="page">
<!-- Begin: Navbar -->
<div class="navbar">
<div class="navbar-inner">
<div class="left">
<a href="#" class="link icon-only back">
<i class="icon icon-back"></i>
</a>
</div>
<div class="center">User Profile</div>
</div>
</div>
<!-- End: Navbar -->
<!-- Begin: Page Content -->
<div class="page-content">
<div class="profile-header">
<img class="user-avatar img-circle profile-info" data-profile="profile_picture_url" data-inject="src" alt="Avatar" />
<h2 class="profile-info user-name" data-profile="name"></h2>
</div>
<div class="content-block-title">MY PROFILE</div>
<div class="list-block">
<ul>
<li>
<a id="btn-qrc" class="item-link">
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-amber"></span>
<span class="fa fa-qrcode fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">View my QR code</div>
</div>
</div>
</a>
</li>
<li>
<a id="btn-dac" class="item-link">
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-green"></span>
<span class="fa fa-user-lock fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">View my Data Access Code</div>
</div>
</div>
</a>
</li>
</ul>
</div>
<div class="content-block-title">ADMINISTRATION</div>
<div class="list-block">
<ul>
<li>
<a id="btn-passwd" class="item-link">
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-blue"></span>
<span class="fa fa-user-lock fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Change password</div>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
<!-- End: Page Content -->
<!-- Begin: Popup -->
<div class="popup popup-profile" style="background: #ededed">
<div class="toolbar">
<div class="toolbar-inner">
<div class="left" style="padding-left: 16px;">Profile QR code</div>
<div class="right">
<a href="#" class="link close-popup">
<i class="material-icons">clear</i>
</a>
</div>
</div>
</div>
<div class="content-block">
<div align="center" id="profile-qrc-loading" style="padding: 32px">
<div class="preloader"></div>
</div>
<div id="profile-qrc-card" style="display: none">
<div id="profile-qrc"></div>
<div class="data">
<b class="profile-info" data-profile="name"></b>
<br />
<span class="profile-info" data-profile="tec_regno"></span>
</div>
</div>
</div>
</div>
<!-- End: Popup -->
<!-- Begin: Popup -->
<div class="popup popup-dac" style="background: #f7f7f7">
<div class="toolbar">
<div class="toolbar-inner">
<div class="left" style="padding-left: 16px;">Data Access Code</div>
<div class="right">
<a href="#" class="link close-popup">
<i class="material-icons">clear</i>
</a>
</div>
</div>
</div>
<div class="content-block">
<div align="center" id="profile-dac-loading" style="padding: 32px">
<div class="preloader"></div>
</div>
<div class="profile-dac-card">
<div class="intro" style="height: 50px; display: flex;">
<img src="assets/custom/img/key-half.svg" style="height: 50px; flex: 0;" />
<div style="flex: auto; padding-left: 16px;">
<b>Your data access code</b>
<div style="text-overflow: ellipsis; overflow: hidden; text-wrap: none;"><small>Give this code to your friend</small></div>
</div>
</div>
<div class="card-shadow">
<h1 align="center" id="dacode" style="font-family: monospace !important; font-weight: normal; font-size: 32px;"></h1>
</div>
</div>
<div id="profile-dac-help-notgenrt" style="display: none;">
<h2>You don't have a DAC yet</h2>
<p>A Data Access Code (DAC) allows your friends to obtain your profile data without having to scan your profile QR code.</p>
<p>Please keep your DAC confidential, since it can be used to obtain your personal information such ass your mobile number and address. If you think your DAC is compromised, you can always regenerate your DAC.</p>
<p>To have one, click on Generate button below.</p>
<button type="button" class="button button-big button-block button-fill btn-dac-generate">Generate DAC</button>
</div>
</div>
<div style="margin-top: 32px;" class="profile-dac-card">
<div class="list-block">
<ul>
<li>
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-blue"></span>
<span class="fa fa-clock fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Last used</div>
<div class="item-after" id="last-used">5 hours ago</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-green"></span>
<span class="fa fa-user fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Last used by</div>
<div class="item-after" id="last-used-by"></div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-amber"></span>
<span class="fa fa-info fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Times used</div>
<div class="item-after" id="times-used">6 times</div>
</div>
</div>
</li>
</ul>
</div>
<div class="content-block-title">ADMINISTRATION</div>
<div class="list-block">
<ul>
<li>
<a class="item-link btn-dac-generate">
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-purple"></span>
<span class="fa fa-random fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Generate a new code</div>
</div>
</div>
</a>
</li>
<li>
<a id="btn-dac-refresh" class="item-link">
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-gray"></span>
<span class="fa fa-sync fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Refresh</div>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- End: Popup -->
<!-- Begin: Popup -->
<div class="popup popup-password">
<div class="toolbar">
<div class="toolbar-inner">
<div class="left" style="padding-left: 16px;">Change password</div>
<div class="right">
<a href="#" class="link close-popup">
<i class="material-icons">clear</i>
</a>
</div>
</div>
</div>
<div>
<div class="list-block no-hairlines no-hairlines-between">
<ul>
<li>
<div class="item-content">
<div class="item-media">
<i class="material-icons">lock</i>
</div>
<div class="item-inner">
<div class="item-title label">Old password</div>
<div class="item-input">
<input type="password" id="opass" />
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-media">
<i class="material-icons">lock_outline</i>
</div>
<div class="item-inner">
<div class="item-title label">New password</div>
<div class="item-input">
<input type="password" id="npass" />
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-media">
<i class="material-icons">lock_outline</i>
</div>
<div class="item-inner">
<div class="item-title label">Retype new password</div>
<div class="item-input">
<input type="password" id="rnpass" />
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="list-block">
<ul>
<li>
<a id="btn-passwd-submit" class="item-link">
<div class="item-content">
<div class="item-media">
<span class="fa-stack">
<span class="fa fa-circle fa-stack-2x color-green"></span>
<span class="fa fa-check fa-stack-1x fa-inverse"></span>
</span>
</div>
<div class="item-inner">
<div class="item-title">Change my password</div>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- End: Popup -->
</div>