page_list.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 flex-item-title" id="revision-path"></h1>
  15. {% if false %} {# Disable temporaly -- 2018.03.08 Yuki Takei #}
  16. {% if searchConfigured() && !isTopPage() && !isTrashPage() %}
  17. <form id="search-listpage-form" class="m-l-10 input-group search-input-group hidden-xs hidden-sm"
  18. data-toggle="tooltip" data-placement="bottom" title="{{ path }} 以下から検索" data-container="body">
  19. <div class="input-group">
  20. <input id="search-listpage-input" type="text" class="form-control input-sm" data-path="{{ path }}" placeholder="Search for...">
  21. <span class="input-group-btn">
  22. <button class="btn btn-default btn-sm"><i class="icon-magnifier"></i></button>
  23. </span>
  24. </div><!-- /input-group -->
  25. <a class="search-listpage-clear" id="search-listpage-clear"><i class="fa fa-times-circle"></i></a>
  26. </form>
  27. {% endif %}
  28. {% endif %}
  29. </div>
  30. <div id="revision-url" class="url-line"></div>
  31. </div>
  32. {% include '../widget/header-buttons.html' %}
  33. </div>
  34. </header>
  35. </div>
  36. {% endblock %}
  37. {% block content_main %}
  38. {% block content_main_before %}
  39. {% endblock %}
  40. {# page-list-search should be fully managed by react.js,
  41. # but now the header and page list content is rendered separately by the server,
  42. # so now bind the values through the hidden fields.
  43. #}
  44. {% if false %} {# Disable temporaly -- 2018.03.08 Yuki Takei #}
  45. {% if searchConfigured() && !isTopPage() && !isTrashPage() %}
  46. <div id="page-list-search">
  47. </div>
  48. {% endif %}
  49. {% endif %}
  50. {% include '../widget/page_content.html' %}
  51. <div class="row page-list m-t-30">
  52. <div class="col-md-12">
  53. {% include '../widget/page_list_and_timeline.html' %}
  54. </div>
  55. </div>
  56. {% endblock %}
  57. {% block content_main_after %}
  58. {% endblock %}
  59. {% block content_footer %}
  60. <footer>
  61. </footer>
  62. {% endblock %}
  63. {% block side_header %}
  64. {% if not page and not isUserPageList(path) and !isTrashPage() %}
  65. {% include '../widget/create_portal.html' %}
  66. {% else %}
  67. {% include 'widget/page_side_header.html' %}
  68. {% endif %}
  69. {% endblock %} {# side_header #}
  70. {% block body_end %}
  71. <div id="crowi-modals">
  72. {% include '../modal/what_is_portal.html' %}
  73. {% include '../modal/unportalize.html' %}
  74. </div>
  75. {% endblock %} {# body_end #}