diff options
author | Daniel GarcĂa Moreno <danigm@soleta.eu> | 2021-06-01 11:46:15 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-01 18:25:56 +0200 |
commit | db29b306aaeebcc385d9a0874f4386010a5c6a98 (patch) | |
tree | 76fac140d067ad191c4fd10f0b5f4aa97d80695c /ogcp/templates | |
parent | d4150080e3820e1f92137f5fc5c0985d366f29d7 (diff) |
Restyle login.html template
Update the login template based on the AdminLTE extra page:
https://adminlte.io/themes/v3/pages/examples/login.html
This patch also adds a font-awesome icon to the login page, we've
font-awesome from the AdminLTE plugins so we can use this icons in the
interface.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/auth/login.html | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/ogcp/templates/auth/login.html b/ogcp/templates/auth/login.html index 220f69e..182bd52 100644 --- a/ogcp/templates/auth/login.html +++ b/ogcp/templates/auth/login.html @@ -3,10 +3,25 @@ {% block content %} -{{ wtf.quick_form(form, - method='post', - form_type='basic', - button_map={'submit':'primary'}, - extra_classes='p-5') }} +<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':'primary'}) }} + </div> + <!-- /.login-card-body --> + </div> + </div> +<!-- /.login-box --> +</div> + {% endblock %} |