page.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {% extends 'base/layout.html' %}
  2. {% block main_css_class %}
  3. {% parent %}
  4. {% endblock %}
  5. {% block layout_header %}
  6. {% block layout_header_before %}
  7. {% endblock %}
  8. {% include 'widget/header.html' %}
  9. {% block layout_header_after %}
  10. {% endblock %}
  11. {% endblock %} {# /content_head #}
  12. {% block content_main_before %}
  13. {% endblock %}
  14. {% block content_main %}
  15. <div class="row">
  16. <div class="col-lg-10 col-md-9">
  17. {% include '../widget/page_content.html' %}
  18. {# force remove #revision-toc from #content_main of parent #}
  19. <script>
  20. $('#revision-toc').remove();
  21. </script>
  22. </div> {# /.col- #}
  23. {# relocate #revision-toc #}
  24. <div class="col-lg-2 col-md-3 visible-lg visible-md">
  25. <div id="revision-toc" class="revision-toc" data-spy="affix" data-offset-top="80">
  26. <div id="revision-toc-content" class="revision-toc-content"></div>
  27. </div>
  28. </div> {# /.col- #}
  29. </div>
  30. {% if 'crowi-plus' === behaviorType() %}
  31. <div class="row page-list m-t-30">
  32. <div class="col-md-12">
  33. {% include '../widget/page_list_and_timeline.html' %}
  34. </div>
  35. </div>
  36. {% endif %}
  37. {% endblock %}
  38. {% block content_main_after %}
  39. {% include 'widget/comments.html' %}
  40. {% endblock %}
  41. {% block content_footer %}
  42. {% if page %}
  43. {% include '../widget/page_attachments.html' %}
  44. {% endif %}
  45. {% endblock %}
  46. {% block body_end %}
  47. <div id="presentation-layer" class="fullscreen-layer">
  48. <div id="presentation-container"></div>
  49. </div>
  50. <div id="crowi-modals">
  51. {% include '../widget/page_modals.html' %}
  52. </div>
  53. {% endblock %}