summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-14 01:28:02 +0200
committerMarian Sigler <m@qjym.de>2012-09-14 01:28:02 +0200
commit97f983b73c5a27cd8785575bf941e66d747cdd82 (patch)
tree80385aed31b864836c97f64db9c01d31f4f1e4d2 /templates/base.html
parentd7e62d1166991c0c4c9fa1385ead2bd2058b5b86 (diff)
downloadweb-97f983b73c5a27cd8785575bf941e66d747cdd82.tar.gz
web-97f983b73c5a27cd8785575bf941e66d747cdd82.tar.bz2
web-97f983b73c5a27cd8785575bf941e66d747cdd82.zip
first web stuff
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..6e4e403
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,18 @@
+{%- set styles = ['layout.css'] + styles|default([]) %}
+{%- set scripts = [] + scripts|default([]) %}
+<!doctype html>
+<html>
+ <head>
+ <title>{% if title %}{{ title }} – {% endif %}spline accounts</title>
+ {%- for script in scripts %}
+ <script type="text/javascript" src="{{ url_for('static', filename=script) }}"></script>
+ {%- endfor %}
+ {%- for style in styles %}
+ <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=style) }}">
+ {%- endfor %}
+ </head>
+ <body>
+ <h1>{% if title %}{{ title }}{% else %}spline accounts{% endif %}</h1>
+ {% block content %}{% endblock %}
+ </body>
+</html>