-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlist.html
93 lines (86 loc) · 4.34 KB
/
list.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/list.css">
<title>My pastes - SHAO Pastebin</title>
</head>
<body>
<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>
<button class="btn btn-outline-primary me-2 shao-export-button">EXPORT</button>
<button class="btn btn-outline-primary me-2 shao-import-button">IMPORT</button>
<a class="text-decoration-none" href="./user.html">
<button class="btn btn-outline-primary me-2 shao-settings-button">SETTINGS</button>
</a>
<button class="btn btn-outline-secondary shao-logout-button">LOGOUT</button>
</div>
</header>
<div class="container">
<main class="d-flex flex-wrap justify-content-center">
<div class="card m-2 flex-fill shao-paste-card-template" hidden>
<a class="text-decoration-none link-dark" href="">
<div class="card-header text-secondary">
<span class="shao-paste-id"></span>
<small class="card-text text-primary shao-paste-info">
<span class="bi-key ms-1" title="This paste is protected by password." hidden></span>
</small>
</div>
<div class="card-body">
<h5 class="card-title shao-paste-title"></h5>
</div>
</a>
</div>
</main>
</div>
<div class="modal fade shao-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Import pastes</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body">
<div class="mb-3">
<label class="col-form-label">Upload a backup file</label>
<input type="file" class="form-control shao-modal-file">
<span class="text-danger shao-modal-hint" hidden></span>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-primary shao-modal-import">Import</button>
</div>
</div>
</div>
</div>
</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/list.mjs" defer></script>
</body>
</html>