ldap-frontend/ldap_frontend/templates/login.html

23 lines
1.1 KiB
HTML
Raw Normal View History

2021-12-21 07:30:36 +00:00
{% extends "layout/default.html" %}
2021-12-23 08:14:27 +00:00
{% block title %}{% trans %}Login{% endtrans %}{% endblock %}
2021-12-21 07:30:36 +00:00
{% block content %}
<form action="{{ url_for("login") }}" method="post">
2021-12-21 15:57:39 +00:00
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
2021-12-21 07:30:36 +00:00
<fieldset>
2021-12-23 08:14:27 +00:00
<legend>{% trans %}Login{% endtrans %}</legend>
2021-12-21 07:30:36 +00:00
<div class="mb-3">
2021-12-23 08:14:27 +00:00
<label for="username" class="form-label">{% trans %}Username{% endtrans %}</label>
2021-12-21 07:30:36 +00:00
<input type="text" name="username" id="username" required class="form-control">
</div>
<div class="mb-3">
2021-12-23 08:14:27 +00:00
<label for="password" class="form-label">{% trans %}Password{% endtrans %}</label>
2021-12-21 07:30:36 +00:00
<input type="password" name="password" id="password" required class="form-control">
</div>
2021-12-23 08:14:27 +00:00
<input type="submit" value="{% trans %}Login{% endtrans %}" class="btn btn-primary mb-3">
2021-12-21 07:30:36 +00:00
</fieldset>
</form>
{% endblock %}