templates refont, implemented 'get_panel' method

This commit is contained in:
Arthur Gerbaud
2016-08-11 02:08:37 +02:00
parent fa95890bee
commit 8bac5d8bd4
22 changed files with 614 additions and 268 deletions

View File

@@ -11,9 +11,11 @@
</div>
{% endblock %}
{% block content %}{% include content_template %}{% endblock %}
{% block panels %}
{% if panels %}<div class="col-md-2">{{ panels }}</div><div class="col-md-10">
{% if panels %}<div class="panel-group">{% for panel in panels %}{% include panel %}{% endfor %}</div>
{% else %}{{ block.super }}{% endif %}
{% endblock %}
{% block content %}{% include content_template %}{% endblock %}