main_header.tpl 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 "default/layout/head.tpl" %}
  8. </head>
  9. <body dir="{{ text_direction }}" class="{{ section_name }}">
  10. <noscript>{{ "NoJavascript"|get_lang }}</noscript>
  11. {% if 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. {{ help_content }}
  22. {{ bug_notification_link }}
  23. </ul>
  24. {# topbar #}
  25. {% include "default/layout/topbar.tpl" %}
  26. <div id="main" class="container">
  27. <header>
  28. <div class="row">
  29. <div id="header_left" class="span4">
  30. {# logo #}
  31. {{ logo }}
  32. {# plugin_header left #}
  33. {% if plugin_header_left is not null %}
  34. <div id="plugin_header_left">
  35. {{ plugin_header_left }}
  36. </div>
  37. {% endif %}
  38. </div>
  39. <div id="header_center" class="span3">
  40. {# plugin_header center #}
  41. {% if plugin_header_center is not null %}
  42. <div id="plugin_header_center">
  43. {{ plugin_header_center }}
  44. </div>
  45. {% endif %}
  46. &nbsp;
  47. </div>
  48. <div id="header_right" class="span5">
  49. <ul id="notifications" class="nav nav-pills pull-right">
  50. {{ notification_menu }}
  51. </ul>
  52. {# plugin_header right #}
  53. {% if plugin_header_right is not null %}
  54. <div id="plugin_header_right">
  55. {{ plugin_header_right }}
  56. </div>
  57. {% endif %}
  58. &nbsp;
  59. </div>
  60. </div>
  61. {% if plugin_header_main %}
  62. <div class="row">
  63. <div class="span12">
  64. <div id="plugin_header_main">
  65. {{ plugin_header_main }}
  66. </div>
  67. </div>
  68. </div>
  69. {% endif %}
  70. {# menu #}
  71. {% include "default/layout/menu.tpl" %}
  72. {# breadcrumb #}
  73. {{ breadcrumb }}
  74. </header>
  75. <div id="main_content" class="row">
  76. {# course navigation links/shortcuts need to be activated by the admin #}
  77. {% include "default/layout/course_navigation.tpl" %}
  78. {% endif %}