aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-08-25 16:32:13 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-08-25 16:32:58 +0200
commit69105c122cbdb3858f940428b65ceb01100fc600 (patch)
tree5248bede1f655235527d2308dff7b3e64a24f0e0 /templates
parentd3d7a199130fbb6cf4a6a988d9a6d03264539483 (diff)
downloadramaskrik-social-69105c122cbdb3858f940428b65ceb01100fc600.tar.gz
ramaskrik-social-69105c122cbdb3858f940428b65ceb01100fc600.tar.bz2
ramaskrik-social-69105c122cbdb3858f940428b65ceb01100fc600.zip
Add stylesheet and js to to the index template.
This also obsoletes and removes the old index.html file.
Diffstat (limited to 'templates')
-rw-r--r--templates/event/index.tera41
1 files changed, 32 insertions, 9 deletions
diff --git a/templates/event/index.tera b/templates/event/index.tera
index 411a5f5..504e2b4 100644
--- a/templates/event/index.tera
+++ b/templates/event/index.tera
@@ -1,14 +1,37 @@
<!DOCTYPE html>
<html>
- <head>
- <title>{{ event.name }}</title>
- </head>
- <body>
- <h1>{{ event.name }}</h1>
+ <head>
+ <meta charset="utf-8">
+ <title>{{ event.name }}</title>
+ <link rel="stylesheet" href="app.css">
+ <script type="text/javascript" src="js/app.js"></script>
+ </head>
+ <body>
+ <h1>{{ event.name }}</h1>
- {% if event.description -%}
- <p>{{ event.description }}</p>
- {% endif -%}
+ {% if event.description -%}
+ <p>{{ event.description }}</p>
+ {% endif -%}
- </body>
+ <div id="program"></div>
+
+ <footer>
+ <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
+ <img alt="Creative Commons-lisens" style="border-width:0" src="license.png">
+ </a>
+ <span id="copyright-text">
+ <span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">
+ {{ event.name }}
+ </span>
+ av
+ <a xmlns:cc="http://creativecommons.org/ns#" href="https://code.volse.no/ramaskrik-social.git/"
+ property="cc:attributionName" rel="cc:attributionURL">Harald Eilertsen</a>
+ er lisensiert under en
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
+ Creative Commons Navngivelse-DelPåSammeVilkår 4.0 Internasjonal Lisens
+ </a>.
+ </span>
+ </footer>
+ </body>
+</html>
</html>