Schafkopf-Server/Public/list.html

37 lines
1.3 KiB
HTML
Raw Normal View History

2022-10-13 09:13:16 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'/>
<title>Schafkopf</title>
<meta name='viewport' content='width=device-width, initial-scale=1'/>
<link rel='stylesheet' type='text/css' media='screen' href='style.css'/>
<script src='api.js'></script>
<script src='storage.js'></script>
<script src='list.js'></script>
</head>
<body>
<div id="top-bar">
<div id="player-info">
<div id="player-name"></div>
<button id="logout-button" class="standard-button" onclick="logoutUser()">Log out</button>
</div>
<div id="table-list-bar">
<button id="refresh-tables" class="standard-button" onclick="refreshTables()">Refresh list</button>
</div>
</div>
<div id="main">
<div id="main-spacer"></div>
<div id="table-list">
<input type="text" id="table-name-field" name="tablename" placeholder="Create new table..." required>
<input type="checkbox" id="table-public-checkbox" name="public-table" checked="checked">
<span id="table-public-label">Public</span>
<button id="create-table-button" class="standard-button" onclick="createTable()">Create table</button>
</div>
</div>
<script>
loadExistingSession()
</script>
</body>
</html>