Made all content of the base template into blocks.

This commit is contained in:
Mitar 2016-03-12 16:39:52 -08:00
parent 22695ec8a7
commit 85abb9f29b

View File

@ -2,10 +2,14 @@
{% load rest_framework %}
{% load i18n %}
{% block prehead %}
<!DOCTYPE html>
<html>
<head>
{% block head %}
{% endblock prehead %}
{% block head %}
{% block meta %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
@ -24,11 +28,17 @@
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/default.css" %}"/>
{% endblock %}
{% endblock %}
{% endblock %}
{% block posthead %}
</head>
{% endblock %}
{% block body %}
{% block bodystart %}
<body class="{% block bodyclass %}{% endblock %}">
{% endblock %}
<div class="wrapper">
{% block navbar %}
@ -275,6 +285,11 @@
{{ filter_form }}
{% endif %}
{% block bodyend %}
</body>
{% endblock %}
</html>
{% endblock %}
{% block postbody %}
</html>
{% endblock %}