diff --git a/app/settings.py b/app/settings.py index f7b3a94..630691a 100644 --- a/app/settings.py +++ b/app/settings.py @@ -312,9 +312,12 @@ CMS_LANGUAGES = { CMS_TEMPLATES = ( ## Customize this ('page.html', 'Page'), - ('sub_section.html', 'Page with sub menu') + ('sub_section.html', 'Service main page'), + ('theory.html', 'Theory page'), + ('about.html', 'About company section'), ) + CMS_PERMISSION = True CMS_PLACEHOLDER_CONF = {} diff --git a/zsite/static/less/sub_content.less b/zsite/static/less/sub_content.less index 988c833..2fd6bfe 100644 --- a/zsite/static/less/sub_content.less +++ b/zsite/static/less/sub_content.less @@ -1,19 +1,27 @@ .sub-content { .make-row(); + .menu-xs { + .make-xs-column(12); + .make-sm-column(2); + } - .menu { - .make-lg-column(3); + .menu { + .make-lg-column(3); .make-md-column(3); + } + .menu, .menu-xs { + // .make-sm-column(1); // В разделе сотрудников заезжает контент position: relative; z-index: 100; - :first-child { + .header { margin-top: 0; } li { + font-size: 12px; @media (min-width: 320px) { diff --git a/zsite/templates/about.html b/zsite/templates/about.html new file mode 100644 index 0000000..330e213 --- /dev/null +++ b/zsite/templates/about.html @@ -0,0 +1,34 @@ +{% extends "base.html" %} +{% load cms_tags i18n menu_tags %} + +{% block title %}{% page_attribute "page_title" %}{% endblock title %} + +{% block content %} +{% block breadcrumb %} +
+{% endblock breadcrumb %} + +