main_header.tpl 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 class="link" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
  24. {{"ReadMore" | get_lang }}
  25. </span>
  26. <div class="more" style="display:none;">
  27. {{ "HelpCookieUsageValidation" | get_lang}}
  28. </div>
  29. <span class="link" 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. <div id="navigation" class="notification-panel">
  38. {{ help_content }}
  39. {{ bug_notification }}
  40. </div>
  41. {% block topbar %}
  42. {% include template ~ "/layout/topbar.tpl" %}
  43. {% if show_toolbar == 1 %}
  44. <div class="clear-header"></div>
  45. {% endif %}
  46. {% endblock %}
  47. <header>
  48. <div class="extra-header">{{ header_extra_content }}</div>
  49. <section id="main" class="container header-logo-top">
  50. {% if plugin_header_main %}
  51. <div class="row">
  52. <div class="col-lg-12">
  53. {{ plugin_header_main }}
  54. </div>
  55. </div>
  56. {% endif %}
  57. <div class="row">
  58. <div class="col-xs-6 col-md-4">
  59. <div class="logo pull-left">
  60. <a href="{{ _p.web }}"><img class="img-responsive" src="{{ _p.web_css_theme }}images/header-logo.png"/></a>
  61. </div>
  62. <!-- <h2><a href="{{ _p.web }}">{{ _s.site_name }}</a></h2> -->
  63. </div>
  64. <div class="col-xs-6 col-md-4">
  65. </div>
  66. <div class="col-xs-6 col-md-4">
  67. <div class="logo-ofaj pull-right">
  68. <a href="#"><img class="img-responsive" src="{{ _p.web_css_theme }}images/logo-ofaj.png"/></a>
  69. </div>
  70. </div>
  71. </div>
  72. </section>
  73. <section id="menu-bar">
  74. {% block menu %}
  75. {% include template ~ "/layout/menu.tpl" %}
  76. {% endblock %}
  77. </section>
  78. <section id="breadcrumb-bar">
  79. <div class="container">
  80. {% block breadcrumb %}
  81. {{ breadcrumb }}
  82. {% endblock %}
  83. </div>
  84. </section>
  85. </header>
  86. <div id="top_main_content">
  87. {% endif %}