Adjusted templates
This commit is contained in:
parent
30e6c6fda6
commit
86d7212060
@ -100,7 +100,8 @@ body {
|
|||||||
border: none;
|
border: none;
|
||||||
padding: 8px 14px;
|
padding: 8px 14px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-weight: bold; }
|
font-weight: bold;
|
||||||
|
cursor: pointer; }
|
||||||
.LP-Button:active {
|
.LP-Button:active {
|
||||||
background-color: #76323F;
|
background-color: #76323F;
|
||||||
color: #f9f9f9; }
|
color: #f9f9f9; }
|
||||||
|
@ -4,14 +4,16 @@
|
|||||||
{% block title %}Lost Place Deletion{% endblock %}
|
{% block title %}Lost Place Deletion{% endblock %}
|
||||||
|
|
||||||
{% block maincontent %}
|
{% block maincontent %}
|
||||||
<form class="" method="POST" enctype="multipart/form-data">
|
|
||||||
<fieldset class="">
|
<form class="LP-Form" method="POST">
|
||||||
<legend class="">Delete place</legend>
|
<fieldset class="LP-Form__Fieldset">
|
||||||
|
<legend class="LP-Form__Legend">Place löschen</legend>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<p>Are you sure you want to delete {{place.name}}?</p>
|
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
||||||
{{ form.as_p }}
|
<p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"?</p>
|
||||||
<div class="">
|
<div class="LP-Form__Composition">
|
||||||
<input type="submit" class="LP-Button" value="Delete"/>
|
<input type="submit" class="LP-Button" value="Löschen"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
@ -5,11 +5,24 @@
|
|||||||
|
|
||||||
{% block maincontent %}
|
{% block maincontent %}
|
||||||
|
|
||||||
<h2>Login</h2>
|
<form class="LP-Form" method="POST" enctype="multipart/form-data">
|
||||||
<form method="post">
|
<fieldset class="LP-Form__Fieldset">
|
||||||
|
<legend class="LP-Form__Legend">Login</legend>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_p }}
|
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
||||||
<button type="submit">Login</button>
|
<div class="LP-Form__Field">
|
||||||
|
{% include 'partials/form/inputField.html' with field=form.username %}
|
||||||
|
</div>
|
||||||
|
<div class="LP-Form__Field">
|
||||||
|
{% include 'partials/form/inputField.html' with field=form.password %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="LP-Form__Composition">
|
||||||
|
<input type="submit" class="LP-Button" value="Login"/>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock maincontent %}
|
{% endblock maincontent %}
|
Loading…
Reference in New Issue
Block a user