work without css

This commit is contained in:
2025-03-07 22:22:50 +01:00
parent 86363d4c2f
commit cc64d3012a
6 changed files with 153 additions and 68 deletions

46
src/templates/index.html Normal file
View File

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="img1.css">
</head>
<body>
<img id="small" src="{{ small }}">\
{% if large or raw %}
<div id="download">
{% if large %}
<a id="large" href="{{ large }}">
<img src="../icons/file.png">
<p>large</p>
</a>
{% endif %}
{% if raw %}
<a id="raw" href="{{ raw }}">
<img src="../icons/file.png">
<p>raw</p>
</a>
{% endif %}
</div>
{% endif %}
{% if desc %}
<div id="description">
</div>
{% endif %}
{% if exif %}
<div id="exif">
<!-- Checkbox cachée qui contrôle l'affichage du texte -->
<input type="checkbox" id="dropdown" class="dropdown-checkbox">
<!-- Bouton -->
<label for="dropdown" class="dropdown-btn">Display exif data</label>
<div class="dropdown-text">
<pre>
<code>
{{exif}}
</code>
</pre>
</div>
</div>
{% endif %}
</body>
</html>