-
Notifications
You must be signed in to change notification settings - Fork 1
/
create.html
64 lines (57 loc) · 2.94 KB
/
create.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
<!--
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="css/style.css">
<link rel="stylesheet" href="css/create.css">
<title>Create new paste - 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="./list.html">
<button class="btn btn-outline-primary me-2 shao-list-button">MY PASTES</button>
</a>
<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>
<main>
<label class="form-label">New Paste</label>
<input type="text" class="form-control mb-3 shao-paste-title" placeholder="Title">
<div class="input-group mb-3">
<input type="text" class="form-control shao-paste-alias" placeholder="Alias (Optional)">
<input type="text" class="form-control shao-paste-password" placeholder="Password (Optional)">
</div>
<textarea class="form-control shao-paste-textarea" rows="10" placeholder="Text here..."></textarea>
<div class="text-danger shao-create-paste-hint" hidden></div>
<button type="button" class="btn btn-outline-primary mt-3 shao-create-paste-button">Create New Paste</button>
</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/create.mjs" defer></script>
</body>
</html>