main_header.tpl 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html lang="{{ document_language }}" class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!--><html lang="{{ document_language }}" class="no-js"> <!--<![endif]-->
  6. <head>
  7. {% block head %}
  8. {% include template ~ "/layout/head.tpl" %}
  9. {% endblock %}
  10. </head>
  11. <body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
  12. <noscript>{{ "NoJavascript"|get_lang }}</noscript>
  13. <!-- Display the Chamilo Uses Cookies Warning Validation if needed -->
  14. {% if displayCookieUsageWarning == true %}
  15. <!-- If toolbar is displayed, we have to display this block bellow it -->
  16. {% if toolBarDisplayed == true %}
  17. <div class="displayUnderToolbar" >&nbsp;</div>
  18. {% endif %}
  19. <form onSubmit="$(this).toggle('slow')" action="" method="post">
  20. <input value=1 type="hidden" name="acceptCookies"/>
  21. <div class="cookieUsageValidation">
  22. {{ "YouAcceptCookies" | get_lang }}
  23. <span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
  24. ({{"More" | get_lang }})
  25. </span>
  26. <div style="display:none; margin:20px 0;">
  27. {{ "HelpCookieUsageValidation" | get_lang}}
  28. </div>
  29. <span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
  30. ({{"Accept" | get_lang }})
  31. </span>
  32. </div>
  33. </form>
  34. {% endif %}
  35. {% if show_header == true %}
  36. <div id="page-wrap"><!-- page section -->
  37. {# Bug and help notifications #}
  38. {% block help_notifications %}
  39. <ul id="navigation" class="notification-panel">
  40. {{ help_content }}
  41. {{ bug_notification_link }}
  42. </ul>
  43. {% endblock %}
  44. {# topbar #}
  45. {% block topbar %}
  46. {% include template ~ "/layout/topbar.tpl" %}
  47. {% if show_toolbar == 1 %}
  48. <div class="clear-header"></div>
  49. {% endif %}
  50. {% endblock %}
  51. <div class="top-header">
  52. <div class="container">
  53. <div class="row">
  54. <div class="col-xs-12 col-md-6 col-lg-6">
  55. <p class="date-time">{{ _s.date }}</p>
  56. </div>
  57. <div class="col-xs-12 col-md-6 col-lg-6">
  58. <div class="pull-right">
  59. <a class="btn btn-return" href="http://ucg3.beeznest.com">Regresar a portal web</a>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <header>
  66. <section id="main" class="container">
  67. {% if plugin_header_main %}
  68. <div class="row">
  69. <div class="col-lg-12">
  70. {{ plugin_header_main }}
  71. </div>
  72. </div>
  73. {% endif %}
  74. <div class="row">
  75. <div class="col-lg-3">
  76. <div class="logo">
  77. {{ logo }}
  78. </div>
  79. </div>
  80. <div class="col-lg-9">
  81. <div class="row">
  82. <div id="items-left" class="col-xs-12 col-md-4 col-lg-4">
  83. &nbsp;
  84. {% if plugin_header_left is not null %}
  85. <div id="plugin_header_left">
  86. {{ plugin_header_left }}
  87. </div>
  88. {% endif %}
  89. </div>
  90. <div id="items-center" class="col-xs-12 col-md-4 col-lg-4">
  91. &nbsp;
  92. {% if plugin_header_center is not null %}
  93. <div id="plugin_header_center">
  94. {{ plugin_header_center }}
  95. </div>
  96. {% endif %}
  97. </div>
  98. <div id="items-right" class="col-xs-12 col-md-4 col-lg-4">
  99. <img src="{{ _p.web_css}}/themes/{{ css_styles }}/images/logo_plataforma.png"/>
  100. <div class="section-notifications">
  101. <ul id="notifications" class="nav nav-pills pull-right">
  102. {{ notification_menu }}
  103. </ul>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </section>
  110. <section id="menu-bar">
  111. {# menu #}
  112. {% block menu %}
  113. {% include template ~ "/layout/menu.tpl" %}
  114. {% endblock %}
  115. </section>
  116. <section id="breadcrumb-bar">
  117. <div class="container">
  118. {# breadcrumb #}
  119. {% block breadcrumb %}
  120. {{ breadcrumb }}
  121. {% endblock %}
  122. </div>
  123. </section>
  124. </header>
  125. <div id="top_main_content" class="container">
  126. <div class="row">
  127. {# course navigation links/shortcuts need to be activated by the admin #}
  128. {% include template ~ "/layout/course_navigation.tpl" %}
  129. {% endif %}