web-base/Core/Templates/account/login.twig

38 lines
1.6 KiB
Twig
Raw Normal View History

{% extends "account/account_base.twig" %}
2022-02-21 14:04:49 +01:00
2022-11-30 16:42:24 +01:00
{% set view_title = 'account.title' %}
2022-02-21 14:04:49 +01:00
{% set view_icon = 'user-lock' %}
2022-11-30 16:42:24 +01:00
{% set view_description = 'account.description' %}
2022-02-21 14:04:49 +01:00
{% block view_content %}
2022-11-30 16:42:24 +01:00
<h4 class="pb-4">{{ L("account.form_title") }}</h4>
2022-02-21 14:04:49 +01:00
<form>
<div class="input-group">
<div class="input-group-append">
<span class="input-group-text"><i class="fas fa-hashtag"></i></span>
</div>
2022-11-30 16:42:24 +01:00
<input id="username" autocomplete='username' name="username"
placeholder="{{ L("account.username_or_email") }}" class="form-control" type="text" maxlength="32">
2022-02-21 14:04:49 +01:00
</div>
<div class="input-group mt-3">
<div class="input-group-append">
<span class="input-group-text"><i class="fas fa-key"></i></span>
</div>
2022-11-30 16:42:24 +01:00
<input type="password" autocomplete='password' name='password' id='password' class="form-control"
placeholder={{ L("account.password") }}>
2022-02-21 14:04:49 +01:00
</div>
2022-06-01 09:47:31 +02:00
<div class="ml-2" style="line-height: 38px;">
2022-11-30 16:42:24 +01:00
<a href="/resetPassword">{{ L("account.forgot_password") }}</a>
2022-06-01 09:47:31 +02:00
</div>
<div class="input-group mt-3 mb-4">
2022-11-30 16:42:24 +01:00
<button type="button" class="btn btn-primary" id='btnLogin'>{{ L("account.sign_in") }}</button>
2022-02-21 14:04:49 +01:00
{% if site.registrationEnabled %}
2022-11-30 16:42:24 +01:00
<div class="ml-2" style="line-height: 38px;">
<a href="/register">{{ L("account.register_text") }}</a>
</div>
2022-02-21 14:04:49 +01:00
{% endif %}
</div>
</form>
{% endblock %}