Added basic admin interface

This commit is contained in:
2024-04-21 12:54:37 +02:00
parent 7d181ca315
commit d8b400c371
5 changed files with 66 additions and 21 deletions
+33
View File
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<title>Scoreboard Admin</title>
<link rel='stylesheet' href='/stylesheets/bootstrap/bootstrap.min.css' />
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
Interface zur Bedienung des Zeit-/Scoreboards.
<!-- Timer buttons -->
<div class="row mt-2">
<div class="col-lg-4">
<form method="post" action="/admin/timerStart">
<button class="btn btn-lg btn-success" type="submit" name="startButton">
<span class="glyphicon glyphicon-play" aria-hidden="false"> </span>
</button>
</form>
</div>
<div class="col-lg-4">
<form method="post" action="/admin/timerPause">
<button class="btn btn-lg btn-warning" type="submit" name="pauseButton">Pause</button>
</form>
<div class="col-lg-4">
<form method="post" action="/admin/timerReset">
<button class="btn btn-lg btn-danger" type="submit" name="resetButton">Reset</button>
</form>
</div>
</div>
</div>
</body>
<script src='/javascripts/bootstrap/bootstrap.bundle.min.js'></script>
</html>
-10
View File
@@ -1,10 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>{{title}}</title>
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
{{{body}}}
</body>
</html>