comparison default/base/base.html @ 1:b13a26d55c64

base: updated CSS handling to follow changes in backend, moved CSS file to /static with splitted files
author Goffi <goffi@goffi.org>
date Sun, 05 Mar 2017 23:25:02 +0100
parents 9a31d2c02f47
children 7a1626e78d53
comparison
equal deleted inserted replaced
0:9a31d2c02f47 1:b13a26d55c64
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8" /> 4 <meta charset="utf-8" />
5 <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title> 5 <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title>
6 {% if css_inline %} 6 {% if css_content is defined %}
7 <style type="text/css"> 7 <style type="text/css">
8 {{css_content}} 8 {{css_content}}
9 </style> 9 </style>
10 {% else %} 10 {% else %}
11 <link rel='stylesheet' type="text/css" href='static/style.css'> 11 {% for css_file in css_files %}
12 <link rel='stylesheet' type="text/css" href='{{root_path}}{{css_file}}'>
13 {% endfor %}
12 {% endif %} 14 {% endif %}
13 </head> 15 </head>
14 <body> 16 <body>
15 <div id="body"> 17 <div id="body">
16 {% block body %} 18 {% block body %}