Added basic admin interface
This commit is contained in:
@@ -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>
|
||||
@@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{title}}</title>
|
||||
<link rel='stylesheet' href='/stylesheets/style.css' />
|
||||
</head>
|
||||
<body>
|
||||
{{{body}}}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user