-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (81 loc) · 3.27 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>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/index.css">
<script src="/js/API.js"></script>
<script src="/js/global.js"></script>
<script src="/components/Dialog.js"></script>
<script type="module" src="/components/LoginModal.js"></script>
<script type="module" src="/components/RegisterModal.js"></script>
<script type="module" src="/components/Header.js"></script>
<script type="module" src="/components/Footer.js"></script>
<script type="module" src="/components/Icon.js"></script>
<script src="/components/AttachmentBlock.js"></script>
<script src="/components/PostBlock.js"></script>
<script src="/js/index.js"></script>
</head>
<body>
<stibarc-header></stibarc-header>
<stibarc-login-modal></stibarc-login-modal>
<stibarc-register-modal></stibarc-register-modal>
<main class="flexcontainer flexcolumn">
<div id="announcement" class="flexcontainer hidden"></div>
<span class="flexcontainer feedFilter">
<span class="rightalign">
<button id="globalBtn" class="button floatingbutton">
Global
</button>
</span>
<span class="leftalign">
<button id="followedBtn" class="button floatingbutton">
Followed
</button>
</span>
</span>
<span id="posts" class="posts flexcontainer flexcolumn">
<span id="postsLoader" class="loader"></span>
</span>
<span id="followedposts" class="posts flexcontainer flexcolumn hidden">
<span id="followedPostsLoader" class="loader"></span>
<span class="marginbottom loggedout">Log in or register to view followed users</span>
</span>
<button id="loadMoreBtn" class="hidden button primary">Load more</button>
</main>
<stibarc-footer></stibarc-footer>
<span class="floatingplusbuttoncontainer">
<div id="newpost" class="flexcontainer floatingplusbutton" title="Create Post">
<svg class="icon iconBig"><use href="/img/icon/icons.svg#plus"></use></svg>
</div>
</span>
<span id="overlay" class="hidden">
<span id="overlaybg"></span>
<span id="newpostformcontainer" class="hidden flexcontainer flexcolumn formcontainer">
<span id="newpostform" class="block modal">
<div class="flexcontainer flexcolumn">
<h2>New Post</h2>
<input type="text" id="newposttitle" placeholder="Post title">
<span> </span>
<textarea class="bigtextarea" id="newpostbody" placeholder="Post body"></textarea>
<h3>Attachments</h3>
Click attachment to remove
<span id="attachments" class="flexcontainer"></span><br>
<button id="addattachment" class="button">Add attachment</button>
<span class="flexcontainer">
<button id="newpostbutton" class="button primary">Post</button>
<button id="newpostcancel" class="button">Cancel</button>
</span>
</div>
</span>
</span>
</span>
</body>
</html>