-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathscoring.html
159 lines (130 loc) · 4.41 KB
/
scoring.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="fantasy, civics, football, sports, chicago, city, ward, alderman, aldermen, 311, graffiti, pot holes, rodent baiting">
<meta name="description" content="A Fantasy Football-style game about Chicago city leaders.">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta property="og:title" content="Fantasy Civics">
<meta property="og:description" content="A Fantasy Football-style game about Chicago city leaders.">
<meta property="og:image" content="https://geliclub.github.io/fantasycivics/assets/logo-color.png">
<link rel="icon" sizes="192x192" href="favicon.ico">
<link rel="image_src" href="assets/logo-color.png">
<title>Fantasy Civics</title>
<script src="https://www.gstatic.com/firebasejs/3.6.9/firebase.js"></script>
<script type="text/javascript" src="./assets/promise.min.js"></script>
<script type="text/javascript" src="./assets/moment.min.js"></script>
<script type="text/javascript" src="./assets/jquery-3.1.1.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,900" rel="stylesheet">
<!-- Vex Assets -->
<script type="text/javascript" src="assets/vex.combined.min.js"></script>
<script type="text/javascript">vex.defaultOptions.className = 'vex-theme-plain';</script>
<link rel="stylesheet" type="text/css" href="assets/vex.css">
<link rel="stylesheet" type="text/css" href="assets/vex-theme-plain.css">
<!-- Plotly -->
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<!-- Styles -->
<link rel="stylesheet" type="text/css" href="app/reset.css">
<link rel="stylesheet" type="text/css" href="app/temp-style.css">
<style>
html, body, section {
padding: 0;
margin: 0;
}
.center-vertical {
}
.center-horizontal {
text-align: center;
}
.center-horizontal div {
text-align: left;
}
.center-text {
text-align: center;
}
button.cta-btn {
height: 40px;
line-height: 25px;
font-size: 20px;
font-weight: bold;
width: 200px;
display: block;
margin: 10px auto;
}
li {
line-height: 20px;
}
.has-scouting-report {
font-weight: bold;
}
.has-scouting-report:hover {
cursor: pointer;
}
.projected-score {
color: rgba(44, 140, 153, 1);
font-style: italic;
}
.compare-roster {
display: inline-block;
width: 49%;
margin: 0;
padding: 0;
vertical-align: top;
}
.compare-roster div, .compare-roster select {
display: block;
margin: 20px auto;
}
.compare-roster div table {
width: 80%;
margin: 20px auto;
}
h1, h2, h3, h4 {
margin: 20px;
text-align: center;
}
.scoring-breakdown table {
width: 100%;
}
</style>
</head>
<body>
<!-- Header -->
<div id="loading" class="loading">
<div>
<img src="./assets/logo-white.png">
</div>
<h1>Loading the Scoring Simulator...</h1>
</div>
<h1>Fantasy Civics Scoring Simulator</h1>
<div class="compare-roster">
<select class="select-system" data-holder="roster1"></select>
<h2 id="h-roster1"></h3>
<div id="roster1"></div>
</div>
<div class="compare-roster">
<select class="select-system" data-holder="roster2"></select>
<h2 id="h-roster2"></h3>
<div id="roster2"></div>
</div>
<!-- Footer -->
<!-- Sortable Assets -->
<script type="text/javascript" src="assets/install.js"></script>
<script type="text/javascript" src="assets/sortable.min.js"></script>
<link rel="stylesheet" type="text/css" href="assets/sortable-theme-bootstrap.css">
<script type="text/javascript" src="./lib/util.js"></script>
<script type="text/javascript" src="./database/player.js"></script>
<script type="text/javascript" src="./database/league.js"></script>
<script type="text/javascript" src="./database/scoring.js"></script>
<script type="text/javascript" src="./database/auth.js"></script>
<script type="text/javascript" src="./database/database.js"></script>
<script type="text/javascript" src="./lib/roster-view.js"></script>
<script type="text/javascript" src="./lib/scouting.js"></script>
<script type="text/javascript" src="./lib/scoring.js"></script>
<script type="text/javascript" src="./lib/scoring-systems.js"></script>
<script type="text/javascript" src="./test-scores.js"></script>
<script type="text/javascript">
</script>
</body>
</html>