-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.html
93 lines (86 loc) · 4.83 KB
/
user.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
<!--
Copyright 2022 Futrime & M1saka10010
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/normalize.css@8/normalize.css">
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/bootstrap-icons@1/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/user.css">
<title>Settings - SHAO Pastebin</title>
</head>
<body class="vw-100 vh-100 d-flex">
<div class="container">
<header
class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center mb-2 text-dark text-decoration-none mx-3">
<h1>SHAO Pastebin</h1>
</a>
<div class="text-end">
<a class="text-decoration-none" href="./create.html">
<button class="btn btn-outline-primary me-2 shao-create-button">NEW PASTE</button>
</a>
<a class="text-decoration-none" href="./list.html">
<button class="btn btn-outline-primary me-2 shao-list-button">MY PASTES</button>
</a>
<button class="btn btn-outline-secondary shao-logout-button">LOGOUT</button>
</div>
</header>
<main class="row gx-5 w-100 mx-auto">
<aside class="col-lg-3 d-flex flex-column">
<a href="https://gravatar.com/emails/">
<img class="border rounded-circle w-100 mx-auto mb-3 shao-avatar-view"
title="Click to change your avatar" src="">
</a>
<div class="mb-5">
<b class="fs-1 shao-username-view"></b><br>
<i class="fs-5 bi-mailbox text-secondary"> </i><a
class="link-dark text-decoration-none fs-5 shao-email-view" href=""></a>
</div>
</aside>
<div class="col-lg-9">
<form class="d-flex flex-column mw-100 mx-auto mb-3 shao-verify-email-form d-none">
<label class="form-label">Verify your email</label>
<div class="input-group">
<input type="text" placeholder="Access Key" class="form-control shao-access-key">
<button class="btn btn-outline-primary shao-send-button">Send</button>
</div>
<div class="text-danger shao-verify-email-hint" hidden></div>
<button class="btn btn-outline-primary mt-2 shao-verify-email-button">Verify</button>
</form>
<form class="d-flex flex-column mw-100 mx-auto mb-3">
<label class="form-label">Update password (Optional)</label>
<input type="password" placeholder="Old password" class="form-control shao-old-password">
<input type="password" placeholder="New password (at least 8 characters)"
class="form-control shao-new-password mt-2">
<div class="text-danger shao-change-password-hint" hidden></div>
<button class="btn btn-outline-primary mt-2 shao-change-password-button">Submit</button>
</form>
<form class="d-flex flex-column mw-100 mx-auto mb-3">
<label class="form-label">Change email (Optional)</label>
<input type="email" placeholder="Email address (Optional)" class="form-control shao-email">
<div class="text-danger shao-change-email-hint" hidden></div>
<div class="text-danger shao-change-email-hint" hidden></div>
<button class="btn btn-outline-primary mt-2 shao-change-email-button">Submit</button>
</form>
</div>
</main>
</div>
<script src="https://gcore.jsdelivr.net/npm/bootstrap@5/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://gcore.jsdelivr.net/npm/blueimp-md5@2/js/md5.min.js"></script>
<script type="module" src="js/user.mjs" defer></script>
</body>
</html>