aboutsummaryrefslogtreecommitdiffstats
path: root/client/index.html
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2018-05-17 16:12:12 +0200
committerGitHub <noreply@github.com>2018-05-17 16:12:12 +0200
commite64ee88e0f546df4e1fbec840aea0948339b4a34 (patch)
tree41ba24aa8af684bffc4b6f3e3dc752306284027d /client/index.html
parentMerge pull request #10 from bacn/master (diff)
parentChanged @ for # as highlight symbol (diff)
downloadhackchat-e64ee88e0f546df4e1fbec840aea0948339b4a34.tar.gz
hackchat-e64ee88e0f546df4e1fbec840aea0948339b4a34.zip
Merge pull request #14 from po5i/master
Introducing syntax highlight
Diffstat (limited to '')
-rw-r--r--client/index.html63
1 files changed, 62 insertions, 1 deletions
diff --git a/client/index.html b/client/index.html
index d71c62d..9abdebc 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1,62 @@
-<!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></head><body><article class="container"><div id="messages" class="messages"></div></article><footer id="footer"><div class="container"><form id="chatform" class="messages"><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="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 messages</button></p><h4>Color scheme</h4><select id="scheme-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> \ No newline at end of file
+<!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">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
+</head>
+
+<body>
+ <article class="container">
+ <div id="messages" class="messages"></div>
+ </article>
+ <footer id="footer">
+ <div class="container">
+ <form id="chatform" class="messages">
+ <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="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 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> \ No newline at end of file