waschmarken/admin.html
2020-07-18 11:58:23 +02:00

89 lines
1.8 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<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">
<style>
.heading {
text-align: center;
}
#scoreboard .score {
text-align: right;
}
#scoreboard .bar {
height: 1.2em;
border-radius: 0.6em;
}
#number {
width: 8rem;
}
#plusbutton {
width: 3rem;
}
.adduser {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
}
</style>
</head>
<body>
<h1 class="heading">Waschmarken Admin Interface</h1>
<table id="scoreboard">
<thead>
<tr>
<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="score">
<a id="name"></a>
</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>
</tr>
</template>
</table>
<div class="adduser">
<span>
<input type="text" id="newusername" placeholder="Elrond McBong">
<input type="button" id="newuserbutton" value="Add">
</span>
</div>
<script src="../../static/js/admin.js"></script>
</body>
</html>
<!doctype html>
</html>