diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 3291c7c793..15cc175818 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -6429,3 +6429,23 @@ input.form-control[type="color"] { padding: 2px; } +/* Extra small devices (phones, less than 768px) */ +/* No media query since this is the default in Bootstrap */ + +/* Small devices (tablets, 768px and up) */ +@media (min-width: 768px) { + +} + +/* Medium devices (desktops, 992px and up) */ +@media (min-width: 992px) { + div.navbar-collapse { + padding-left: 0; + } +} + +/* Large devices (large desktops, 1200px and up) */ +@media (min-width: 1200px) { + +} + diff --git a/main/inc/lib/banner.lib.php b/main/inc/lib/banner.lib.php index 1e19a8ccf7..863ebb96f5 100755 --- a/main/inc/lib/banner.lib.php +++ b/main/inc/lib/banner.lib.php @@ -702,9 +702,8 @@ function return_breadcrumb($interbreadcrumb, $language_file, $nameTools) } // View as student/teacher link - $view = null; if (!empty($view_as_student_link)) { - $view .= Display::tag('div', $view_as_student_link, array('id' => 'view_as_link','class' => 'pull-right')); + $html .= Display::tag('div', $view_as_student_link, array('id' => 'view_as_link','class' => 'pull-right')); } if (!empty($navigation_right)) { @@ -715,7 +714,6 @@ function return_breadcrumb($interbreadcrumb, $language_file, $nameTools) } if (!empty($lis)) { - $html .= $view; $html .= Display::tag('ul', $lis, array('class'=>'breadcrumb')); } diff --git a/main/template/default/layout/layout_1_col.tpl b/main/template/default/layout/layout_1_col.tpl index 3ea3ec7f6c..887b6132e7 100755 --- a/main/template/default/layout/layout_1_col.tpl +++ b/main/template/default/layout/layout_1_col.tpl @@ -1,6 +1,7 @@ {% extends template ~ "/layout/page.tpl" %} {% block body %} +
{% if plugin_main_top %}
{{ plugin_main_top }} @@ -35,4 +36,5 @@ {{ plugin_main_bottom }}
{% endif %} +
{% endblock %} diff --git a/main/template/default/layout/layout_2_col.tpl b/main/template/default/layout/layout_2_col.tpl index 3e8a1ad797..f9857d14d3 100755 --- a/main/template/default/layout/layout_2_col.tpl +++ b/main/template/default/layout/layout_2_col.tpl @@ -1,6 +1,7 @@ {% extends template ~ "/layout/page.tpl" %} {% block body %} +
{% if plugin_main_top %}
{{ plugin_main_top }} @@ -93,4 +94,5 @@ {{ plugin_main_bottom }}
{% endif %} +
{% endblock %} diff --git a/main/template/default/layout/menu.tpl b/main/template/default/layout/menu.tpl index a262536395..6423cfd445 100755 --- a/main/template/default/layout/menu.tpl +++ b/main/template/default/layout/menu.tpl @@ -2,7 +2,8 @@
diff --git a/main/template/default/layout/page.tpl b/main/template/default/layout/page.tpl index 5087feced2..1865d0eefa 100755 --- a/main/template/default/layout/page.tpl +++ b/main/template/default/layout/page.tpl @@ -44,7 +44,9 @@
{% block breadcrumb %} - {{ breadcrumb }} + {% endblock %} {% block body %} diff --git a/main/template/default/layout/page_header.tpl b/main/template/default/layout/page_header.tpl index 11c849c890..3c81f265b5 100755 --- a/main/template/default/layout/page_header.tpl +++ b/main/template/default/layout/page_header.tpl @@ -7,58 +7,52 @@ {% endblock %}
{{ header_extra_content }}
-
-
-
-
+
{% block menu %} {% include template ~ "/layout/menu.tpl" %} {% endblock %} - {% include template ~ "/layout/course_navigation.tpl" %} diff --git a/main/template/default/layout/show_header.tpl b/main/template/default/layout/show_header.tpl index 01bff4126c..ade002ecdd 100755 --- a/main/template/default/layout/show_header.tpl +++ b/main/template/default/layout/show_header.tpl @@ -37,7 +37,9 @@
{% block breadcrumb %} - {{ breadcrumb }} + {% endblock %} {{ flash_messages }} {% endif %} \ No newline at end of file