-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit.html
53 lines (50 loc) · 2.13 KB
/
edit.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Edit | STiBaRC</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=5, user-scalable=yes, width=device-width">
<link rel="icon" type="image/png" href="/img/icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/themes/default.css" id="theme">
<link rel="stylesheet" href="/css/global.css">
<link rel="stylesheet" href="/css/edit.css">
<script src="/js/API.js"></script>
<script src="/js/global.js"></script>
<script type="module" src="/components/LoginModal.js"></script>
<script type="module" src="/components/RegisterModal.js"></script>
<script type="module" src="/components/Footer.js"></script>
<script type="module" src="/components/Header.js"></script>
<script src="/components/AttachmentBlock.js"></script>
<script src="/js/edit.js"></script>
</head>
<body>
<stibarc-header></stibarc-header>
<stibarc-login-modal></stibarc-login-modal>
<stibarc-register-modal></stibarc-register-modal>
<main class="flexcontainer flexcolumn">
<span class="verticalspacer"></span>
<span id="editform" class="flexcontainer flexcolumn block">
<h2 id="pagetitle">Edit</h2>
<input type="text" id="edittitle" placeholder="Title">
<span> </span>
<textarea class="bigtextarea" id="editbody" placeholder="Content body"></textarea>
<h3>Attachments</h3>
Click attachment to remove
<span id="attachments" class="flexcontainer"></span><br>
<button id="addattachment" class="flexcontainer button">Add attachment</button>
<span class="flexcontainer">
<button id="editbutton" class="flexcontainer button primary">Submit</button>
<button id="deletebutton" class="flexcontainer button danger">Delete</button>
<button id="cancel" class="flexcontainer button">Cancel</button>
</span>
</span>
</main>
<stibarc-footer></stibarc-footer>
<span id="overlay" class="hidden">
<span id="overlaybg"></span>
</span>
</body>
</html>