-
Notifications
You must be signed in to change notification settings - Fork 1
/
results.html
70 lines (65 loc) · 2.76 KB
/
results.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
<!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">
</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 role="presentation"><a href="setup.html">Setup </a></li>
<li role="presentation"><a href="getagame.html">Get a Game</a></li>
<li class="active" role="presentation"><a href="#">Results </a></li>
<li role="presentation"><a href="" onclick="logout()">Logout</a></li>
</ul>
</div>
</div>
</nav>
</div>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>Player </th>
<th>Wins </th>
<th>Losses </th>
<th>Matches Played</th>
<th>Round Robin</th>
<th>Matches Played</th>
<th>Winning % </th>
<th>Last 4 weeks</th>
</tr>
</thead>
<tbody id="table-body">
</tbody>
</table>
</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="assets/js/results.js"></script>
</body>
</html>