denbooru/templates/list.html

61 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2024-09-15 16:45:26 +00:00
<!DOCTYPE html>
<html>
<head>
<style>
ul, p, h1, h2, h3, h4 {
margin: 0px;
padding: 0px;
}
li {
list-style: none;
margin: 0px;
}
html {
background-color: #222;
}
body {
background-color: black;
color: white;
font-family: mono;
margin: auto;
width: 80vw;
padding: 40px;
}
</style>
2024-09-15 16:45:26 +00:00
</head>
<body>
<h1 style="margin-bottom: 40px;">Drawing list</h1>
<ul style="display: flex; flex-direction: column; gap: 20px;">
{% for file in files -%}
<li>
<p>{{ file.filename() }}<p>
<ul
style="
display: flex;
gap: 10px;
margin-top: 5px;
flex-wrap: wrap;
"
>
{% for tag in file.tags -%}
<li
style="
list-style: none;
background-color: #555;
padding: 2px 7px;
margin: 0px;
"
>
{{ tag }}
</li>
{% endfor %}
</ul>
</li>
2024-09-15 16:45:26 +00:00
{% endfor %}
</ul>
</body>
</html>