docker-repo/auth-app/templates/login.html

21 lines
859 B
HTML

{% extends "base.html" %}
{% block title %}Anmelden - Docker Registry{% endblock %}
{% block content %}
<div style="max-width: 400px; margin: 4rem auto;">
<div class="card">
<h2>Anmelden</h2>
<form method="post" action="{{ url_for('login') }}">
<div class="form-group" style="margin-bottom: 1rem;">
<label for="username">Benutzername</label>
<input type="text" id="username" name="username" required autofocus>
</div>
<div class="form-group" style="margin-bottom: 1rem;">
<label for="password">Passwort</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary" style="width: 100%;">Anmelden</button>
</form>
</div>
</div>
{% endblock %}