page_list.html 2.8 KB

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