-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoffline.html
47 lines (45 loc) · 17 KB
/
offline.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html><html lang="en"><head><title>Offline Protobowl</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="apple-touch-icon" href="/img/touch-icon.png"><meta name="keywords" content="protobowl,quizbowl,application,reader,academic,multiplayer,practice"><meta name="description" content="A real time multiplayer quizbowl application"><meta http-equiv="X-UA-Compatible" content="IE=Edge"><meta name="apple-mobile-web-app-title" content="Protobowl"><style>.navbar, .sidebar, .actionbar, #team_modal, .modal-footer, .modal-header { display: none; }</style><link rel="stylesheet" href="/protobowl.css"><link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css"><!--[if IE 7]><link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome-ie7.css"><![endif]--></head><body><div class="navbar navbar-top"><div class="mobile-timer"><div class="peg"></div></div><div class="navbar-inner"><div class="container"><a href="/" class="brand"><span class="logo"><strong>Proto</strong>bowl </span><em style="font-size: small" class="motto hidden-phone">doing one thing and doing it without internet</em></a><div class="mobile-brand"><img src="/img/icon-transparent.png"><span class="room-name"></span></div><div class="pull-right"><a href="#" class="show-sidebar"><i class="icon-list-alt"></i></a><div class="btn-group"><a href="#new" class="btn btn-primary new-room">New Room</a><button data-toggle="dropdown" class="btn btn-primary dropdown-toggle"><span class="caret"></span></button><ul class="dropdown-menu pull-right recent-rooms"><li class="show-auth"><a tabindex="-1" href="/private">Private Room</a></li><li><a tabindex="-1" href="/bookmarks">Bookmarks</a></li><li class="divider"></li><li><a tabindex="-1" href="/lobby">lobby</a></li><li><a tabindex="-1" href="/hsquizbowl">hsquizbowl</a></li><li><a tabindex="-1" href="/msquizbowl">msquizbowl</a></li><li><a tabindex="-1" href="/college">college</a></li></ul></div></div><ul class="nav pull-right hidden-phone"><li><a href="#about" data-toggle="modal">About</a></li></ul></div></div></div><div id="about" class="modal hide fade"><div class="modal-header"><button type="button" data-dismiss="modal" class="close">×</button><h3>About</h3></div><div class="modal-body"><p>Protobowl is a real time multiplayer quizbowl application launched
in late August 2012.</p><p>
This was conceived some time around May 2012, but real development didn't
start until July. The name is a portmanteau of "prototype" and "quizbowl".</p><p>
I implore you to contact <a href="mailto:[email protected]">[email protected]</a> with any and all questions,
comments or concerns, preferably those which relate to Protobowl.</p><p>
(though you probably can't email me now if you're actually offline, but that's totally okay because I'll wait until you get back online)</p></div><div class="modal-footer"><a href="#" data-dismiss="modal" class="btn btn-primary">Close</a></div></div><div class="mobile-actionbar enabled"><button title="Shortcut: / key" rel="tooltip" disabled tabindex="-1" class="btn chatbtn"><i class="icon-comment"></i>Chat</button> <button title="Shortcut: space key" rel="tooltip" disabled tabindex="-1" class="btn btn-danger buzzbtn"><i class="icon-bell icon-white"></i>Buzz</button><div class="aux"><button title="Shortcut: s key" rel="tooltip" disabled tabindex="-1" class="btn btn-info skipbtn">Skip</button> <button title="Shortcut: j key" rel="tooltip" disabled style="display:none" tabindex="-1" class="btn btn-info nextbtn">Next</button> <button title="Shortcut: p key" rel="tooltip" disabled tabindex="-1" class="btn btn-warning pausebtn"> <span class="pause"><i style="margin-right:0" class="icon-pause visible-phone"></i><span class="hidden-phone">Pause</span></span><span style="display:none" class="resume"><i style="margin-right:0" class="icon-play visible-phone"></i><span class="hidden-phone">Resume</span></span></button></div></div><div class="container"><div class="row"><div class="span9 mainview"><div style="margin-bottom: 10px" class="row buttonbar"><div class="span9"><div class="form-horizontal"><div class="actionbar"><button title="Shortcut: / key" rel="tooltip" disabled tabindex="-1" class="btn chatbtn"><i class="icon-comment"></i>Chat</button> <button title="Shortcut: s key" rel="tooltip" disabled tabindex="-1" class="btn btn-info skipbtn">Skip</button> <button title="Shortcut: j key" rel="tooltip" disabled style="display:none" tabindex="-1" class="btn btn-info nextbtn">Next</button> <button title="Shortcut: p key" rel="tooltip" disabled tabindex="-1" class="btn btn-warning pausebtn"> <span class="pause"><i style="margin-right:0" class="icon-pause visible-phone"></i><span class="hidden-phone">Pause</span></span><span style="display:none" class="resume"><i style="margin-right:0" class="icon-play visible-phone"></i><span class="hidden-phone">Resume</span></span></button><button title="Shortcut: space key" rel="tooltip" disabled tabindex="-1" class="btn pull-right btn-danger buzzbtn"><i class="icon-bell icon-white"></i>Buzz</button></div><form style="display:none" class="expando chat_form"><div class="input-prepend"><span class="add-on textbar-submit"><i class="icon-comment"></i>Chat</span><input type="text" placeholder="chat message" class="chat_input"></div></form><form style="display:none" class="expando guess_form"><div class="input-prepend"><span class="add-on textbar-submit"><i class="icon-pencil"></i>Guess</span><input type="text" placeholder="answer" class="guess_input"></div></form><form style="display:none" class="expando prompt_form"><div class="input-prepend"><span class="add-on textbar-submit"><i class="icon-question-sign"></i>Prompt</span><input type="text" placeholder="prompt" class="prompt_input"></div></form></div></div></div><div id="polling" style="display:none"><div class="alert"><button data-dismiss="alert" type="button" class="close">×</button><strong>Warning!</strong> Your browser is connecting to the server using a long-polling transport,
which may lead to increased latency. As a result, we've disabled some of the real time functionality for you. <span style="display:none" class="no-websocket"><strong>Upgrade to a newer browser</strong> like <a href="https://www.google.com/intl/en/chrome/browser/">Google Chrome</a>,
<a href="http://www.mozilla.org/en-US/firefox/new/">Mozilla Firefox</a>, or
<a href="http://windows.microsoft.com/en-US/internet-explorer/download-ie">Internet Explorer 10</a> to access these features.</span></div></div><div id="history"><div class="bundle active"><div class="sticky"></div><div class="annotations"></div></div></div><div id="slow" style="display: none" class="well"><p>It looks like Protobowl is taking a while to connect to the server.
This might not mean anything more than a slow connection, or it could
be a sign of several possible issues. You could <a href="#" onclick="offline_startup();return false">enter offline mode</a>
which will start Protobowl as if it did not have a connection to the server at all, but that
has the obvious drawback of being offline and only being able to access a limited pool of questions.</p><p>If you wait a little bit, Protobowl will keep on trying to connect using different
transports until it finds something that works.</p></div><div id="whale" style="display: none"><span class="pull-left status"> </span><form class="form-search pull-right"><input type="text" placeholder="Search" class="input-large search-query"></form></div><div id="bookmarks"></div><noscript><h4>Please Enable Javascript</h4>Protobowl is built to use many modern browser features which rely on the presence of a powerful
Javascript engine. This application uses Javascript and WebSockets to keep the client and the
server synchronized in order to attain a better experience. </noscript><div id="load_error" style="display:none"><p class="well">It seems like something unexpected has happened, that is, there might be some error in the
protobowl code that is preventing it from running.
You can try reloading this page a few times (at least 3), going to different rooms, and
trying on different browsers.
Below you will find the error messages
associated with this error. Please contact <a href="mailto:[email protected]">[email protected]</a>
with a screenshot of this page, and we'll fix it as soon as possible. </p><p><code id="user_agent"></code></p><pre id="error_log"></pre></div></div><div class="span3 sidebar"><div class="span3 mobile-other-rooms"><a tabindex="-1" href="/">← Return to Start Page</a></div><div class="span3 thumbnail timer-widget"><h5 class="span3"><span style="display:none" class="label label-warning pause">Paused</span><span style="display:none" class="label label-important buzz">Buzz</span><span style="display:none" class="label label-info finished">Done</span><i class="icon-time"></i><span style="display:none" class="expand-timer">Timer</span></h5><div class="timer disabled"><span class="face">00:00</span><span class="fraction">.0</span></div><div class="progress progress-striped"><div style="width:0%" class="bar primary-bar"></div><div style="width:0%" class="bar aux-bar bar-info"></div></div></div><div style="display:none; margin: 0" class="span3 topic"><div class="span3 thumbnail"></div></div><div style="display:none; margin: 0" class="span3 leaderboard"><div class="span3 thumbnail"><table class="table"><thead><tr><th colspan="2">#</th><th>Name</th><th style="padding-left: 0">Negs</th></tr></thead><tbody></tbody></table></div></div><div style="display:none; margin: 0" class="span3 singleuser"><div class="span3 thumbnail"><h5><i class="icon-user"></i>Single Player <span style="display:none" class="label label-important offline-badge">Offline</span></h5><div class="stats"></div></div></div><div style="margin: 0;display:none" class="span3 foreveralone"><div class="span3 thumbnail"><h5><i class="icon-globe"></i>Feeling Lonely?</h5><div style="margin: 5px">
Consider joining a public room such as <span class="roomlist"></span></div></div></div><div style="display:none; margin: 0" class="span3 settings"><div class="span3 thumbnail"><h5><i class="icon-wrench"></i>Settings</h5><div style="text-align: center; padding-right: 4px; padding-left: 4px; padding-top: 4px"><div class="localsettings"><div style="display:none" class="expando relinquish-command"><div class="input-prepend"><span style="width:21px" title="Relinquish dominance over this room" rel="tooltip" class="add-on"><i class="icon-eye-close"></i></span><button class="btn input lose-command">Relinquish Command</button></div></div><div class="expando set-name"><div class="input-prepend"><span style="width:21px" title="Public name" rel="tooltip" class="generate-name add-on"><i class="icon-user"></i></span><input id="username" type="text" value="" disabled></div></div><div style="display:none" class="expando set-team"><div class="input-prepend"><span style="width:21px" title="Teams" rel="tooltip" class="add-on"><i class="icon-group"></i></span><select class="input teams"><option value="">Individual</option></select></div></div><div style="display:none" class="expando reset-score"><div class="input-prepend"><span style="width:21px" title="Reset my score" rel="tooltip" class="add-on"><i class="icon-trash"></i></span><button class="btn input">Reset My Score </button></div></div><label class="checkbox"><input type="checkbox" class="movingwindow">Points earned in last 50 questions</label><label class="checkbox"><input type="checkbox" class="adhd">Enable distraction free mode</label><div class="microwave"><label class="checkbox"><input type="checkbox" checked class="livechat">Show chat messages while typing</label></div><label style="display:none" class="checkrtc checkbox"><input type="checkbox" class="webrtc">Enable audio chat with others</label><label class="checkbox"><input type="checkbox" class="sounds">Play sound on successful buzz</label><label class="checkbox"><input type="checkbox" class="dorkmode">Enable dark theme</label><div style="display:none;white-space:nowrap;" class="lockvote"><label class="checkbox"><input type="checkbox" class="lock">Lock settings <span class='electorate'>0/1 votes</span><i style="padding-left: 5px" class="icon-unlock status_icon"></i></label></div></div><hr><div class="globalsettings"><div class="expando"><div class="input-prepend"><span style="width:21px" title="Read speed" rel="tooltip" class="add-on"><i class="icon-step-forward"></i></span><input type="range" value="200" min="60" max="600" class="speed"></div></div><div class="expando"><div class="input-prepend"><span style="width:21px" title="Difficulty/Category" rel="tooltip" class="add-on"><i class="icon-briefcase"></i></span><select style="width: 60px; border-right: 0" class="padd-on difficulties"></select><select style="border-left: 0" class="input categories"></select></div></div><div style="display:none" class="custom-category"></div><label class="checkbox"><input type="checkbox" class="showbonus">Show bonus questions</label><label class="checkbox"><input type="checkbox" checked class="multibuzz">Allow players to buzz multiple times</label><label class="checkbox"><input type="checkbox" checked class="allowskip">Allow players to skip questions</label><label class="checkbox"><input type="checkbox" checked class="allowpause">Allow players to pause questions</label><div class="request-access"><button class="btn btn-large"><i class="icon-cog"></i> Request Access</button></div></div></div></div></div><div class="span3 thumbnail show-keyboard"><h5> <i class="icon-info-sign"></i>Directions</h5><ul><li>Press <code>space</code> to buzz</li><li>Press <code>j</code> for next question</li><li>Press <code>/</code> or <code>enter</code> to chat</li><li class="hidden-offline">Invite other people to this URL for multiplayer</li><li>This page works offline</li></ul></div><div style="display:none" class="span3 thumbnail show-touch"><h5> <i class="icon-info-sign"></i>Directions</h5><ul><li>Buttons are fun to press</li><li>Click on entries in the leaderboard for more stats</li></ul></div><div class="span3 thumbnail"><h5> <i class="icon-fire"></i>Miscellaneous</h5><table class="table headless"><tbody><tr><th>build date</th><td id="version">Tue Mar 09 2021 11:13:21 GMT-0800 (Pacific Standard Time)</td></tr><tr class="hidden-offline"><th>latency</th><td id="latency">?</td></tr><tr class="hidden-offline"><th>sync offset</th><td id="sync_offset">? </td></tr><tr><td><a id="disconnect" href="#disconnect" style="display: none">Disconnect</a><a id="reconnect" href="#reconnect" style="display: none">Reconnect</a><a id="reload" href="">Reload</a></td><td id="cachestatus">Not Initialized</td></tr></tbody></table></div></div></div></div><div id="team_modal" tabindex="-1" role="dialog" aria-hidden="true" class="modal hide fade"><div class="modal-header"><button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button><h3>Create a Team</h3></div><div class="modal-body"><form class="form-horizontal"><div class="control-group"><label for="team_input" class="control-label">Team Name</label><div class="controls"><input id="team_input" type="text" value="" placeholder="Team Name" class="extra-large"></div></div></form></div><div class="modal-footer"><a href="#" data-dismiss="modal" class="btn">Cancel</a><button id="make_button" class="btn btn-primary">Create Team</button></div></div><script type="text/javascript">var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34434821-1']);
_gaq.push(['_trackPageview']);
</script><script>setTimeout(function(){
if(document.getElementById('load_error')){
document.getElementById('user_agent').innerHTML = navigator.userAgent;
document.getElementById('load_error').style.display = '';
}
}, 1000)
window.onerror = function(e){
if(document.getElementById('load_error')){
document.getElementById('error_log').innerHTML += e.toString()
}
}
</script><script>protobowl_html_build = "Tue Mar 09 2021 11:13:21 GMT-0800 (Pacific Standard Time)";
protobowl_config = {"less_compress":true,"jade_pretty":false,"jade_debug":false,"source_maps":false,"mangle_vars":true,"js_minify":true,"development":false,"auth":false,"cache_breaker":true,"webrtc":true,"static":"/","sockets":[["http://ocean.protobowl.com:80/","https://ocean.protobowl.com:443/"],["http://ocean.protobowl.com:5566/"],["http://protobowl.nodejitsu.com:80/","https://protobowl.nodejitsu.com:443/"],["http://cab.antimatter15.com:443/"],["http://dino.xvm.mit.edu:5566/"]],"samples":["https://neotenic.github.io/protobowl-offline/qb-{0-30}.js"],"offline":true};
</script><script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script><script>if(typeof jQuery == 'undefined') document.write(unescape("%3Cscript%20src%3D%22/jquery.js%22%3E%3C/script%3E"));</script><script src="/app.js"></script><script type="text/javascript">(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></body></html>