summaryrefslogtreecommitdiff
path: root/src/templates/index.html
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-07-19 23:32:40 +0200
committeruser <user@node5.net>2024-07-19 23:32:40 +0200
commit78e3f6ea427a10edaeac1c056f8a3ab5640e2a0c (patch)
tree0bd7a010f00fb07c15577e7fea9fb2128239b82f /src/templates/index.html
Initial commit - displays events
Diffstat (limited to 'src/templates/index.html')
-rw-r--r--src/templates/index.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/templates/index.html b/src/templates/index.html
new file mode 100644
index 0000000..6e94876
--- /dev/null
+++ b/src/templates/index.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+ <pre class="content" id="top">{{parts.top}}</pre>
+
+ <img src="title_headline.png">
+
+ <pre class="content" id="program">{% for event in parts.program %}{% include 'event.html' %}{% endfor %}</pre>
+{#
+ <img src="news_headline.png">
+
+ <pre class="content" id="news">{{parts.news}}</pre>
+ -->
+ <br>
+<!--
+ <form>
+ <label id="news_input_label" for="news_input">Post your own news, or anything you'd like here:</label><br>
+ <input type="text" id="news_input" name="news_input" maxlength="{{ news_max_length }}" placeholder="Type text here">
+ <input type="submit" value="Post" />
+ </form>
+#}
+
+{% endblock %}