PAGE_MENU_TEMPLATES = (
(1, _("Action"), "pages/menus/action.html"),
(2, _("Departement"), "pages/menus/header.html"),
- (3, _("Footer vertical"), "pages/menus/footer.html"),
- (4, _("Footer horizontal"), "pages/menus/footer.html"),
+ (3, _("Footer vertical"), "pages/menus/footer_vertical.html"),
+ (4, _("Footer horizontal"), "pages/menus/footer_horizontal.html"),
)
# A sequence of fields that will be injected into Mezzanine's (or any
margin: 0;
padding: 0;
+ &--horizontal {
+
+ #{$module}__item {
+
+ display: inline-block;
+ @include margin-right(2);
+
+ }
+
+ #{$module}__item-link {
+
+ @include font-size(s);
+
+ }
+
+ }
+
&__item-link {
@include font-size(m);
@include typeface(sans-serif);
font-weight: weight(regular);
color: white;
}
-
+
}
<div class="col-xs-4 col-sm-3 col-sm-push-1 tal">
- {% page_menu "pages/menus/footer.html" %}
+ {% page_menu "pages/menus/footer_vertical.html" %}
</div>
</div>
+ <div class="row">
+
+ <div class="col-sm-10 col-sm-push-1">
+
+ {% page_menu "pages/menus/footer_horizontal.html" %}
+
+ </div>
+
+ </div>
+
</div>
</div>
+++ /dev/null
-{% load i18n pages_tags staticfiles %}
-{% get_language_info_list for LANGUAGES as languages %}
-
-{% spaceless %}
-{% if page_branch_in_menu %}
- {% for page in page_branch %}
- {% if page.is_primary %}
- {% if forloop.first %}
- <ul class="nav-footer" role="navigation">
- {% endif %}
- {% endif %}
- {% if page.in_menu %}
- <li class="nav-footer__item {% if page.is_current_or_ascendant %}active{% endif %}">
- <a class="nav-footer__item-link" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
-
- {% endif %}
- {% if page.has_children_in_menu and not forloop.first %}
- {% page_menu page "pages/menus/header_tree.html" %}
- {% endif %}
- </li>
- {% if page.is_primary %}
- {% if forloop.last %}
- </ul>
- {% endif %}
- {% endif %}
- {% endfor %}
-{% endif %}
-{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-footer nav-footer--horizontal" role="navigation">
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ <li class="nav-footer__item {% if page.is_current_or_ascendant %}active{% endif %}">
+ <a class="nav-footer__item-link" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+
+ {% endif %}
+ </li>
+ {% if page.is_primary %}
+ {% if forloop.last %}
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-footer" role="navigation">
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ <li class="nav-footer__item {% if page.is_current_or_ascendant %}active{% endif %}">
+ <a class="nav-footer__item-link" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+
+ {% endif %}
+ </li>
+ {% if page.is_primary %}
+ {% if forloop.last %}
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}