page_header.tpl 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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-md-3 col-xs-4">
  14. <div class="logo">
  15. {{ logo }}
  16. </div>
  17. </div>
  18. <div class="col-md-6 col-xs-4">
  19. <div class="row">
  20. <div class="col-sm-4">
  21. {% if plugin_header_left is not null %}
  22. <div id="plugin_header_left">
  23. {{ plugin_header_left }}
  24. </div>
  25. {% endif %}
  26. </div>
  27. <div class="col-sm-4">
  28. {% if plugin_header_center is not null %}
  29. <div id="plugin_header_center">
  30. {{ plugin_header_center }}
  31. </div>
  32. {% endif %}
  33. </div>
  34. <div class="col-sm-4">
  35. {% if plugin_header_right is not null %}
  36. <div id="plugin_header_right">
  37. {{ plugin_header_right }}
  38. </div>
  39. {% endif %}
  40. <script>
  41. $(document).on('ready', function () {
  42. $("#notifications").load("{{ _p.web_main }}inc/ajax/online.ajax.php?a=get_users_online");
  43. });
  44. </script>
  45. <div class="section-notifications">
  46. <ul id="notifications" class="nav nav-pills pull-right">
  47. </ul>
  48. </div>
  49. {{ accessibility }}
  50. </div>
  51. </div>
  52. </div>
  53. <div class="col-md-3 col-xs-4">
  54. <div class="logo-ofaj pull-right">
  55. <a href="#"><img class="img-responsive" src="{{ _p.web_css_theme }}images/logo-ofaj.png"/></a>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </header>
  61. {% block menu %}
  62. {% include 'layout/menu.tpl'|get_template %}
  63. {% endblock %}
  64. {% include 'layout/course_navigation.tpl'|get_template %}