page_header.tpl 2.7 KB

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