Files
NibasaViewer/viewer/templates/image_view.html

65 lines
2.0 KiB
HTML
Raw Normal View History

2023-07-30 18:55:12 -04:00
{% load static %}
<!DOCTYPE html>
<html>
2023-07-30 18:55:12 -04:00
<head>
<meta name="viewport" content="width=device-width, height=device-height" />
<title>
2023-08-19 23:11:36 -04:00
File: {{image_path.name}}
2023-07-30 18:55:12 -04:00
</title>
<link href="{% static 'css/styles.css' %}" rel="stylesheet">
</head>
2023-08-21 21:20:27 -04:00
2023-07-30 18:55:12 -04:00
<body class="background">
2023-08-21 21:20:27 -04:00
<!-- Navigation. -->
2023-08-20 12:44:41 -04:00
<table class="fc mauto">
<tr>
2023-08-21 21:20:27 -04:00
<!-- Home button. -->
2023-08-20 12:44:41 -04:00
<td>
<a href="/gallery/">
<img src="{% static 'imgs/gohome.png' %}" class="small-nav-icon">
</a>
</td>
2023-08-21 21:20:27 -04:00
<!-- Back button. -->
2023-08-20 12:44:41 -04:00
<td>
<a href="..">
<img src="{% static 'imgs/back.png' %}" class="small-nav-icon">
</a>
</td>
</tr>
</table>
2023-08-21 21:20:27 -04:00
<!-- Image view. -->
<table class="fc mauto h90">
<tr>
2023-08-21 21:20:27 -04:00
<!-- Previous image. -->
<td>
{% if prev %}
<a href="../{{prev}}">
<img src="{% static 'imgs/back.png' %}" class="navigation-icon">
</a>
{% endif %}
</td>
2023-08-21 21:20:27 -04:00
<!-- Current image. -->
<td class="full-width">
<a href="{{image_path}}" target="_blank">
<div class="image-container">
<img src="{{image_path}}" class="image">
</div>
</a>
</td>
2023-08-21 21:20:27 -04:00
<!-- Next image. -->
<td>
{% if next %}
<a href="../{{next}}">
<img src="{% static 'imgs/forward.png' %}" class="navigation-icon">
</a>
{% endif %}
</td>
</tr>
</table>
2023-07-30 18:55:12 -04:00
</body>
</html>