layout_2_col.tpl 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {% extends template ~ "/layout/page.tpl" %}
  2. {% block body %}
  3. <div class="row">
  4. {% if plugin_main_top %}
  5. <div id="plugin_main_top" class="col-md-12">
  6. {{ plugin_main_top }}
  7. </div>
  8. {% endif %}
  9. <div class="col-md-3 menu-column">
  10. {% if plugin_menu_top %}
  11. <div id="plugin_menu_top">
  12. {{plugin_menu_top}}
  13. </div>
  14. {% endif %}
  15. {% include template ~ "/layout/login_form.tpl" %}
  16. {% if _u.logged == 1 %}
  17. {{ user_image_block }}
  18. {% endif %}
  19. {{ profile_block }}
  20. {{ course_block }}
  21. {{ teacher_block }}
  22. {{ skills_block }}
  23. {{ certificates_search_block }}
  24. {{ notice_block }}
  25. {{ help_block }}
  26. {{ navigation_course_links }}
  27. {{ search_block }}
  28. {{ classes_block }}
  29. {% if plugin_menu_bottom %}
  30. <div id="plugin_menu_bottom">
  31. {{ plugin_menu_bottom }}
  32. </div>
  33. {% endif %}
  34. </div>
  35. <div class="col-md-9">
  36. {% if plugin_content_top %}
  37. <div id="plugin_content_top">
  38. {{ plugin_content_top }}
  39. </div>
  40. {% endif %}
  41. {% if home_page_block %}
  42. <section id="homepage-home">
  43. {{ home_page_block }}
  44. </section>
  45. {% endif %}
  46. {{ sniff_notification }}
  47. {% block page_body %}
  48. {% include template ~ "/layout/page_body.tpl" %}
  49. {% endblock %}
  50. {% if welcome_to_course_block %}
  51. <section id="homepage-course">
  52. {{ welcome_to_course_block }}
  53. </section>
  54. {% endif %}
  55. {% block content %}
  56. {% if content is not null %}
  57. <section id="page-content" class="{{ course_history_page }}">
  58. {{ content }}
  59. </section>
  60. {% endif %}
  61. {% endblock %}
  62. {% if announcements_block %}
  63. <section id="homepage-announcements">
  64. {{ announcements_block }}
  65. </section>
  66. {% endif %}
  67. {% if course_category_block %}
  68. <section id="homepage-course-category">
  69. {{ course_category_block }}
  70. </section>
  71. {% endif %}
  72. {% include template ~ "/layout/hot_courses.tpl" %}
  73. {% if plugin_content_bottom %}
  74. <div id="plugin_content_bottom">
  75. {{plugin_content_bottom}}
  76. </div>
  77. {% endif %}
  78. </div>
  79. {% if plugin_main_bottom %}
  80. <div id="plugin_main_bottom" class="col-md-12">
  81. {{ plugin_main_bottom }}
  82. </div>
  83. {% endif %}
  84. </div>
  85. {% endblock %}