Mercurial > libervia-templates
annotate default/base/base.html @ 7:f1c773126f23
input/comments: comments input macros, first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 17 Apr 2017 20:45:09 +0200 |
parents | b13a26d55c64 |
children | 7a1626e78d53 |
rev | line source |
---|---|
0 | 1 <!DOCTYPE html> |
2 <html> | |
3 <head> | |
4 <meta charset="utf-8" /> | |
5 <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title> | |
1
b13a26d55c64
base: updated CSS handling to follow changes in backend, moved CSS file to /static with splitted files
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
6 {% if css_content is defined %} |
0 | 7 <style type="text/css"> |
8 {{css_content}} | |
9 </style> | |
10 {% else %} | |
1
b13a26d55c64
base: updated CSS handling to follow changes in backend, moved CSS file to /static with splitted files
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
11 {% for css_file in css_files %} |
b13a26d55c64
base: updated CSS handling to follow changes in backend, moved CSS file to /static with splitted files
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
12 <link rel='stylesheet' type="text/css" href='{{root_path}}{{css_file}}'> |
b13a26d55c64
base: updated CSS handling to follow changes in backend, moved CSS file to /static with splitted files
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
13 {% endfor %} |
0 | 14 {% endif %} |
15 </head> | |
16 <body> | |
17 <div id="body"> | |
18 {% block body %} | |
19 {% endblock body %} | |
20 </div> | |
21 <footer>{% block footer %}Powered by {{C.APP_NAME}}{% endblock %}</footer> | |
22 </body> | |
23 </html> |