1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Log In") }}{% end block %}
6 <div class=
"row justify-content-center my-5">
7 <div class=
"col col-md-4">
8 <div class=
"card {% if incorrect %}border-danger{% end %} mb-5">
9 <div class=
"card-body">
10 <h5 class=
"card-title text-center mb-4">{{ _(
"Log In") }}
</h5>
13 <h6 class=
"card-subtitle mb-4 text-danger text-center">
14 {{ _(
"You entered an invalid username or password") }}
18 <form action=
"" method=
"POST">
19 {% raw xsrf_form_html() %}
21 <input type=
"hidden" name=
"next" value=
"{{ next or "" }}">
23 <div class=
"form-group">
24 <input type=
"text" class=
"form-control form-control-lg"
25 name=
"username" placeholder=
"{{ _("Username
") }}"
26 value=
"{{ username or "" }}" required autofocus
>
29 <div class=
"form-group">
30 <input type=
"password" class=
"form-control form-control-lg"
31 name=
"password" placeholder=
"{{ _("Password
") }}" required
>
34 <button type=
"submit" class=
"btn btn-primary btn-block">
39 <p class=
"card-text text-center small mt-3">
40 <a class=
"text-muted" href=
"//people.ipfire.org/password-reset{% if incorrect %}?username={{ username }}{% end %}">
41 {{ _(
"Did you forget your password?") }}
47 <h6 class=
"text-center mb-2">{{ _(
"New to IPFire?") }}
</h6>
49 <a class=
"btn btn-secondary btn-block" href=
"https://people.ipfire.org/register">