-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·140 lines (125 loc) · 4.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="keywords" content="ur game client memeteam memeteam-github memeteam-ur urgame ur-client">
<meta name="description"
content="An implementation of the Royal Game of Ur, an ancient board game, more info on http://en.wikipedia.org/Royal_Game_of_Ur/">
<title>Ur</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/connection/internal.js"></script>
<script type="text/javascript" src="scripts/connection/protocol.js"></script>
<script type="text/javascript" src="scripts/connection/rawconnection.js"></script>
<script type="text/javascript" src="scripts/main.js"></script>
</head>
<body onload="initialize();">
kek
<header>
</header>
<nav>
</nav>
<!--GAME SECTION-->
<section id="game">
<div id="connection-info">
<table>
<tr>
<td>Connection Status</td>
<td id="connection-status"></td>
<!--TODO add ONCLICK events on the buttons.-->
<td><input type="button" id="buttons-ws-connect" value="Connect" onclick=""></td>
<td><input type="button" id="buttons-ws-disconnect" value="Disconnect" onclick=""></td>
</tr>
<tr>
<td>Authentication Status</td>
<td id="authentication-status"></td>
</tr>
</table>
<table id="auth-table">
<tr>
<td colspan="3" style="text-align: center; font-size: 16px;">Authenticate</td>
</tr>
<tr>
<td>Name</td>
<td colspan="2">Country</td>
</tr>
<tr>
<datalist id="country_codes">
<option value="united kingdom"></option>
<option value="united states"></option>
</datalist>
<td>
<input type="text" id="fields-name" title="PlayerName">
</td>
<!--TODO add the name checks to a visible tooltip.-->
<td>
<input type="text" id="fields-countrycode" title="CountryCode" list="country_codes" disabled>
</td>
<td style="font-size: 13px;">
<input type="checkbox" id="fields-countrycode-auto" style="vertical-align: text-bottom;"
onchange="updateCountryCodeLock();" checked/>Auto (GeoIP)
</td>
</tr>
<tr>
<td colspan="3">
<input type="button" id="buttons-name-submit" value="Submit" onmouseup="">
</td>
</tr>
</table>
</div>
<div></div>
<table id="game-table">
<tr>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
</tr>
<tr>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
</tr>
<tr>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
<td class="game-cell"></td>
</tr>
</table>
<div id="game-lobby">
<div>LOBBY</div>
<table id="game-lobby-playertable">
<thead>
<tr>
<td>Name</td>
<td>Locale</td>
<td>In Game?</td>
</tr>
</thead>
</table>
</div>
</section>
<footer>
<div>
Licensed under GPLv3
</div>
<div>
Flag icons, kindy provided by <a href="http://icondrawer.com">IconDrawer.com</a>
</div>
</footer>
</body>
</html>