Added paging to gallery view.
This commit is contained in:
@@ -9,21 +9,17 @@
|
||||
<link href="{% static 'css/styles.css' %}" rel="stylesheet">
|
||||
</head>
|
||||
<body class="background">
|
||||
<div class="centered-container">
|
||||
<a href="/gallery/">
|
||||
<img src="{% static 'imgs/gohome.png' %}">
|
||||
</a>
|
||||
<a href="..">
|
||||
<img src="{% static 'imgs/back.png' %}">
|
||||
</a>
|
||||
</div>
|
||||
{% include 'partials/navigation.html'%}
|
||||
{% if images|length > 0 %}
|
||||
<div class="centered-container">
|
||||
<h1>
|
||||
Files
|
||||
Files ({{num_files}})
|
||||
</h1>
|
||||
</div>
|
||||
<div class="centered-container">
|
||||
<div class="mb-2">
|
||||
{% for page in pages %}<a href="./?page={{page}}">{{page}}</a>{% if not forloop.last %}<span> </span>{% endif %}{% endfor %}
|
||||
</div>
|
||||
<table class="mauto">
|
||||
<tbody>
|
||||
{% for row in images %}
|
||||
|
Reference in New Issue
Block a user