view 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
line wrap: on
line source

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title>
    {% if css_content is defined %}
        <style type="text/css">
            {{css_content}}
        </style>
    {% else %}
        {% for css_file in css_files %}
            <link rel='stylesheet' type="text/css" href='{{root_path}}{{css_file}}'>
        {% endfor %}
    {% endif %}
</head>
<body>
    <div id="body">
    {% block body %}
    {% endblock body %}
    </div>
    <footer>{% block footer %}Powered by {{C.APP_NAME}}{% endblock %}</footer>
</body>
</html>