summaryrefslogtreecommitdiff
path: root/tpls
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-03-27 23:48:11 +0100
committerKevin Chabowski <kevin@kch42.de>2014-03-27 23:51:08 +0100
commitfeb228c1fc35aae543d369012994eac7a1dca90f (patch)
treed2a9b7cf449b3e1e8d48e2bc36b0b383ee5f658a /tpls
parent5c45b0e3e5fbe479155ad403b4936d2485a028bd (diff)
downloadsimplechat-feb228c1fc35aae543d369012994eac7a1dca90f.tar.gz
simplechat-feb228c1fc35aae543d369012994eac7a1dca90f.tar.bz2
simplechat-feb228c1fc35aae543d369012994eac7a1dca90f.zip
Homepage done
Diffstat (limited to 'tpls')
-rw-r--r--tpls/chat.html2
-rw-r--r--tpls/home.html34
2 files changed, 32 insertions, 4 deletions
diff --git a/tpls/chat.html b/tpls/chat.html
index 35582c7..db34aaa 100644
--- a/tpls/chat.html
+++ b/tpls/chat.html
@@ -5,7 +5,7 @@
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script type="text/javascript" src="/static/chat.js"></script>
<script type="text/javascript">$("document").ready(function(){RunChat("{{.Websock}}");});</script>
- <link rel="stylesheet" type="text/css" href="/static/style.css" />
+ <link rel="stylesheet" type="text/css" href="/static/chat.css" />
</head>
<body>
diff --git a/tpls/home.html b/tpls/home.html
index c559109..fdfa40f 100644
--- a/tpls/home.html
+++ b/tpls/home.html
@@ -1,9 +1,37 @@
<!DOCTYPE html>
<html>
<head>
- <title></title>
+ <title>simplechat</title>
+ <link rel="stylesheet" type="text/css" href="/static/home.css">
</head>
<body>
-Test
+
+ <section>
+ <h1>simplechat</h1>
+
+ <div class="content">
+ <p>simplechat allows you to start a chatroom instantly. No need to register an account or any special programs. A modern webbrowser is enough.</p>
+ </div>
+ </section>
+
+ <section>
+ <h2>How to start a new chat</h2>
+
+ <div class="content">
+ <p>Simple! Just append <code>/chat/<strong>roomname</strong></code> to the current URL and you will get a chatroom called <code>roomname</code>. Replace <code>roomname</code> with an arbitrary text.</p>
+ <p>Or use <a href="/chat/{{.RandomChat}}">this random chatroom</a>.</p>
+ <p>To invite other people to your new shiny chatroom, just send them the URL.</p>
+ </div>
+ </section>
+
+ <section>
+ <h2>Throwaway chatrooms</h2>
+
+ <div class="content">
+ <p>All created chatrooms are throwaway chatrooms. When the last one leaves the room, it will be gone until someone visits the chat again.</p>
+ <p>Nothing in the chat will be stored permanently on our servers.</p>
+ <p><strong>NOTE:</strong> Keep in mind that this service does <em>not</em> use encryption. So please, don't share sensible data that might get you into trouble, there are much better tools for that (XMPP+OTR or GPG, for example).</p>
+ </div>
+ </section>
</body>
-</html> \ No newline at end of file
+</html>