page.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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-lg-10 col-md-9">
  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> {# /.col- #}
  16. {# relocate #revision-toc #}
  17. <div class="col-lg-2 col-md-3 revision-toc-container hidden-sm hidden-xs">
  18. <div id="revision-toc" class="revision-toc" data-spy="affix" data-offset-top="80">
  19. <div id="revision-toc-content" class="revision-toc-content"></div>
  20. </div>
  21. </div> {# /.col- #}
  22. </div>
  23. {% if 'growi' === behaviorType() || 'crowi-plus' === behaviorType() %}
  24. <div class="row page-list m-t-30">
  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 %}