This commit is contained in:
jpmvaz
2026-09-13 20:03:24 +01:00
commit 0ebb8e7f4b
270 changed files with 23789 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% block title %}Sign in — MartinhalApprovalFlow{% endblock %}
{% block content %}
<div class="login-box card">
<div class="brand-lg">Martinhal<span>ApprovalFlow</span></div>
{% if mfa_stage %}
<p class="sub">Two-factor authentication is enabled for <b>{{ username }}</b>. Enter the 6-digit code from your authenticator app.</p>
<form method="post" action="{{ url_for('login_mfa') }}">
<label for="c">Verification code</label>
<input id="c" type="text" name="code" inputmode="numeric" pattern="[0-9 ]*" maxlength="7"
autocomplete="one-time-code" autofocus required>
<button type="submit">Verify and sign in</button>
</form>
<p class="muted" style="margin-top:1rem"><a href="{{ url_for('login') }}">&larr; Back to sign in</a></p>
{% else %}
<p class="sub">Sign in to send and track requests.</p>
<form method="post">
<label for="u">Username</label>
<input id="u" type="text" name="username" autofocus required>
<label for="p">Password</label>
<input id="p" type="password" name="password" required>
<button type="submit">Sign in</button>
</form>
{% endif %}
</div>
{% endblock %}