-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (143 loc) · 6.67 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
163
164
165
166
<!doctype html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<title>The Game Room</title>
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<!-- jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
<!-- Data Tables -->
<script type="text/javascript" src="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.13/css/jquery.dataTables.min.css">
<script src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.11.4/js/dataTables.bootstrap5.min.js"></script>
<link rel="https://cdn.datatables.net/responsive/2.2.9/css/responsive.dataTables.min.css">
<script src="https://cdn.datatables.net/responsive/2.2.9/js/dataTables.responsive.min.js"></script>
<meta name="theme-color" content="#7952b3">
<style>
#game-list_wrapper,
#play-list_wrapper {
margin-top: -1em;
}
.game-image {
min-width: 100px;
max-width: 10%;
/* min-height: 100px; */
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
main>.container {
padding: 60px 15px 0;
}
</style>
<script src="game-room.js"></script>
</head>
<body class="d-flex flex-column h-100">
<header>
<!-- Fixed navbar -->
<nav id="nav-main" class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">The Game Room</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0 ml-auto">
</ul>
<ul class="navbar-nav nav mb-2 mb-md-0 navbar-right">
<li class="nav-item">
<a data-bs-toggle="tab" href="#history" class="nav-link active" aria-current="page">Plays</a>
</li>
<li class="nav-item">
<a data-bs-toggle="tab" href="#games" class="nav-link">Games</a>
</li>
<li class="nav-item">
<a data-bs-toggle="tab" href="#about" class="nav-link">About</a>
</li>
</ul>
<!--
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
-->
</div>
</div>
</nav>
</header>
<!-- Begin page content -->
<main class="flex-shrink-0">
<div class="container">
<div class="tab-content">
<div id="history" class="tab-pane fade show active" role="tabpanel">
<h2>Play History</h2>
<p>All the games we have played in The Game Room.</p>
<table id="play-list" class="display" width="100%">
<thead>
<tr>
<th>Date</th>
<th></th>
<th>Game</th>
<th>Players</th>
<th>Location</th>
<th>Comments</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Date</th>
<th></th>
<th>Game</th>
<th>Players</th>
<th>Location</th>
<th>Comments</th>
</tr>
</tfoot>
</table>
</div>
<div id="games" class="tab-pane fade" role="tabpanel">
<h2>Game List</h2>
<p>All the games available in The Game Room.</p>
<table id="game-list" class="display" width="100%">
<thead>
<tr>
<th></th>
<th>Game</th>
<th>Year</th>
<th>Plays</th>
<th>Comments</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th>Game</th>
<th>Year</th>
<th>Plays</th>
<th>Comments</th>
</tr>
</tfoot>
</table>
</div>
<div id="about" class="tab-pane fade" role="tabpanel">
<h2>About The Game Room</h2>
<p>The Game Room is a game room.</p>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto py-3 bg-light">
<div class="container">
<p class="text-end"><a href='https://github.com/stephenhouser/game-room'>game-room</a> by <a href='http://stephenhouser.com'>Stephen Houser</a></p>
</div>
</footer>
</body>
</html>