fix and improve various things

This commit is contained in:
Mystikfluu
2022-09-05 15:53:07 +02:00
parent 4342f8a69c
commit ef3d5b3817
5 changed files with 58 additions and 28 deletions
+4 -2
View File
@@ -7,13 +7,14 @@
<%- globalcss %>
<%- loadfile("./css/posts.css") %>
</style>
<script type="text/javascript">
<script type="text/javascript" async>
<%- httppostjs %>
<%- htmlescapejs %>
<%- markdownjs %>
<%- warnmessagejs %>
let channels = <%- JSON.stringify(await getChannels()) %>,user = <%- JSON.stringify(user) %>,posting_id = "<%- getPID() %>"
</script>
<%- cookiebanner %>
</head>
<body>
<%- navbar %>
@@ -35,10 +36,11 @@
<textarea name="name" id="post-text" rows="8" cols="80"></textarea>
<br>
<button type="button" name="button" id="post-btn" onclick="postMessage()">Post</button>
<div class="files" id="filesDiv"></div>
</div>
<div class="channelTab" id="channelTab"></div>
<div class="posts" id="posts"></div>
</div>
<script><%- loadfile("./js/posts.js") %></script>
<script async><%- loadfile("./js/posts.js") %></script>
</body>
</html>