2022-12-22 04:45:15 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en-US">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Felt</title>
|
|
|
|
<meta name="viewport" content="width=device-width" />
|
2023-01-26 05:57:31 +00:00
|
|
|
<link href="./style.css" rel="stylesheet" />
|
2023-01-28 07:28:15 +00:00
|
|
|
|
2022-12-22 04:45:15 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-01-28 07:28:15 +00:00
|
|
|
<div id="errWrapper" style='display:none'><button id="closeErr" onclick="closeErr()">x</button><div id="errDiv"></div></div>
|
2022-12-22 04:45:15 +00:00
|
|
|
<nav>
|
|
|
|
<input id="name_entry">
|
2023-02-12 15:15:44 +00:00
|
|
|
<button id="goto_table">Join Table</button>
|
2022-12-22 04:45:15 +00:00
|
|
|
<button id="admin_login">Admin Login</button>
|
|
|
|
</nav>
|
2023-02-12 15:15:44 +00:00
|
|
|
<form id="table_modal" onsubmit="return false">
|
|
|
|
<label>Table Name<input id="input_table_name"></label>
|
|
|
|
<label>Table Passcode<input id="input_table_pass"></label>
|
|
|
|
<button type="submit" id="table_join" onclick="dial()">Join</button>
|
|
|
|
</form>
|
2023-01-28 07:28:15 +00:00
|
|
|
<form id="admin_modal" onsubmit="return false">
|
2023-01-26 05:57:31 +00:00
|
|
|
<label>usr<input id="input_admin_usr"></label>
|
|
|
|
<label>pass<input type="password" id="input_admin_pass"></label>
|
2023-01-28 07:28:15 +00:00
|
|
|
<button type="submit" id="admin_login" onclick="doLogin()">login</button>
|
|
|
|
</form>
|
2022-12-22 04:45:15 +00:00
|
|
|
<div id="dice_log"></div>
|
2023-02-13 04:25:14 +00:00
|
|
|
<select id="num_dice">
|
2022-12-22 04:45:15 +00:00
|
|
|
<option>1</option>
|
|
|
|
<option>2</option>
|
|
|
|
<option>3</option>
|
|
|
|
<option>4</option>
|
|
|
|
<option>5</option>
|
|
|
|
<option>6</option>
|
|
|
|
<option>7</option>
|
|
|
|
<option>8</option>
|
|
|
|
<option>9</option>
|
|
|
|
<option>10</option>
|
|
|
|
<option>11</option>
|
|
|
|
<option>12</option>
|
|
|
|
<option>13</option>
|
|
|
|
<option>14</option>
|
|
|
|
<option>15</option>
|
|
|
|
<option>16</option>
|
|
|
|
<option>17</option>
|
|
|
|
<option>18</option>
|
|
|
|
<option>19</option>
|
|
|
|
<option>20</option>
|
|
|
|
</select>
|
|
|
|
<label for="dice_faces">d</label>
|
|
|
|
<select id="dice_faces">
|
|
|
|
<option>4</option>
|
|
|
|
<option selected>6</option>
|
|
|
|
<option>8</option>
|
|
|
|
<option>10</option>
|
|
|
|
<option>12</option>
|
|
|
|
<option>20</option>
|
|
|
|
</select>
|
2023-02-13 04:25:14 +00:00
|
|
|
<input id="dice_note"><button id="dice_submit" onclick="rollDice()">Roll</button>
|
2022-12-22 04:45:15 +00:00
|
|
|
<div id="map"></div>
|
2023-01-28 07:28:15 +00:00
|
|
|
<div id="adminWrapper" style="display:none;">
|
|
|
|
<div id="adminCtrl">
|
|
|
|
<button onclick="setTableCreateFormVisible(true)">New Table</button>
|
|
|
|
<form onsubmit="return false" id="createTableForm" style="display:none;">
|
|
|
|
<input id="newTableName"/>
|
|
|
|
<input id="newTablePass" type="password"/>
|
|
|
|
<button type="submit" onclick="createTable()">Create</button>
|
|
|
|
<button onclick="setTableCreateFormVisible(false)">Cancel</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="adminZone"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script src="./util.js" type="text/javascript"></script>
|
2023-02-12 15:15:44 +00:00
|
|
|
<script src="./socket.js" type="text/javascript"></script>
|
2023-02-13 04:25:14 +00:00
|
|
|
<script src="./dice.js" type="text/javascript"></script>
|
2023-01-28 07:28:15 +00:00
|
|
|
<script src="./admin.js" type="text/javascript"></script>
|
|
|
|
</html>
|