added some styles and formating

This commit is contained in:
Benni Bärmann 2021-01-04 12:02:25 +01:00
parent fa62ac8621
commit 9a339ba0e2
2 changed files with 39 additions and 7 deletions

BIN
evapp/static/evapp/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -1,7 +1,39 @@
<form action="" method="post">
{% csrf_token %}
<table>
{{form}}
</table>
<button type="submit" value="submit">Abschicken</button>
</form>
{% load static %}
<script type="text/javascript" src="/admin/jsi18n/"></script>
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
{{ form.media }}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}" />
<center>
<style>
ul > li {
list-style-type: none;
}
ul {
padding-left: 10;
}
label.required::after {
content: ' *';
color: red;
}
</style>
<img src="{% static 'evapp/logo.png' %}" />
<h1>
E V A - Eintritt, Veränderung, Austritt
</h1>
<form action="" method="post">
{% csrf_token %}
<table>
{{form}}
</table>
<button type="submit" value="submit">Abschicken</button>
</form>
</center>