page_footer.tpl 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <div class="container">
  2. {% if plugin_pre_footer is not null %}
  3. <div id="plugin_pre_footer">
  4. {{ plugin_pre_footer }}
  5. </div>
  6. {% endif %}
  7. <section class="sub-footer">
  8. <div class="row">
  9. <div class="col-xs-12 col-md-4">
  10. {% if session_teachers is not null %}
  11. <div class="session-teachers">
  12. {{ session_teachers }}
  13. </div>
  14. {% endif %}
  15. {% if teachers is not null %}
  16. <div class="teachers">
  17. {{ teachers }}
  18. </div>
  19. {% endif %}
  20. {% if plugin_footer_left is not null %}
  21. <div id="plugin_footer_left">
  22. {{ plugin_footer_left }}
  23. </div>
  24. {% endif %}
  25. </div>
  26. <div class="col-xs-12 col-md-4">
  27. {% if plugin_footer_center is not null %}
  28. <div id="plugin_footer_center">
  29. {{ plugin_footer_center }}
  30. </div>
  31. {% endif %}
  32. </div>
  33. <div class="col-xs-12 col-md-4 text-right">
  34. {% if administrator_name is not null %}
  35. <div class="administrator-name">
  36. {{ administrator_name }}
  37. </div>
  38. {% endif %}
  39. {% if _s.software_name is not empty %}
  40. <div class="software-name">
  41. <a href="{{_p.web}}" target="_blank">
  42. {{ "PoweredByX" |get_lang | format(_s.software_name) }}
  43. </a>&copy; {{ "now"|date("Y") }}
  44. </div>
  45. {% endif %}
  46. {% if plugin_footer_right is not null %}
  47. <div id="plugin_footer_right">
  48. {{ plugin_footer_right }}
  49. </div>
  50. {% endif %}
  51. </div>
  52. </div>
  53. {% if footer_extra_content %}
  54. {{ footer_extra_content }}
  55. {% endif %}
  56. </section>
  57. </div>
  58. {# Global modal, load content by AJAX call to href attribute on anchor tag with 'ajax' class #}
  59. <div class="modal fade" id="global-modal" tabindex="-1" role="dialog" aria-labelledby="global-modal-title" aria-hidden="true">
  60. <div class="modal-dialog modal-lg">
  61. <div class="modal-content">
  62. <div class="modal-header">
  63. <button type="button" class="close" data-dismiss="modal" aria-label="{{ "Close" | get_lang }}">
  64. <span aria-hidden="true">&times;</span>
  65. </button>
  66. <h4 class="modal-title" id="global-modal-title">&nbsp;</h4>
  67. </div>
  68. <div class="modal-body">
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. {# Expands an image modal #}
  74. <div class="modal fade" id="expand-image-modal" tabindex="-1" role="dialog" aria-labelledby="expand-image-modal-title" aria-hidden="true">
  75. <div class="modal-dialog modal-lg">
  76. <div class="modal-content">
  77. <div class="modal-header">
  78. <button type="button" class="close" data-dismiss="modal" aria-label="{{ "Close" | get_lang }}"><span aria-hidden="true">&times;</span></button>
  79. <h4 class="modal-title" id="expand-image-modal-title">&nbsp;</h4>
  80. </div>
  81. <div class="modal-body">
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. {# Delete modal #}
  87. <div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="confirm-delete-title" aria-hidden="true">
  88. <div class="modal-dialog">
  89. <div class="modal-content">
  90. <div class="modal-header">
  91. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  92. <h4 class="modal-title" id="myModalLabel">{{ 'Delete' | get_lang }}</h4>
  93. </div>
  94. <div class="modal-body">
  95. <p class="debug-url"></p>
  96. </div>
  97. <div class="modal-footer">
  98. <button type="button" class="btn btn-default" data-dismiss="modal">{{ 'Cancel' | get_lang }}</button>
  99. <a id="delete_item" class="btn btn-danger btn-ok">{{ 'Delete' | get_lang }}</a>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. {{ execution_stats }}