Added search function.

This commit is contained in:
2023-08-21 21:20:27 -04:00
parent 1a16e9f763
commit d445d633b4
7 changed files with 211 additions and 77 deletions

View File

@@ -8,14 +8,19 @@
</title>
<link href="{% static 'css/styles.css' %}" rel="stylesheet">
</head>
<body class="background">
<!-- Navigation. -->
<table class="fc mauto">
<tr>
<!-- Home button. -->
<td>
<a href="/gallery/">
<img src="{% static 'imgs/gohome.png' %}" class="small-nav-icon">
</a>
</td>
<!-- Back button. -->
<td>
<a href="..">
<img src="{% static 'imgs/back.png' %}" class="small-nav-icon">
@@ -23,8 +28,11 @@
</td>
</tr>
</table>
<!-- Image view. -->
<table class="fc mauto">
<tr>
<!-- Previous image. -->
<td>
{% if prev %}
<a href="../{{prev}}">
@@ -32,6 +40,8 @@
</a>
{% endif %}
</td>
<!-- Current image. -->
<td>
<div class="image-container">
<a href="{{image_path}}" target="_blank">
@@ -39,6 +49,8 @@
</a>
</div>
</td>
<!-- Next image. -->
<td>
{% if next %}
<a href="../{{next}}">