summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/auth/login.html
blob: 2b6cce9fa59f211963a92eabef88f971e42ed35f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends 'base.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% block content %}

<div class="d-flex justify-content-center align-items-center mt-4">
    <div class="login-box mb-5">
      <div class="login-logo"> OpenGnsys </div>
      <div class="card">
        <div class="card-body login-card-body">
          <p class="login-box-msg">
            <i class="fas fa-user-circle fa-8x"></i>
          </p>

          {{ wtf.quick_form(form,
                            method='post',
                            form_type='basic',
                            button_map={'submit_btn':'primary'},
                            id='login-form') }}
        </div>
        <!-- /.login-card-body -->
      </div>
    </div>
<!-- /.login-box -->
</div>

<script>
    document.addEventListener('readystatechange', () => {
        if (document.readyState === 'complete') {
            digestLoginPassword()
        }
    });
</script>

{% endblock %}