forked from kgilbert-cmu/basketball-gm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (108 loc) · 6.51 KB
/
index.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Basketball GM</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/gen/bbgm.css" rel="stylesheet">
<!--<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/bbgm-responsive.css" rel="stylesheet">
<link href="/css/bbgm.css" rel="stylesheet">
<link href="/css/DT_bootstrap.css" rel="stylesheet">-->
<link rel="shortcut icon" href="/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="/ico/apple-touch-icon-57-precomposed.png">
<script type="text/javascript">
window.enableLogging = location.host.indexOf("basketball-gm.com") >= 0 && location.pathname.indexOf("/test") === -1;
if (enableLogging) {
// Errorception
(function(_,e,rr,s){_errs=[s];var c=_.onerror;_.onerror=function(){var a=arguments;_errs.push(a);
c&&c.apply(this,a)};var b=function(){var c=e.createElement(rr),b=e.getElementsByTagName(rr)[0];
c.src="//beacon.errorception.com/"+s+".js";c.async=!0;b.parentNode.insertBefore(c,b)};
_.addEventListener?_.addEventListener("load",b,!1):_.attachEvent("onload",b)})
(window,document,"script","51e61cf1dcbfc1595e000462");
// Google Analytics
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38759330-1']);
_gaq.push(['_setDomainName', 'basketball-gm.com']);
_gaq.push(['_trackPageview']);
(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);
})();
// Muscula
/*window.Muscula = { settings:{
logId:"aa381ce5-fafe-4fc8-a215-9e353c569e35", suppressErrors: false, branding: 'none'
}};
(function () {
var m = document.createElement('script'); m.type = 'text/javascript'; m.async = true;
m.src = (window.location.protocol == 'https:' ? 'https:' : 'http:') +
'//musculahq.appspot.com/Muscula.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(m, s);
window.Muscula.run=function(c){eval(c);window.Muscula.run=function(){};};
window.Muscula.errors=[];window.onerror=function(){window.Muscula.errors.push(arguments);
return window.Muscula.settings.suppressErrors===undefined;}
})();*/
}
</script>
</head>
<body>
<div class="navbar navbar-fixed-top navbar-inverse" id="top_menu">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/"><img src="/ico/logo.png" width="18" height="18"> Basketball GM</a>
<div class="nav-collapse" id="play-menu">
<div>
<ul class="nav btn btn-primary">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" id="play-button-link">Play <b class="caret"></b></a>
<ul class="dropdown-menu" data-bind="foreach: options">
<li><a data-bind="attr: {href: url, id: id}, text: label"></a></li>
</ul>
</li>
</ul>
</div>
<div class="nav"><span data-bind="text: phaseText"></span><br /><span data-bind="text: statusText"></span></div>
</div>
<ul class="nav pull-right">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Debug Menu <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="javascript:(function () { g = require('globals'); season = require('core/season'); season.newPhase(g.PHASE.PLAYOFFS); }())">Skip To Playoffs</a></li>
<li><a href="javascript:(function () { g = require('globals'); season = require('core/season'); season.newPhase(g.PHASE.BEFORE_DRAFT); }())">Skip To Before Draft</a></li>
<li><a href="javascript:(function () { g = require('globals'); season = require('core/season'); season.newPhase(g.PHASE.RESIGN_PLAYERS); }())">Skip To Resign Players</a></li>
<li><a href="javascript:(function () { g = require('globals'); season = require('core/season'); season.newPhase(g.PHASE.PRESEASON); }())">Skip To Preseason</a></li>
<li class="divider"></li>
<li><a href="javascript:(function () { if (window.confirm('Are you sure you want to reset the database? This will delete all your current saved games.')) { db = require('db'); db.reset(); } }())">Reset DB</a></li>
</ul>
</li>
<li><a href="/manual">Manual</a></li>
</ul>
</div>
</div>
</div>
<div class="container-fluid">
<div id="content" data-id-loading="" data-id-loaded="">Loading... (should take just a couple seconds)</div>
<p style="clear: both;"></p>
<hr>
<footer>
<p>Basketball GM 3.1.1 is available under the <a href="http://www.gnu.org/licenses/agpl-3.0.html">GNU Affero General Public License</a>. <a href="https://github.com/jdscheff/basketball-gm">Fork it on GitHub!</a></p>
</footer>
</div>
<div class="slide-out">
<button class="slide-out-handle btn">Feedback</button>
<p><a href="mailto:[email protected]">Send an email</a> ([email protected]), <a href="https://github.com/jdscheff/basketball-gm/issues">submit an issue on GitHub</a>, or <a href="http://www.reddit.com/r/BasketballGM/">join the discussion on Reddit</a>.</p>
<p>All thoughts, comments, and suggestions are appreciated!</p>
</div>
<!--Uncomment one of these two lines. First line: minified, single file. Second line: unminified, separate files. See HACKING.md for details.-->
<!--<script src="/gen/app.js"></script>-->
<script data-main="/js/app.js" src="/js/lib/require.js"></script>
</body>
</html>