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> </li>
</ol> </ol>
</nav> </nav>
<div class="center">
{% block admin %} {% block admin %}
{% endblock %} {% endblock %}
</div> </div>
</div>
{% endblock %} {% endblock %}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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