forked from TarHeelPeele/TGC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
139 lines (129 loc) · 6.45 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<title>Triangle Golf Club</title>
</head>
<body>
<div class="container-fluid">
<!--Header Row-->
<div class="row">
<div class="col-2">
<img src="./images/logoSmall.jpg" class="rounded float-left img-fluid" alt="TGC">
</div>
<div id="game" class="col-9 h1">
Loading Game...
</div>
<div class="col-1">
</div>
</div>
<!-- Hole Menu -->
<div class="row">
<div class="col-12">
<nav aria-label="Hole">
<ul id="holeMenu" class="pagination flex-wrap">
<li class="page-item"><a class="page-link" href="#">Previous</a></li>
<li id="hole1MenuItem" class="page-item active"><a class="page-link" href="#">1</a></li>
<li id="hole2MenuItem" class="page-item"><a class="page-link" href="#">2</a></li>
<li id="hole3MenuItem" class="page-item"><a class="page-link" href="#">3</a></li>
<li id="hole4MenuItem" class="page-item"><a class="page-link" href="#">4</a></li>
<li id="hole5MenuItem" class="page-item"><a class="page-link" href="#">5</a></li>
<li id="hole6MenuItem" class="page-item"><a class="page-link" href="#">6</a></li>
<li id="hole7MenuItem" class="page-item"><a class="page-link" href="#">7</a></li>
<li id="hole8MenuItem" class="page-item"><a class="page-link" href="#">8</a></li>
<li id="hole9MenuItem" class="page-item"><a class="page-link" href="#">9</a></li>
<li id="hole10MenuItem" class="page-item"><a class="page-link" href="#">10</a></li>
<li id="hole11MenuItem" class="page-item"><a class="page-link" href="#">11</a></li>
<li id="hole12MenuItem" class="page-item"><a class="page-link" href="#">12</a></li>
<li id="hole13MenuItem" class="page-item"><a class="page-link" href="#">13</a></li>
<li id="hole14MenuItem" class="page-item"><a class="page-link" href="#">14</a></li>
<li id="hole15MenuItem" class="page-item"><a class="page-link" href="#">15</a></li>
<li id="hole16MenuItem" class="page-item"><a class="page-link" href="#">16</a></li>
<li id="hole17MenuItem" class="page-item"><a class="page-link" href="#">17</a></li>
<li id="hole18MenuItem" class="page-item"><a class="page-link" href="#">18</a></li>
<li class="page-item"><a class="page-link" href="#">Next</a></li>
</ul>
</nav>
</div>
</div>
<!--Scorecard Header Row-->
<div class="row">
<div class="col-3 font-weight-bold bg-info">Golfer</div>
<div class="col-2 font-weight-bold bg-info">Tee</div>
<div class="col-1 font-weight-bold bg-info">Hcp</div>
<div class="col-1 font-weight-bold bg-info">Par</div>
<div class="col-1 font-weight-bold bg-info">Hcp</div>
<div id="holeScore" class="col-3 font-weight-bold bg-info lead">Score</div>
</div>
<!--Golfer 1 Row-->
<div class="row">
<div id="golfer1" class="col-3"></div>
<div id="golfer1Tee" class="col-2"></div>
<div id="golfer1Hcp" class="col-1"></div>
<div id="golfer1HolePar" class="col-1"></div>
<div id="golfer1HoleHcp" class="col-1"></div>
<div id="golfer1HoleScoreParent" class="col-3 bg-light lead">
<input type="number" id="golfer1HoleScore" name="golfer1HoleScore" min="1" max="9" step="1" maxlength="1"
onclick="this.select()" oninput="this.value=this.value.slice(0,1);">
</div>
</div>
<!--Golfer 2 Row-->
<div class="row">
<div id="golfer2" class="col-3 bg-light"></div>
<div id="golfer2Tee" class="col-2 bg-light"></div>
<div id="golfer2Hcp" class="col-1 bg-light"></div>
<div id="golfer2HolePar" class="col-1 bg-light"></div>
<div id="golfer2HoleHcp" class="col-1 bg-light"></div>
<div id="golfer2HoleScoreParent" class="col-3 bg-light lead">
<input type="number" id="golfer2HoleScore" name="golfer2HoleScore" min="1" max="9" step="1" maxlength="1"
onclick="this.select()" oninput="this.value=this.value.slice(0,1);">
</div>
</div>
<!--Golfer 3 Row-->
<div class="row">
<div id="golfer3" class="col-3"></div>
<div id="golfer3Tee" class="col-2"></div>
<div id="golfer3Hcp" class="col-1"></div>
<div id="golfer3HolePar" class="col-1"></div>
<div id="golfer3HoleHcp" class="col-1"></div>
<div id="golfer3HoleScoreParent" class="col-3 lead">
<input type="number" id="golfer3HoleScore" name="golfer3HoleScore" min="1" max="9" step="1" maxlength="1"
onclick="this.select()" oninput="this.value=this.value.slice(0,1);">
</div>
</div>
<!--Golfer 4 Row-->
<div class="row">
<div id="golfer4" class="col-3 bg-light"></div>
<div id="golfer4Tee" class="col-2 bg-light"></div>
<div id="golfer4Hcp" class="col-1 bg-light"></div>
<div id="golfer4HolePar" class="col-1 bg-light"></div>
<div id="golfer4HoleHcp" class="col-1 bg-light"></div>
<div id="golfer4HoleScoreParent" class="col-3 bg-light lead">
<input type="number" id="golfer4HoleScore" name="golfer4HoleScore" min="1" max="9" step="1" maxlength="1"
onclick="this.select()" oninput="this.value=this.value.slice(0,1);">
<div class="col-3"></div>
</div>
</div>
<!--Footer Row-->
<div class="row">
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="./scripts/TGC.js"></script>
</body>
</html>