Add admin view

This commit is contained in:
Dominic Zimmer
2020-07-18 00:54:19 +02:00
parent 2bc842665d
commit 3174465be2
2 changed files with 121 additions and 11 deletions

View File

@@ -8,8 +8,8 @@
<title>Waschmarken.io</title>
<meta name="description" content="Waschmarken Scoreboard">
<link rel="stylesheet" href="static/css/normalize.css">
<link rel="stylesheet" href="static/css/sakura-dark.css">
<link rel="stylesheet" href="../../static/css/normalize.css">
<link rel="stylesheet" href="../../static/css/sakura-dark.css">
<style>
.heading {
@@ -24,36 +24,49 @@
height: 1.2em;
border-radius: 0.6em;
}
.number {
width: 8rem;
}
.plusbutton {
width: 3rem;
}
</style>
</head>
<body>
<h1 class="heading">Waschmarken Scoreboard</h1>
<h1 class="heading">Waschmarken Admin Interface</h1>
<table id="scoreboard">
<thead>
<tr>
<th>Name</th>
<th style="width: 100%;"></th>
<th class="score">Name</th>
<th class="score">Score</th>
<th class="score">Max</th>
<th class="score">Increase</th>
</tr>
</thead>
<tbody></tbody>
<template>
<tr class="row">
<td class="name"></td>
<td>
<div class="bar"></div>
<td class="score" id="name"></td>
<td class="score" id="cur"></td>
<td class="score" id="max"></td>
<td class="score" id="incr">
<div>
<input type="number" id="number" value = "25" >
<input type="button" id="plusbutton" value="+">
</div>
</td>
<td class="score">42069</td>
</tr>
</template>
</table>
<script src="static/js/main.js"></script>
<script src="../../static/js/admin.js"></script>
</body>
</html>
</html>
<!doctype html>
</html>