Tweak the login page

This commit is contained in:
Thomas Sileo
2018-07-15 21:25:09 +02:00
parent e3284416d2
commit 5323995633
3 changed files with 17 additions and 4 deletions

View File

@@ -1,11 +1,20 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}Login - {{ config.NAME }}{% endblock %}
{% block header %}
{% block headers %}
<style>
#login-container {
height: 90%;
display: grid;
}
#login-form {
margin:auto;
display:inline;
}
</style>
{% endblock %}
{% block content %}
<div id="container">
{% if session.logged_in %}logged{% else%}not logged{%endif%}
<div id="login-container">
<form id="login-form" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>