This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
clj-browserchannel/chat-demo/resources/html/index.html

38 lines
1.6 KiB
HTML
Raw Normal View History

2012-04-07 15:02:07 -04:00
<!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 }}">
2012-04-07 15:02:07 -04:00
<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" />
2012-04-07 15:02:07 -04:00
</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>
2012-04-07 15:02:07 -04:00
<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 %}
2012-04-07 15:02:07 -04:00
<script type="text/javascript">
chat_demo.client.run();
2012-04-07 15:02:07 -04:00
</script>
</body>
</html>