blob: 6931451d5b90b4f03bf199dce45d5ec587b7141b (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>hack.chat</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="katex/katex.min.css">
<link id="scheme-link" rel="stylesheet" href="schemes/atelier-dune.css">
<script src="katex/katex.min.js"></script>
<script src="katex/contrib/auto-render.min.js"></script>
<link id="highlight-link" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/hybrid.min.css">
<link rel="manifest" href="manifest.json">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
</head>
<body>
<audio style="display: none" id="notify-sound" preload="auto" src="audio/notify.mp3">
<source src="audio/notify.mp3" type="audio/ogg">
</audio>
<article class="container">
<div id="messages" class="messages"></div>
</article>
<footer id="footer">
<div class="container">
<form id="chatform" class="message">
<textarea id="chatinput" type="text" autocomplete="off" autofocus></textarea>
</form>
</div>
</footer>
<nav id="sidebar">
<div id="sidebar-content" class="hidden">
<p>
<input id="pin-sidebar" type="checkbox">
<label for="pin-sidebar">Pin sidebar</label>
</p>
<h4>Settings</h4>
<p>
<input id="sound-switch" type="checkbox">
<label for="sound-switch">Sound notifications</label>
</p>
<p>
<input id="notify-switch" type="checkbox">
<label for="notify-switch">Screen notifcations</label>
</p>
<p>
<input id="joined-left" type="checkbox" checked>
<label for="joined-left">Join/left notify</label>
</p>
<p>
<input id="parse-latex" type="checkbox" checked>
<label for="parse-latex">Parse LaTeX</label>
</p>
<p>
<button id="clear-messages">Clear all messages</button>
</p>
<h4>Color scheme</h4>
<select id="scheme-selector"></select>
<p>
<input id="syntax-highlight" type="checkbox" checked>
<label for="syntax-highlight">Syntax Highlight</label>
</p>
<h4>Highlight scheme</h4>
<select id="highlight-selector"></select>
<h4>Users online</h4>
<p>(Click user to invite)</p>
<ul id="users"></ul>
</div>
</nav>
<script src="client.js"></script>
</body>
</html>
|