This repository has been archived by the owner on May 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (117 loc) · 4.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer'
? '&l=' + l
: '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-NNS7QX5');
</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="ie=edge" http-equiv="X-UA-Compatible">
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.css" rel="stylesheet"/>
<link href="./style.css" rel="stylesheet"/>
<title>Roster Builder</title>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-NNS7QX5" style="display:none;visibility:hidden" width="0"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<nav class="ui top attached massive menu">
<h1 class="ui header borderless item">
<div class="content">
Roster Builder
<div class="sub header">Create a team roster to share with your photographer.</div>
</div>
</h1>
<div class="right menu">
<div class="borderless item">
<button class="ui secondary button" onclick="newRoster()">NEW</button>
</div>
<div class="borderless item"></div>
</div>
</nav>
<div class="ui container">
<div class="ui hidden divider"></div>
<div class="ui huge form" id="rosterData">
<div class="two fields">
<div class="field">
<label for="schoolName">School Name</label>
<input autofocus id="schoolName" name="schoolName" placeholder="School Name" type="text">
</div>
<div class="field">
<label for="teamName">Team Name</label>
<input id="teamName" name="teamName" placeholder="Team Name" type="text">
</div>
<div class="field">
<label for="gender">Gender</label>
<select id="gender" name="gender">
<option value="boys">Boys</option>
<option value="girls">Girls</option>
</select>
</div>
</div>
</div>
<div class="ui divider"></div>
<div class="ui equal width form" id="addPlayers">
<div class="fields">
<div class="field">
<label for="firstName">First Name</label>
<input id="firstName" name="firstName" placeholder="First Name" type="text">
</div>
<div class="field">
<label for="lastName">Last Name</label>
<input id="lastName" name="lastName" placeholder="Last Name" type="text">
</div>
<div class="field">
<label for="jerseyNumber">Jersey Number</label>
<input id="jerseyNumber" name="jerseyNumber" placeholder="12" type="text">
</div>
<div class="field">
<label for="division">Division</label>
<select id="division" name="division">
<option value="varsity">Varsity</option>
<option value="jv">JV</option>
<option value="freshman">Freshman</option>
</select>
</div>
<div class="two wide field">
<label>Add</label>
<button class="ui positive button" id="addPlayer-btn">+</button>
</div>
</div>
<div class="ui divider"></div>
<table class="ui compact celled table">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Jersey Number</th>
<th>Division</th>
<th class="collapsing">
<div class="ui gray disabled button">x</div>
</th>
</tr>
</thead>
<tbody id="rosterTable"></tbody>
</table>
<div class="ui center aligned container">
<button class="ui massive primary button" id="downloadBtn" type="button">Download</button>
</div>
</div>
</body>
<script src="./roster.js"></script>
</html>