page.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {% extends 'base/layout.html' %}
  2. {% block content_header %}
  3. {% include 'widget/header.html' %}
  4. {% endblock %}
  5. {% block content_main_before %}
  6. {% endblock %}
  7. {% block content_main %}
  8. <div class="row">
  9. <div class="col grw-page-content-container">
  10. {% include '../widget/page_content.html' %}
  11. {# force remove #revision-toc from #content_main of parent #}
  12. <script>
  13. $('#revision-toc').remove();
  14. </script>
  15. </div>
  16. {# relocate #revision-toc #}
  17. <div class="col-xl-2 col-lg-3 d-none d-lg-block revision-toc-container">
  18. {% include './widget/liker-and-seenusers.html' %}
  19. <div id="revision-toc" class="revision-toc mt-3 sps sps--abv" data-sps-offset="123">
  20. <div id="revision-toc-content" class="revision-toc-content"></div>
  21. </div>
  22. </div>
  23. </div>
  24. {% if 'growi' === getConfig('crowi', 'customize:behavior') || 'crowi-plus' === getConfig('crowi', 'customize:behavior') %}
  25. <div class="row page-list d-print-none mt-5">
  26. <div class="col-md-10">
  27. {% include '../widget/page_list_and_timeline.html' %}
  28. </div>
  29. </div>
  30. {% endif %}
  31. {% endblock %}
  32. {% block content_main_after %}
  33. {% include 'widget/comments.html' %}
  34. {% if page %}
  35. {% include '../widget/page_attachments.html' %}
  36. {% endif %}
  37. {% endblock %}
  38. {% block body_end %}
  39. <div id="presentation-layer" class="fullscreen-layer">
  40. <div id="presentation-container"></div>
  41. </div>
  42. <div id="crowi-modals">
  43. {% include '../widget/page_modals.html' %}
  44. </div>
  45. {% endblock %}