Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
96 lines (91 sloc) 5.01 KB
<!doctype html>
<link rel="stylesheet" href="" type="text/css" />
<link rel="stylesheet" href="" type="text/css" />
<link rel="stylesheet" href="" type="text/css" />
<link rel="shortcut icon" href="" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25517735-1']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
<body class="center">
{% for error in errors %}
<div class="alert-message error">{{ error }}</div>
{% end %}
<div id="websocketfail" class="alert-message block-message error">
<p><strong>Your browser does not support WebSockets.</strong></p>
<p>This website supports the latest versions of the following browsers:</p>
<li><a href='' target='_blank'>Google Chrome</a></li>
<li><a href='' target='_blank'>Mozilla Firefox</a></li>
<li><a href='' target='_blank'>Safari</a></li>
<li><a href='' target='_blank'>Opera</a> (<a href='' target='_blank'>with websockets enabled</a>)</li>
<div id="login">
<span class="label">Nickname</span>
<input id="user_id" class="xlarge" type="text" maxlength="16" value="">
<span class="label">Chatroom <i>(Optional)</i></span>
<input id="chat_id" class="xlarge" type="text" maxlength="32" value="">
<div id="buttons">
<a id="startchat" class="btn large primary" href="#"><div>Start Rage Chat</div></a>
<a id="strangerchat" class="btn large primary" href="#">
<span class="rage foreveraloneexcited"></span>
<div>Rage Chat with a Stranger</div>
<div id="stats">
<p>Currently <b>{{ 0 if num_users == None else num_users }}</b> users in <b>{{ num_chats }}</b> chats.</p>
<th>Popular Rage Chats</th>
<th class="right"># Users</th>
{% for chat_id in [c for c in popular_chats if c[1] > 2] %}
<td><a href="/{{ chat_id[0] }}">{{ chat_id[0] }}</a></td>
<td class="right">{{ format(int(chat_id[1]), ",d") }}</td>
{% end %}
<div id="about" class="alert-message block-message info">
<p>The following technologies were used to develop and deploy this website:</p>
<li><a href="" target="_blank">Python</a></li>
<li><a href="" target="_blank">Tornado Web Server and Framework</a></li>
<li><a href="" target="_blank">Redis Advanced Key-Value Store</a></li>
<li><a href="" target="_blank">HTML5</a> <a href="" target="_blank">WebSockets</a></li>
<li><a href="" target="_blank">jQuery Javascript Library</a></li>
<li><a href="" target="_blank">jQuery Cookie Plugin</a></li>
<li><a href="" target="_blank">Bootstrap CSS Toolkit</a></li>
<li><a href="" target="_blank">Sublime Text 2</a></li>
<li><a href="" target="_blank">Linode VPS Hosting</a></li>
<li><a href="" target="_blank">HAProxy Load Balancer</a></li>
<li><a href="" target="_blank">nginx Web Server</a></li>
<a href="" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="" alt="Fork me on GitHub"></a>
<script src="" type="text/javascript"></script>
<script src="" type="text/javascript"></script>
<script src="" type="text/javascript"></script>