page.tpl 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html lang="{{ document_language }}" class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!-->
  6. <html lang="{{ document_language }}" class="no-js"> <!--<![endif]-->
  7. <head>
  8. {% block head %}
  9. {% include template ~ "/layout/head.tpl" %}
  10. {% endblock %}
  11. </head>
  12. <body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
  13. <noscript>{{ "NoJavascript"|get_lang }}</noscript>
  14. <div class="wrap">
  15. {% if displayCookieUsageWarning == true %}
  16. <!-- Display Cookies validation -->
  17. <div class="toolbar-cookie alert-warning">
  18. <form onSubmit="$(this).toggle('slow')" action="" method="post">
  19. <input value=1 type="hidden" name="acceptCookies"/>
  20. <div class="cookieUsageValidation">
  21. {{ "YouAcceptCookies" | get_lang }}
  22. <span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
  23. ({{"More" | get_lang }})
  24. </span>
  25. <div style="display:none; margin:20px 0;">
  26. {{ "HelpCookieUsageValidation" | get_lang}}
  27. </div>
  28. <span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
  29. ({{"Accept" | get_lang }})
  30. </span>
  31. </div>
  32. </form>
  33. </div>
  34. {% endif %}
  35. {% if show_header == true %}
  36. {% include template ~ "/layout/page_header.tpl" %}
  37. {% endif %}
  38. {% if show_course_shortcut is not null %}
  39. <div class="nav-tools">
  40. {{ show_course_shortcut }}
  41. </div>
  42. {% endif %}
  43. <section id="content-section">
  44. <div class="container">
  45. {% block breadcrumb %}
  46. {{ breadcrumb }}
  47. {% endblock %}
  48. {% block body %}
  49. {{ content }}
  50. {% endblock %}
  51. </div>
  52. </section>
  53. {% if show_footer == true %}
  54. {% include template ~ "/layout/page_footer.tpl" %}
  55. {% endif %}
  56. </div>
  57. </body>
  58. </html>