This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
threads.html
48 lines (41 loc) · 1.81 KB
/
threads.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
<!DOCTYPE html>
<html>
<div id="new-post" class="modal">
Content:<br>
<textarea type="text" id="new-post-content" class="modal-textarea"></textarea><br>
<button id="post-button" class="modal-button">Post</button>
</div>
<div id="edit-div" class="modal">
Name: <br>
<input type="text" id="edit-thread-name" class="modal-input"><br>
Description:<br>
<textarea type="text" id="edit-thread-description" class="modal-textarea"></textarea><br>
<button id="edit-confirm" class="modal-button">Confirm</button>
</div>
<div id="edit-post-div" class="modal">
Content:<br>
<textarea type="text" id="edit-post-content" class="modal-textarea"></textarea><br>
<button id="edit-post-button" class="modal-button">Confirm</button>
</div>
<body id="body" class="mainmatter">
<div id="top-editor" style="display:none;">
<div class="top-editor">
<button id="create-button">Create new</button>
<button id="delete-button">Delete Thread</button>
<button id="edit-button">Edit Thread</button><br><br>
<input type="file" id="image-upload" name="filename" accept=".png .gif .jpg .jpeg">
<button id="image-upload-button">Upload</button><br><br>
<p id="image-upload-status"></p>
</div>
<div id="images" class="top-editor" style="text-align: left;">
</div>
</div>
<h1 id="thread-header"></h1>
<p id="thread-description"></p>
<div id="posts-container"></div>
</body><hr>
</html>
<link rel="stylesheet" href="styles/common.css">
<link rel="stylesheet" href="styles/threads.css">
<script src="scripts/common.js"></script>
<script src="scripts/threads.js"></script>