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