-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
162 lines (132 loc) · 5.95 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
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
160
161
162
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>True Skill FRC</title>
<link rel="icon" href="/static/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.red-orange.min.css">
<script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<link rel="stylesheet" href="static/style.css" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="static/main.js" type="text/javascript"></script>
</head>
<body>
<!-- Simple header with fixed tabs. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header
mdl-layout--fixed-tabs">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">FRC True Skill</span>
<div class="mdl-layout-spacer"></div>
<div class="mdl-layout-spacer"></div>
<nav class="mdl-navigation">
<button class="refresh mdl-button mdl-js-button mdl-button--icon mdl-button">
<i class="mdl-color-text--white-500 material-icons" role="presentation">refresh</i>
</button>
<a class="mdl-navigation__link" href="http://www.thedropbears.org.au/" target="_blank">The Dropbears - 4774</a>
<a class="mdl-navigation__link" href="https://github.com/thedropbears/trueskill/" target="_blank">
<i class="mdl-color-text--white-500 material-icons" role="presentation">code</i></a>
</nav>
</div>
<!-- Tabs -->
<div class="mdl-layout__tab-bar mdl-js-ripple-effect">
<a href="#team" class="mdl-layout__tab is-active" style="text-transform: none;">
<i class="mdl-color-text--white-500 material-icons top-icons" role="presentation">flags</i>Team</a>
<a href="#event" class="mdl-layout__tab" style="text-transform: none;">
<i class="mdl-color-text--white-500 material-icons top-icons" role="presentation">events</i>Event</a>
</div>
</header>
<main class="mdl-layout__content">
<section class="mdl-layout__tab-panel is-active" id="team">
<div class="page-content">
<!-- Team page goes here -->
<!-- select team card-->
<div class="card mdl-card mdl-shadow--4dp card">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text white-red">Select Team</h2>
</div>
<div class="mdl-card__actions mdl-card--border">
<form action="#">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input white-red" type="text" pattern="-?[0-9]*(\.[0-9]+)?" maxlength="4" id="team-input">
<label class="mdl-textfield__label white-text" for="team_number">Enter Team Number</label>
<span class="mdl-textfield__error">Input is not a number!</span>
</div>
</form>
</div>
</div>
<!-- team info card -->
<div id="team-info" class="wide-card mdl-card mdl-shadow--4dp card hidden">
<div id="title-box" class="mdl-card__supporting-text team-info">
<div class="white-text team-info">
<h1 id="team-number" class="team-info white-text"></h1>
</div>
<div class="team-info mdl-card__supporting-text">
<h3 id="team-name" class="white-text"></h3>
<h6 id="team-location" class="white-text"></h6>
</div>
</div>
<div id="trueskill-points-div">
<div class="donut-chart">
<p id="trueskill-info" ></p>
</div>
</div>
<div id='event-list-div'>
<ul id='event-list' >
<h3>Regionals</h3>
</ul>
</div>
</div>
<!-- team match card -->
<div id="card-team-div">
<div class="mdl-spinner mdl-spinner--single-color mdl-js-spinner is-active loading"></div>
</div>
</div>
</section>
<section class="mdl-layout__tab-panel" id="event">
<div class="page-content">
<div class="card mdl-card mdl-shadow--2dp card">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text white-red">Select Event</h2>
</div>
<div class="mdl-card__actions mdl-card--border">
<select class="selector" id="event-selector">
<option>Select Event</option>
</select>
</div>
</div>
<!-- event info card -->
<div id="event-info" class="wide-card mdl-card mdl-shadow--4dp card hidden">
<div id="title-box" class="mdl-card__supporting-text no-padding">
<div class="white-text">
<h1 id="event-name" class="white-text"></h1>
</div>
<div class="event-info mdl-card__supporting-tex no-paddingt">
<h3 id="event-location" class="white-text"></h3>
</div>
</div>
<div class="event-date">
<h6 id="event-start-date"></h6>
<h6 id="event-end-date"></h6>
</div>
</div>
<!-- Teams attending event -->
<div id="event-ranking-card-div" class="wide-card mdl-card mdl-shadow--4dp card hidden">
<div class="mdl-card__title white-red">
<h2 class="mdl-card__title-text">Team rankings</h2>
</div>
<div class="mdl-card__supporting-text event event-ranking-div">
<div class="event-ranking">
</div>
</div> </div>
<!-- Event Page goes here -->
<div id="card-event-div">
<div class="mdl-spinner mdl-spinner--single-color mdl-js-spinner is-active loading"></div>
</div>
</section>
</main>
</div>
</div>
</body>
</html>