diff options
author | Kevin Chabowski <kevin@kch42.de> | 2014-05-30 22:07:02 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2014-05-30 22:07:02 +0200 |
commit | 7a2601f657e04e90e63fe917bfa0726f7bf0eb8c (patch) | |
tree | 7bd26f246cc6e35bf68f332b3d991c4559b25b24 /tpls/chat.html | |
parent | 6fec6ea09435644ac3f55f4219024ab4e4d3fb67 (diff) | |
download | simplechat-7a2601f657e04e90e63fe917bfa0726f7bf0eb8c.tar.gz simplechat-7a2601f657e04e90e63fe917bfa0726f7bf0eb8c.tar.bz2 simplechat-7a2601f657e04e90e63fe917bfa0726f7bf0eb8c.zip |
Cooler frontend design!
Diffstat (limited to 'tpls/chat.html')
-rw-r--r-- | tpls/chat.html | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tpls/chat.html b/tpls/chat.html index db34aaa..b4217f1 100644 --- a/tpls/chat.html +++ b/tpls/chat.html @@ -4,20 +4,10 @@ <title>{{.Roomname}}</title> <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> + <script type="text/javascript">$("document").ready(function(){RunChat("{{.Websock}}", "{{.Roomname}}");});</script> <link rel="stylesheet" type="text/css" href="/static/chat.css" /> </head> <body> - - <h1>{{.Roomname}}</h1> - <div id="buddiescontainer"> - <h2>Users online</h2> - <ul id="buddies"></ul> - </div> - <ul id="chatlog"></ul> - <div id="chatinput"> - <input type="text" name="chattext" id="chattext"/> - <button id="sendbtn">Chat</button> - </div> + <div id="mainwrap"><section id="nojs">simplechat needs javascript to work. If you can see this message, you probably have javascript disabled. Please activate it for this site.</section></div> </body> </html> |