diff --git a/projects/templates/projects/project_list.html b/projects/templates/projects/project_list.html index 84e7a07..96f0764 100644 --- a/projects/templates/projects/project_list.html +++ b/projects/templates/projects/project_list.html @@ -1,6 +1,6 @@ {% extends 'partials/base.html' %} -{% block content %} +{% block content %}

Биржа проектов

diff --git a/projects/templates/contractor_project-detail.html b/templates/contractor_project-detail.html similarity index 100% rename from projects/templates/contractor_project-detail.html rename to templates/contractor_project-detail.html diff --git a/projects/templates/customer_project-detail.html b/templates/customer_project-detail.html similarity index 100% rename from projects/templates/customer_project-detail.html rename to templates/customer_project-detail.html diff --git a/templates/home.html b/templates/home.html index a2a2189..db77790 100644 --- a/templates/home.html +++ b/templates/home.html @@ -2,42 +2,10 @@ {% load staticfiles %} - {% block content %}
-
-
-
-
- -
-
- -
- -
-
-
+ {% include 'partials/header.html' %} +

Основная задача сайта

@@ -46,6 +14,7 @@ {{ user.groups.all }}
+
@@ -69,6 +38,7 @@
+
diff --git a/templates/partials/base.html b/templates/partials/base.html index 28cc497..5f8b91d 100644 --- a/templates/partials/base.html +++ b/templates/partials/base.html @@ -1,7 +1,7 @@ {% load staticfiles %} - + diff --git a/templates/partials/footer.html b/templates/partials/footer.html new file mode 100644 index 0000000..d564e6d --- /dev/null +++ b/templates/partials/footer.html @@ -0,0 +1,67 @@ +{% extends 'partials/base.html' %} + +{% load staticfiles %} + + + diff --git a/templates/partials/header.html b/templates/partials/header.html new file mode 100644 index 0000000..717b0fc --- /dev/null +++ b/templates/partials/header.html @@ -0,0 +1,40 @@ +{% load staticfiles %} + +
+
+
+
+ +
+ +
+ +
+ + +
+
+