footer.tpl 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <footer> <!-- start of #footer section -->
  2. <div class="container">
  3. <div class="row">
  4. <div id="footer_left" class="span4">
  5. {% if session_teachers is not null %}
  6. <div id="session_teachers">
  7. {{session_teachers}}
  8. </div>
  9. {% endif %}
  10. {% if teachers is not null %}
  11. <div id="teachers">
  12. {{teachers}}
  13. </div>
  14. {% endif %}
  15. {# Plugins for footer section #}
  16. {% if plugin_footer_left is not null %}
  17. <div id="plugin_footer_left">
  18. {{plugin_footer_left}}
  19. </div>
  20. {% endif %}
  21. &nbsp;
  22. </div>
  23. <div id="footer_center" class="span4">
  24. {# Plugins for footer section #}
  25. {% if plugin_footer_center is not null %}
  26. <div id="plugin_footer_center">
  27. {{plugin_footer_center}}
  28. </div>
  29. {% endif %}
  30. &nbsp;
  31. </div>
  32. <div id="footer_right" class="span4">
  33. {% if administrator_name is not null %}
  34. <div id="admin_name">
  35. {{administrator_name}}
  36. </div>
  37. {% endif %}
  38. <div id="software_name">
  39. {{"Platform"|get_lang}} <a href="{{_p.web}}" target="_blank">{{_s.software_name}} {{_s.system_version}}</a>
  40. &copy; {{ "now"|date("Y") }}
  41. </div>
  42. {# Plugins for footer section #}
  43. {% if plugin_footer_right is not null %}
  44. <div id="plugin_footer_right">
  45. {{plugin_footer_right}}
  46. </div>
  47. {% endif %}
  48. &nbsp;
  49. </div><!-- end of #footer_right -->
  50. </div><!-- end of #row -->
  51. </div><!-- end of #container -->
  52. </footer>
  53. {{footer_extra_content}}
  54. {% raw %}
  55. <script>
  56. /* Makes row highlighting possible */
  57. $(document).ready( function() {
  58. $(".chzn-select").chosen();
  59. $("form .data_table input:checkbox").click(function() {
  60. if ($(this).is(":checked")) {
  61. $(this).parentsUntil("tr").parent().addClass("row_selected");
  62. } else {
  63. $(this).parentsUntil("tr").parent().removeClass("row_selected");
  64. }
  65. });
  66. });
  67. </script>
  68. {% endraw %}
  69. {{execution_stats}}