page_list.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. {% 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. <div>
  51. {% include '../widget/page_content.html' %}
  52. </div>
  53. <div class="row page-list {% if isPortal %}m-t-30{% endif %}">
  54. <div class="col-md-12">
  55. {% include '../widget/page_list_and_timeline.html' %}
  56. </div>
  57. </div>
  58. {% endblock %}
  59. {% block content_main_after %}
  60. {% endblock %}
  61. {% block content_footer %}
  62. <footer>
  63. </footer>
  64. {% endblock %}
  65. {% block side_header %}
  66. {% if not page and not isUserPageList(path) and !isTrashPage() %}
  67. {% include '../widget/create_portal.html' %}
  68. {% else %}
  69. {% include 'widget/page_side_header.html' %}
  70. {% endif %}
  71. {% endblock %} {# side_header #}
  72. {% block body_end %}
  73. <div id="crowi-modals">
  74. {% include '../modal/what_is_portal.html' %}
  75. {% include '../modal/unportalize.html' %}
  76. </div>
  77. {% endblock %} {# body_end #}