-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.html
75 lines (71 loc) · 3.31 KB
/
setup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SSTL</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/styles.min.css">
<link rel="stylesheet" href="assets/css/setup-calendar.css">
</head>
<body>
<div>
<nav class="navbar navbar-default navigation-clean" style="background-color:rgb(244,244,244);">
<div class="container">
<div class="navbar-header"><a class="navbar-brand navbar-link" href="#">SSTL </a>
<button class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navcol-1"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
</div>
<div class="collapse navbar-collapse" id="navcol-1">
<ul class="nav navbar-nav navbar-right">
<li role="presentation"><a href="submitscore.html">Submit Score</a></li>
<li class="active" role="presentation"><a href="#">Setup </a></li>
<li role="presentation"><a href="getagame.html">Get a Game</a></li>
<li role="presentation"><a href="results.html">Results </a></li>
<li role="presentation"><a href="" onclick="logout()">Logout</a></li>
</ul>
</div>
</div>
</nav>
</div>
<div>
<div class="container">
<div class="row">
<div class="col-md-12">
<p>Name:</p>
<input id="user-name" type="text">
<p>Courts:</p>
<p>Guide:</p>
<div class="list-group">
<li class="list-group-item list-group-item-success">Preferable</li>
<li class="list-group-item list-group-item-info">Available</li>
<li class="list-group-item list-group-item-danger">Unavailable</li>
</div>
<div class="list-group" id="court-list"></div>
<p>Availability:</p>
<div id="weekly-schedule"></div>
<button class="btn btn-default" onclick="submitSetup()">Save</button>
</div>
</div>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/4.6.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyC5wdWpy0lC2z_ebs5fcp36S510m07-RzU",
authDomain: "sstl-6a30a.firebaseapp.com",
databaseURL: "https://sstl-6a30a.firebaseio.com",
projectId: "sstl-6a30a",
storageBucket: "sstl-6a30a.appspot.com",
messagingSenderId: "106877055189"
};
firebase.initializeApp(config);
</script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/logout.js"></script>
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="schedule/src/index.js"></script>
<script src="assets/js/setup.js"></script>
</body>
</html>