page.html 1.4 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 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. <div class="row page-list d-edit-none d-print-none mt-5">
  25. <div class="col-md-10">
  26. {% include '../widget/page_list_and_timeline.html' %}
  27. </div>
  28. </div>
  29. {% endblock %}
  30. {% block content_main_after %}
  31. {% include 'widget/comments.html' %}
  32. {% if page %}
  33. {% include '../widget/page_attachments.html' %}
  34. {% endif %}
  35. {% endblock %}
  36. {% block body_end %}
  37. <div id="presentation-layer" class="fullscreen-layer">
  38. <div id="presentation-container"></div>
  39. </div>
  40. <div id="crowi-modals">
  41. {% include '../widget/page_modals.html' %}
  42. </div>
  43. {% endblock %}