diff --git a/aircox_cms/static/aircox_cms/styles.css b/aircox_cms/static/aircox_cms/styles.css index c3d9790..8c2406d 100644 --- a/aircox_cms/static/aircox_cms/styles.css +++ b/aircox_cms/static/aircox_cms/styles.css @@ -9,7 +9,7 @@ body { } .page .menu { - width: 15em; + width: 20em; } .page .menu_left { margin-right: 0.5em; } diff --git a/aircox_cms/templates/aircox_cms/base_site.html b/aircox_cms/templates/aircox_cms/base_site.html index 5f14dc4..6320787 100644 --- a/aircox_cms/templates/aircox_cms/base_site.html +++ b/aircox_cms/templates/aircox_cms/base_site.html @@ -21,40 +21,42 @@ {% endif %} {% endblock %} - {% if menus.top %} - {{ menus.top|safe }} - {% endif %} - -
- {% if menus.left %} - {{ menus.left|safe }} +
+ {% if menus.top %} + {{ menus.top|safe }} {% endif %} -
- {% block pre_title %} - {% endblock %} -

- {% block title %} - {{ title }} - {% endblock %} -

- {% block post_title %} - {% endblock %} -
- {% block content %} - {% endblock %} -
-
+
+ {% if menus.left %} + {{ menus.left|safe }} + {% endif %} - {% if menus.right %} - {{ menus.right|safe }} +
+ {% block pre_title %} + {% endblock %} +

+ {% block title %} + {{ title }} + {% endblock %} +

+ {% block post_title %} + {% endblock %} +
+ {% block content %} + {% endblock %} +
+
+ + {% if menus.right %} + {{ menus.right|safe }} + {% endif %} +
+ + {% if menus.page_bottom %} + {{ menus.page_bottom|safe }} {% endif %}
- {% if menus.page_bottom %} - {{ menus.page_bottom|safe }} - {% endif %} - {% block footer %} {% if menus.footer %} {{ menus.footer|safe }} diff --git a/aircox_cms/templates/aircox_cms/list.html b/aircox_cms/templates/aircox_cms/list.html index 6dfec85..072c5c2 100644 --- a/aircox_cms/templates/aircox_cms/list.html +++ b/aircox_cms/templates/aircox_cms/list.html @@ -8,7 +8,7 @@ {% for post in object_list %} - {% if 'date' in view.fields or 'time' in list.fields %} + {% if 'date' in view.fields or 'time' in view.fields %}