page.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 bg-white round-corner">
  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-3 col-lg-4 d-none d-lg-block revision-toc-container bg-white">
  18. <div id="revision-toc" class="revision-toc sps sps--abv" data-sps-offset="80">
  19. <div id="revision-toc-content" class="revision-toc-content"></div>
  20. </div>
  21. </div> {# /.col- #}
  22. </div>
  23. {% if 'growi' === getConfig('crowi', 'customize:behavior') || 'crowi-plus' === getConfig('crowi', 'customize:behavior') %}
  24. <div class="row page-list grw-pt-10px my-5 round-corner d-edit-none">
  25. <div class="col-md-10">
  26. {% include '../widget/page_list_and_timeline.html' %}
  27. </div>
  28. </div>
  29. {% endif %}
  30. {% endblock %}
  31. {% block content_main_after %}
  32. {% include 'widget/comments.html' %}
  33. {% if page %}
  34. {% include '../widget/page_attachments.html' %}
  35. {% endif %}
  36. {% endblock %}
  37. {% block body_end %}
  38. <div id="presentation-layer" class="fullscreen-layer">
  39. <div id="presentation-container"></div>
  40. </div>
  41. <div id="crowi-modals">
  42. {% include '../widget/page_modals.html' %}
  43. </div>
  44. {% endblock %}