main_header.tpl 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. {% include app.template_style ~ "/layout/head.tpl" %}
  8. </head>
  9. <body dir="{{ text_direction }}" class="{{ section_name }}">
  10. <noscript>{{ "NoJavascript"|get_lang }}</noscript>
  11. {% if app.template.show_header == true %}
  12. <div class="skip">
  13. <ul>
  14. <li><a href="#menu">{{ "WCAGGoMenu"|get_lang }}</a></li>
  15. <li><a href="#content" accesskey="2">{{ "WCAGGoContent"|get_lang }}</a></li>
  16. </ul>
  17. </div>
  18. <div id="wrapper">
  19. {# Bug and help notifications #}
  20. <ul id="navigation" class="notification-panel">
  21. {% if ("enable_help_link" | get_setting) == 'true' %}
  22. <li class="help">
  23. <a href="{{ _p.web_img }}help/help.php?open={{ help_content }}&height=400&width=600" class="ajax" title="{{ "help"|get_lang }}">
  24. <img src="{{ _p.web_img }}help.large.png" alt="{{ "help"|get_lang }}" title="{{ "help"|get_lang }}" />
  25. </a>
  26. </li>
  27. {% endif %}
  28. {% if ("show_link_bug_notification" | get_setting) == 'true' and _u.logged != 0 %}
  29. <li class="report">
  30. <a href="http://support.chamilo.org/projects/chamilo-18/wiki/How_to_report_bugs" target="_blank">
  31. <img src="{{ _p.web_img }}bug.large.png" style="vertical-align: middle;" alt="{{ "ReportABug"|get_lang }}" title="{{ "ReportABug"|get_lang }}"/>
  32. </a>
  33. </li>
  34. {% endif %}
  35. </ul>
  36. {# topbar #}
  37. {% include app.template_style ~ "/layout/topbar.tpl" %}
  38. {% block main_div_container %}
  39. {% if app.full_width == 1 %}
  40. <div id="main" class="container-fluid">
  41. {% else %}
  42. <div id="main" class="container">
  43. {% endif %}
  44. {% endblock main_div_container %}
  45. <header>
  46. <div class="row">
  47. <div id="header_left" class="span4">
  48. {# logo #}
  49. <div id="logo">
  50. <a href="https://evaluaciondocente.perueduca.pe/index.php">
  51. <img title="{{ "siteName" | get_setting }}" src="{{ _p.web_css }}/{{ app.theme }}/images/header-logo.svg" />
  52. </a>
  53. </div>
  54. {# plugin_header left #}
  55. {% if plugin_header_left is not null %}
  56. <div id="plugin_header_left">
  57. {{ plugin_header_left }}
  58. </div>
  59. {% endif %}
  60. </div>
  61. <div id="header_center" class="span3">
  62. {# plugin_header center #}
  63. {% if plugin_header_center is not null %}
  64. <div id="plugin_header_center">
  65. {{ plugin_header_center }}
  66. </div>
  67. {% endif %}
  68. &nbsp;
  69. </div>
  70. <div id="header_right" class="span5">
  71. <ul id="notifications" class="nav nav-pills pull-right">
  72. {{ notification_menu }}
  73. </ul>
  74. {# plugin_header right #}
  75. {% if plugin_header_right is not null %}
  76. <div id="plugin_header_right">
  77. {{ plugin_header_right }}
  78. </div>
  79. {% endif %}
  80. &nbsp;
  81. </div>
  82. </div>
  83. {% if plugin_header_main %}
  84. <div class="row">
  85. <div class="span12">
  86. <div id="plugin_header_main">
  87. {{ plugin_header_main }}
  88. </div>
  89. </div>
  90. </div>
  91. {% endif %}
  92. {# menu #}
  93. {% include app.template_style ~ "/layout/menu.tpl" %}
  94. {# breadcrumb #}
  95. {% if app.breadcrumbs %}
  96. {{ app.breadcrumbs }}
  97. {% else %}
  98. {{ breadcrumb }}
  99. {% endif %}
  100. </header>
  101. {% if app.full_width == 1 %}
  102. <div id="top_main_content" class="row-fluid">
  103. {% else %}
  104. <div id="top_main_content" class="row">
  105. {% endif %}
  106. {# course navigation links/shortcuts need to be activated by the admin #}
  107. {% include app.template_style ~ "/layout/course_navigation.tpl" %}
  108. {% endif %}