Make it better maybe idk

This commit is contained in:
2023-08-17 15:53:55 +02:00
parent 6fe753f98d
commit 22ecb7c4ca
12 changed files with 1077 additions and 55 deletions
+9 -21
View File
@@ -21,32 +21,19 @@
</head>
<body>
<h1>ISO7010 Warning Stickers On Demand</h1>
<p>Please do not abuse kthxbai!</p>
<form action="/upload" method="POST">
<label for=""> Upload a PNG: (black and white, no transparency!) </label>
<input type="file" accept="image/png">
</form>
<h2>Official ISO7010</h2>
{% for section, ws in ws.items() %}
<h2>{{ section }}</h2>
<div id="things">
{% for w in ws %}
<div class="thing">
<img src="{{ w.url }}" width="100%">
<div>
{{ w.name }}
<form method="POST">
<button type="submit" name="w" value="{{ w.name }}">Print</button>
</form>
</div>
</div>
{% endfor %}
</div>
<h2>"Unofficial" ISO7010</h2>
<div id="things">
{% for w in cws %}
<div class="thing">
<img src="{{ w.url }}" width="100%">
<div>
{{ w.name }}
<div>
{{ w.name }}
</div>
<div>
{{ counts.get(w.name, 0) }}
</div>
<form method="POST">
<button type="submit" name="w" value="{{ w.name }}">Print</button>
</form>
@@ -54,5 +41,6 @@
</div>
{% endfor %}
</div>
{% endfor %}
</body>
</html>