summaryrefslogtreecommitdiff
path: root/views/hover.ejs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2013-01-28 12:08:37 -0500
committerJules Laplace <jules@okfoc.us>2013-01-28 12:08:37 -0500
commit189be0c59edc357cf17be592e35aa258ab3f3643 (patch)
tree04a5d6e5a829301769f1f5d6b53ee0a310b9c68f /views/hover.ejs
parent04a10a9654e4762c78aef83e552993bedd845988 (diff)
hover route
Diffstat (limited to 'views/hover.ejs')
-rw-r--r--views/hover.ejs62
1 files changed, 62 insertions, 0 deletions
diff --git a/views/hover.ejs b/views/hover.ejs
new file mode 100644
index 0000000..be7fc77
--- /dev/null
+++ b/views/hover.ejs
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title><%= title %></title>
+ <link rel='stylesheet' href='/stylesheets/style.css' />
+ <script src="/socket.io/socket.io.js"></script>
+ <script src="/javascripts/vendor/jquery-1.9.0.min.js"></script>
+ <script src="/javascripts/vendor/jquery-ba-throttle.js"></script>
+ <script src="/javascripts/util.js"></script>
+ <script src="/javascripts/hover.js"></script>
+ <% if (currentUser) { %>
+ <style>
+ body {
+ /*
+ cursor:url(https://s3.amazonaws.com/luckyplop/52d5f60fde3d8562ad566838e0e09ca52725bb09.gif), default;
+ */
+ cursor: url(/images/transparent.png), none;
+ }
+ </style>
+ <script type="text/javascript">
+ $(function(){
+ window._id = "<%= currentUser._id %>";
+ game.init();
+ });
+ </script>
+ <% } else { %>
+ <script type="text/javascript">
+ $(function(){
+ window._id = null;
+ game.init();
+ });
+ </script>
+ <% } %>
+
+
+ </head>
+ <body>
+ <h1>WAIT SITE</h1>
+ <h2>Waiting Alone Together</h2>
+ <h2>winner gets 1000 big ones</h2>
+<!--
+ <div>You've been waiting for <span id="waiting">0 seconds</span><br>
+ <span id="reset"></span></div>
+ <div><span id="count">0</span> ppl online now!!</div>
+
+ <div id="really_waiting">FOCUS</div>
+
+ <p>currently waiting</p>
+ <ol id="users"></ol>
+-->
+ <header>
+ <h3>high scores</h3>
+ <ol id="scores"></ol>
+ <% if (!currentUser) { %>
+ <a href="/auth/facebook"class="fbutton"></a><br>
+ <% } %>
+ </header>
+ <a href="mailto:frontdesk@okfoc.us?subject=hello OKFocus" class="okfocus"><img src="/images/okfocus_logo.png" alt="OKFocus"><br>hire us!</a>
+ <div id="cursors"></div>
+
+ </body>
+</html>