Make the links and users list scrollable

closes #6
This commit is contained in:
Dietrich 2021-02-09 14:19:48 +01:00
parent 10933dd48b
commit a0a1065295
Signed by: dietrich
GPG Key ID: 9F3C20C0F85DF67C
9 changed files with 195 additions and 181 deletions

View File

@ -21,9 +21,7 @@
</li>
</ol>
</nav>
<div class="center">
{% block admin %}
{% endblock %}
</div>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<h1>Link Editieren: {{ link.title }}</h1>
<form action="" method="POST">
<div>
@ -23,4 +24,5 @@
<a class="button" href="/admin/delete/link/{{link.code}}">Delete</a>
</div>
</form>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<h1>Profil von {{user.username}}</h1>
<form action="" method="POST">
<div>
@ -18,4 +19,5 @@
<input type="submit" value="Speichern">
</form>
<h2>&nbsp;</h2>
</div>
{% endblock %}

View File

@ -6,6 +6,7 @@
{% endblock %}
{% block admin %}
<div class="scrollable">
<table class="sortable">
<tr>
@ -39,4 +40,5 @@
</tr>
{% endfor %}
</table>
</div>
{% endblock %}

View File

@ -6,6 +6,7 @@
{% endblock %}
{% block admin %}
<div class="scrollable">
<table class="sortable">
<tr>
@ -37,4 +38,5 @@
</tr>
{% endfor %}
</table>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<form action="" method="POST">
<div>
<label for="username">Benutzername:</label>
@ -17,4 +18,5 @@
<input type="submit" value="Einladen">
</form>
<h2>&nbsp;</h2>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<form action="" method="POST">
<div>
<label for="title">Beschreibung:</label>
@ -16,4 +17,5 @@
</div>
<input type="submit" value="Submit">
</form>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<h1>{{ link.title }}</h1>
<table>
<tr>
@ -32,4 +33,5 @@
<div class="actions">
<a class="button" href="/admin/edit/link/{{ link.code }}">Editieren</a>
</div>
</div>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends "admin.html" %}
{% block admin %}
<div class="center">
<h1>Profil von {{user.username}}</h1>
<form action="" method="POST">
<div>
@ -20,4 +21,5 @@
<a class="button" href="/admin/edit/profile/{{ user.id }}">Editieren</a>
</div>
<h2>&nbsp;</h2>
</div>
{% endblock %}