page_header.tpl 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <div id="navigation" class="notification-panel">
  2. {{ help_content }}
  3. {{ bug_notification }}
  4. </div>
  5. {% block topbar %}
  6. {% include 'layout/topbar.tpl'|get_template %}
  7. {% endblock %}
  8. {% if header_extra_content is not null %}
  9. {{ header_extra_content }}
  10. {% endif %}
  11. <div class="container">
  12. <div class="row">
  13. <div class="col-xs-12 col-md-3">
  14. {% if _u.logged != 1 %}
  15. <div class="key-login">
  16. <a href="#login-block" id="btn-login" class="btn btn-default">
  17. <img src="{{ 'key.png'|icon(22) }}"> {{ 'LoginAsThisUser'|get_lang }}
  18. </a>
  19. </div>
  20. {% endif %}
  21. <div class="logo">
  22. {{ logo }}
  23. </div>
  24. </div>
  25. <div class="col-xs-12 col-md-9">
  26. <div class="row">
  27. <div class="col-sm-4">
  28. {% if plugin_header_left is not null %}
  29. <div id="plugin_header_left">
  30. {{ plugin_header_left }}
  31. </div>
  32. {% endif %}
  33. </div>
  34. <div class="col-sm-3">
  35. {% if plugin_header_center is not null %}
  36. <div id="plugin_header_center">
  37. {{ plugin_header_center }}
  38. </div>
  39. {% endif %}
  40. </div>
  41. <div class="col-sm-5">
  42. <ol class="header-ol">
  43. {% if plugin_header_right is not null %}
  44. <li>
  45. <div id="plugin_header_right">
  46. {{ plugin_header_right }}
  47. </div>
  48. </li>
  49. {% endif %}
  50. <li>
  51. <div class="section-notifications">
  52. {% if _u.logged == 1 and not user_in_anon_survey %}
  53. <ul id="notifications" class="nav nav-pills pull-right">
  54. </ul>
  55. {% endif %}
  56. </div>
  57. </li>
  58. <li>
  59. {{ accessibility }}
  60. </li>
  61. </ol>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. {% block menu %}
  68. {% include 'layout/menu.tpl'|get_template %}
  69. {% endblock %}
  70. {% include 'layout/course_navigation.tpl'|get_template %}