initial 1312 funktioniert ein bisschen

This commit is contained in:
2025-12-13 12:21:44 +01:00
commit 59dd267659
29 changed files with 973 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<form hx-post="/entry/create" hx-target="#entry-rendertarget" method="post" enctype="multipart/form-data">
<textarea name="content"></textarea>
<input type="file" name="file">
<button type="submit">Beitrag erstellen!</button>
<div>
{% for r in responses %}
{{ r }} <br>
{% endfor %}
</div>
</form>
+15
View File
@@ -0,0 +1,15 @@
{% for p in posts %}
<div class="post">
<div class="meta">
{{ p[6] }} - {{ p[3] | timestamp }} <br>
</div>
<div class="content">
{{ p[4] }}
</div>
{% if p[5] != 'none' %}
<img src="/{{ p[5] }}">
{% endif %}
</div>
{% endfor %}