diff --git a/templates/asuzr/attend_order.html b/templates/asuzr/attend_order.html index 304d0ea..e9118d0 100644 --- a/templates/asuzr/attend_order.html +++ b/templates/asuzr/attend_order.html @@ -1,3 +1,7 @@ +{% extends "asuzr/base.html" %} + +{% block title %}Таблица посещаемости{% endblock %} +{% block page %} @@ -5,4 +9,5 @@
{% include 'asuzr/attendance.html' %}{% include 'asuzr/orders_detail.html' %}
-{% include 'asuzr/plan_balance.html' %} \ No newline at end of file +{% include 'asuzr/plan_balance.html' %} +{% endblock %} diff --git a/templates/asuzr/attendance.html b/templates/asuzr/attendance.html index 0f318aa..0a58694 100644 --- a/templates/asuzr/attendance.html +++ b/templates/asuzr/attendance.html @@ -1,11 +1,3 @@ - - - Таблица посещаемости - - - - -

Таблица посещаемости

{% if attend_list %}
- - \ No newline at end of file diff --git a/templates/asuzr/base.html b/templates/asuzr/base.html new file mode 100644 index 0000000..5e038d7 --- /dev/null +++ b/templates/asuzr/base.html @@ -0,0 +1,23 @@ + + + Автоматическая система учета заказов студии мебели Рекорд + + +{% block menu %} + +{% endblock %} +

{% block title %}Заголовок страницы{% endblock %}

+ +{% block page %} +Тело страницы +{% endblock %} + +{% block footer %} +
+{% endblock %} + + diff --git a/templates/asuzr/orders.html b/templates/asuzr/orders.html index 4e8c599..67acb00 100644 --- a/templates/asuzr/orders.html +++ b/templates/asuzr/orders.html @@ -1,12 +1,9 @@ - - - - - - - -

{% if archive %} Архивная таблица заказов {% else %} Таблица выхода заказов {% endif %}

- +{% extends "asuzr/base.html" %} + +{% block title %}{% if archive %} Архивная таблица заказов {% else %} Таблица выхода заказов {% endif %}{% endblock %} + +{% block page %} +
{% if order_list %} @@ -49,5 +46,5 @@

Список заказов пуст

{% endif %}
- - \ No newline at end of file + +{% endblock %} diff --git a/templates/asuzr/orders_detail.html b/templates/asuzr/orders_detail.html index 8ebb8bf..e09cdd0 100644 --- a/templates/asuzr/orders_detail.html +++ b/templates/asuzr/orders_detail.html @@ -1,10 +1,3 @@ - - - Заказы - - - -

Заказы на {{ d_date }}

{% if order_list %} @@ -37,5 +30,3 @@

Список заказов пуст

{% endif %}
- - \ No newline at end of file diff --git a/templates/asuzr/plan_balance.html b/templates/asuzr/plan_balance.html index a5154eb..3431319 100644 --- a/templates/asuzr/plan_balance.html +++ b/templates/asuzr/plan_balance.html @@ -1,10 +1,3 @@ - - - - - - -

Справочно:

- - \ No newline at end of file diff --git a/templates/asuzr/prod_list.html b/templates/asuzr/prod_list.html index e722461..8866a00 100644 --- a/templates/asuzr/prod_list.html +++ b/templates/asuzr/prod_list.html @@ -1,10 +1,8 @@ - - - Типы изделий - - - - +{% extends "asuzr/base.html" %} + +{% block title %}Типы изделий{% endblock %} + +{% block page %} {% if product_list %}
{{ balance }}