page_list.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {% extends 'base/layout.html' %}
  2. {% block html_base_attr %}
  3. data-spy="scroll"
  4. data-target="#search-result-list"
  5. {% endblock %}
  6. {% block content_header %}
  7. {% block content_header_before %}
  8. {% endblock %}
  9. <div class="header-wrap">
  10. <header id="page-header" class="{% if page %}has-page{% endif %}">
  11. <div class="d-flex align-items-center">
  12. <div class="title-container">
  13. <div class="d-flex">
  14. <h1 class="title" id="revision-path"></h1>
  15. </div>
  16. <div id="revision-url" class="url-line"></div>
  17. </div>
  18. {% include '../widget/header-buttons.html' %}
  19. </div>
  20. </header>
  21. </div>
  22. {% endblock %}
  23. {% block content_main %}
  24. {% block content_main_before %}
  25. {% endblock %}
  26. {# page-list-search should be fully managed by react.js,
  27. # but now the header and page list content is rendered separately by the server,
  28. # so now bind the values through the hidden fields.
  29. #}
  30. {% if false %} {# Disable temporaly -- 2018.03.08 Yuki Takei #}
  31. {% if searchConfigured() && !isTopPage() && !isTrashPage() %}
  32. <div id="page-list-search">
  33. </div>
  34. {% endif %}
  35. {% endif %}
  36. <div>
  37. {% include '../widget/page_content.html' %}
  38. </div>
  39. <div class="row page-list hidden-print {% if page.isPortal() %}m-t-30{% endif %}">
  40. <div class="col-md-12">
  41. {% include '../widget/page_list_and_timeline.html' %}
  42. </div>
  43. </div>
  44. {% endblock %}
  45. {% block content_main_after %}
  46. {% endblock %}
  47. {% block content_footer %}
  48. <footer>
  49. </footer>
  50. {% endblock %}
  51. {% block side_header %}
  52. {% if not page and not isUserPageList(path) and !isTrashPage() %}
  53. {% include '../widget/create_portal.html' %}
  54. {% else %}
  55. {% include 'widget/page_side_header.html' %}
  56. {% endif %}
  57. {% endblock %} {# side_header #}
  58. {% block body_end %}
  59. <div id="crowi-modals">
  60. {% include '../modal/what_is_portal.html' %}
  61. {% include '../modal/unportalize.html' %}
  62. </div>
  63. {% endblock %} {# body_end #}