38 lines
1.6 KiB
HTML
38 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<!-- include CSRF token that ring's anti-forgery middleware is expecting.
|
|
clj-browserchannel's client-side init will pick this meta tag up
|
|
automatically and include the token in all of browserchannel's
|
|
requests to the server. -->
|
|
<meta name="anti-forgery-token" content="{{ csrfToken }}">
|
|
<title>BrowserChannel</title>
|
|
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
<link rel="stylesheet" href="default.css" media="screen" />
|
|
</head>
|
|
<body>
|
|
<div id="room">
|
|
</div>
|
|
<div id="type-bar">
|
|
<input id="msg-input" size="30" type="text" disabled="disabled"/>
|
|
<input id="send-button" type="button" value="Send" disabled="disabled"/>
|
|
</div>
|
|
<div class="about"><a href="https://github.com/gered/clj-browserchannel">clj-browserchannel-demo</a></div>
|
|
<div class="about">
|
|
Written by: Gijs Stuurman
|
|
/ <a href="http://twitter.com/thegeez">@thegeez</a>
|
|
/ <a href="http://thegeez.github.com">Blog</a> / <a href="https://github.com/thegeez">GitHub</a></div>
|
|
{% if dev %}<script type="text/javascript" src="cljs/target/goog/base.js"></script>{% endif %}
|
|
<script type="text/javascript" src="cljs/app.js"></script>
|
|
{% if dev %}<script type="text/javascript">goog.require('chat_demo.client');</script>{% endif %}
|
|
<script type="text/javascript">
|
|
chat_demo.client.run();
|
|
</script>
|
|
</body>
|
|
</html>
|