UI - admin authentication and bootstrap update

This commit is contained in:
bunkerity
2021-07-09 14:17:50 +02:00
parent 6be082e0a9
commit 0d3f7d3925
9 changed files with 68 additions and 22 deletions

26
ui/templates/login.html Normal file
View File

@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% block content %}
<div class="form-signin">
<div class="text-center">
<img src="img/logo.png" class="mb-4" style="max-width: 200px;">
</div>
<h1 class="h3 mb-3 fw-normal">Authentication required</h1>
<form action="login" method="POST">
<div class="form-floating">
<input type="text" id="username" class="form-control" name="username" placeholder="user">
<label for="username">Username</label>
</div>
<div class="form-floating">
<input type="password" id="password" class="form-control" name="password" placeholder="p@ssw0rd">
<label for="password">Password</label>
</div>
<button class="w-100 btn btn-lg btn-primary" type="submit">Sign in</button>
</form>
</div>
{% endblock %}