app-MAIL-temp/templates/dashboard/enter_sudo.html

33 lines
1.2 KiB
HTML
Raw Normal View History

{% extends "default.html" %}
2020-05-18 11:14:40 +02:00
{% set active_page = "setting" %}
{% block title %}SUDO MODE{% endblock %}
2020-05-18 11:14:40 +02:00
{% block default_content %}
2020-05-18 11:14:40 +02:00
<div class="card">
<div class="card-body">
<h1 class="h2">Entering Sudo Mode</h1>
<p>The next page contains security related setting.</p>
<p>Please enter your account password so that we can ensure it's you.</p>
2020-05-18 11:14:40 +02:00
<form method="post">
{{ password_check_form.csrf_token }}
<div class="font-weight-bold mt-5">Password</div>
{{ password_check_form.password(class="form-control", autofocus="true") }}
{{ render_field_errors(password_check_form.password) }}
<button class="btn btn-lg btn-danger mt-2">Submit</button>
</form>
{% if connect_with_proton %}
<div class="my-3">
<p>Alternatively you can use your Proton credentials to ensure it's you.</p>
</div>
<a class="btn btn-primary btn-block mt-2 proton-button w-25"
href="{{ url_for("auth.proton_login", next=next) }}">
<img class="mr-2" src="/static/images/proton.svg" />
Authenticate with Proton
</a>
{% endif %}
2020-05-18 11:14:40 +02:00
</div>
</div>
{% endblock %}