commit
7fc326195a
File diff suppressed because one or more lines are too long
@ -1,104 +1,107 @@ |
|||||||
{% extends template ~ "/layout/page.tpl" %} |
{% extends template ~ "/layout/page.tpl" %} |
||||||
|
|
||||||
{% block body %} |
{% block body %} |
||||||
<div class="row"> |
|
||||||
{% if plugin_main_top %} |
{% if plugin_main_top %} |
||||||
<div class="page-main-top" class="col-md-12"> |
<div class="row"> |
||||||
{{ plugin_main_top }} |
<div class="page-main-top" class="col-md-12"> |
||||||
|
{{ plugin_main_top }} |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
<div class="col-md-3"> |
<div class="row"> |
||||||
<div class="sidebar"> |
<div class="col-md-9 col-md-push-3"> |
||||||
{% if plugin_menu_top %} |
<div class="page-content"> |
||||||
<div class="siderbar-menu-top"> |
{% if plugin_content_top %} |
||||||
{{ plugin_menu_top }} |
<div class="page-content-top"> |
||||||
</div> |
{{ plugin_content_top }} |
||||||
{% endif %} |
</div> |
||||||
|
{% endif %} |
||||||
{% include template ~ "/layout/login_form.tpl" %} |
|
||||||
|
|
||||||
{% if _u.logged == 1 %} |
{{ sniff_notification }} |
||||||
{{ user_image_block }} |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
{{ profile_block }} |
{% if home_page_block %} |
||||||
{{ course_block }} |
<article id="homepage-home"> |
||||||
{{ teacher_block }} |
{{ home_page_block }} |
||||||
{{ skills_block }} |
</article> |
||||||
{{ certificates_search_block }} |
{% endif %} |
||||||
{{ notice_block }} |
|
||||||
{{ help_block }} |
|
||||||
{{ navigation_course_links }} |
|
||||||
{{ search_block }} |
|
||||||
{{ classes_block }} |
|
||||||
|
|
||||||
{% if plugin_menu_bottom %} |
{% block page_body %} |
||||||
<div class="sidebar-menu-bottom"> |
{% include template ~ "/layout/page_body.tpl" %} |
||||||
{{ plugin_menu_bottom }} |
{% endblock %} |
||||||
</div> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="col-md-9"> |
|
||||||
<div class="page-content"> |
|
||||||
|
|
||||||
{% if plugin_content_top %} |
{% if welcome_to_course_block %} |
||||||
<div class="page-content-top"> |
<article id="homepage-course"> |
||||||
{{ plugin_content_top }} |
{{ welcome_to_course_block }} |
||||||
</div> |
</article> |
||||||
{% endif %} |
{% endif %} |
||||||
|
|
||||||
{{ sniff_notification }} |
{% block content %} |
||||||
|
{% if content is not null %} |
||||||
|
<section id="page" class="{{ course_history_page }}"> |
||||||
|
{{ content }} |
||||||
|
</section> |
||||||
|
{% endif %} |
||||||
|
{% endblock %} |
||||||
|
|
||||||
{% if home_page_block %} |
{% if announcements_block %} |
||||||
<article id="homepage-home"> |
<article id="homepage-announcements"> |
||||||
{{ home_page_block }} |
{{ announcements_block }} |
||||||
</article> |
</article> |
||||||
{% endif %} |
{% endif %} |
||||||
|
|
||||||
{% block page_body %} |
{% if course_category_block %} |
||||||
{% include template ~ "/layout/page_body.tpl" %} |
<article id="homepage-course-category"> |
||||||
{% endblock %} |
{{ course_category_block }} |
||||||
|
</article> |
||||||
|
{% endif %} |
||||||
|
|
||||||
{% if welcome_to_course_block %} |
{% include template ~ "/layout/hot_courses.tpl" %} |
||||||
<article id="homepage-course"> |
|
||||||
{{ welcome_to_course_block }} |
|
||||||
</article> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
{% block content %} |
{% if plugin_content_bottom %} |
||||||
{% if content is not null %} |
<div id="plugin_content_bottom"> |
||||||
<section id="page" class="{{ course_history_page }}"> |
{{ plugin_content_bottom }} |
||||||
{{ content }} |
</div> |
||||||
</section> |
{% endif %} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="col-md-3 col-md-pull-9"> |
||||||
|
<div class="sidebar"> |
||||||
|
{% if plugin_menu_top %} |
||||||
|
<div class="siderbar-menu-top"> |
||||||
|
{{ plugin_menu_top }} |
||||||
|
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
{% endblock %} |
|
||||||
|
|
||||||
{% if announcements_block %} |
{% include template ~ "/layout/login_form.tpl" %} |
||||||
<article id="homepage-announcements"> |
|
||||||
{{ announcements_block }} |
|
||||||
</article> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
{% if course_category_block %} |
{% if _u.logged == 1 %} |
||||||
<article id="homepage-course-category"> |
{{ user_image_block }} |
||||||
{{ course_category_block }} |
{% endif %} |
||||||
</article> |
|
||||||
{% endif %} |
|
||||||
|
|
||||||
{% include template ~ "/layout/hot_courses.tpl" %} |
{{ profile_block }} |
||||||
|
{{ course_block }} |
||||||
|
{{ teacher_block }} |
||||||
|
{{ skills_block }} |
||||||
|
{{ certificates_search_block }} |
||||||
|
{{ notice_block }} |
||||||
|
{{ help_block }} |
||||||
|
{{ navigation_course_links }} |
||||||
|
{{ search_block }} |
||||||
|
{{ classes_block }} |
||||||
|
|
||||||
{% if plugin_content_bottom %} |
{% if plugin_menu_bottom %} |
||||||
<div id="plugin_content_bottom"> |
<div class="sidebar-menu-bottom"> |
||||||
{{plugin_content_bottom}} |
{{ plugin_menu_bottom }} |
||||||
</div> |
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
{% if plugin_main_bottom %} |
{% if plugin_main_bottom %} |
||||||
<div class="page-main-bottom" class="col-md-12"> |
<div class="row"> |
||||||
{{ plugin_main_bottom }} |
<div class="page-main-bottom" class="col-md-12"> |
||||||
|
{{ plugin_main_bottom }} |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
{% endif %} |
{% endif %} |
||||||
</div> |
|
||||||
{% endblock %} |
{% endblock %} |
||||||
|
|||||||
Loading…
Reference in new issue