-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (91 loc) · 4.58 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
<!doctype html>
<html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel='stylesheet' href="main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<script src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Monopoly Stock Exchange <span id='playernamelabel' class="label label-warning pull-right"><small id="playername" style="color:white">NOT CURRENTLY PLAYING</small></span></h1></div>
<div class="row">
<div class="col-sm-3">
<div class="panel panel-default">
<div class="panel-heading text-center">
<h4>Players</h4>
</div>
<div class="panel-body">
<table class="table table-condensed table-striped">
<tbody id='players'>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading text-center">
<h4>Commands</h4>
</div>
<div class="panel-body">
<table class="table table-condensed table-striped">
<tbody id='commands'>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading text-center">
<h4>Game Info</h4>
<div class="btn-toolbar" role="toolbar">
<div class="btn-group btn-group-justified" role="group">
<div class="btn-group" role="group">
<button id="page1button" type="button" class="btn btn-primary" onclick="setPage(1)">Page 1</button>
</div>
<div class="btn-group" role="group">
<button id="page2button" type="button" class="btn btn-default" onclick="setPage(2)">Page 2</button>
</div>
</div>
</div>
</div>
<table class="table table-condensed table-striped">
<thead id='gameinfotitle'></thead>
<tbody id='gameinfolist'></tbody>
</table>
</div>
</div>
<div class="col-sm-3">
<div id='alertbox' class="alert alert-danger alert-dismissible" role="alert" hidden="true">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<div id='alerttext'></div>
</div>
<form action="">
<div class="form-group form-inline">
<input id="commandbox" type="text" class="form-control" placeholder="Enter Command" autocapitalize="off" autocorrect="off" spellcheck="off" autocomplete="off">
<span class="form-group-btn">
<button id="sendcommand" class="btn btn-default" type="submit">Send</button>
</span>
</div>
</form>
<div class="panel panel-default">
<div class="panel-heading text-center">
<h4>Game Log</h4>
</div>
<div class="panel-body">
<table class="table table-condensed table-striped">
<tbody id='gamelog' class="text-center">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script src='main.js'></script>
</body>
</html>