page.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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-xs-12 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> {# /.col- #} {# relocate #revision-toc #}
  16. <div class="col-lg-2 col-md-3 revision-toc-container hidden-sm hidden-xs">
  17. <div id="revision-toc" class="revision-toc affix" data-spy="" data-offset-top="80">
  18. <div id="revision-toc-content" class="revision-toc-content"></div>
  19. </div>
  20. </div> {# /.col- #}
  21. </div>
  22. {% if 'growi' === behaviorType() || 'crowi-plus' === behaviorType() %}
  23. <div class="row page-list p-t-10 m-t-30 m-b-30 round-corner">
  24. <div class="col-md-10">
  25. {% include '../widget/page_list_and_timeline.html' %}
  26. </div>
  27. </div>
  28. {% endif %}
  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 %}