not_found_content.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <div class="row not-found-message-row mb-4">
  2. <div class="col-md-12">
  3. <h2 class="text-muted">
  4. <i class="icon-info" aria-hidden="true"></i>
  5. Page is not found
  6. </h2>
  7. </div>
  8. </div>
  9. <div id="content-main" class="content-main page-list"
  10. data-path="{{ path | preventXss }}"
  11. data-current-user="{% if user %}{{ user._id.toString() }}{% endif %}"
  12. {% if templateTags %}
  13. data-template-tags="{{ templateTags }}"
  14. {% endif %}
  15. > <!-- TODO Delete "content-main-not-found"-->
  16. {% include 'not_found_tabs.html' %}
  17. <div class="tab-content">
  18. {% if getConfig('crowi', 'customize:isEnabledAttachTitleHeader') %}
  19. {% if template %}
  20. <script type="text/template" id="raw-text-original"># {{ path|path2name }}&NewLine;{{ template }}</script>
  21. {% else %}
  22. <script type="text/template" id="raw-text-original"># {{ path|path2name }}</script>
  23. {% endif %}
  24. {% else %}
  25. {% if template %}
  26. <script type="text/template" id="raw-text-original">{{ template }}</script>
  27. {% endif %}
  28. {% endif %}
  29. {# list view #}
  30. <div class="pt-2 active tab-pane page-list-container" id="revision-body">
  31. {% if pages.length == 0 %}
  32. <div class="mt-2">
  33. There are no pages under <strong>{{ path }}</strong>.
  34. </div>
  35. {% endif %}
  36. {% include '../widget/page_list.html' with { pages: pages, pager: pager, viewConfig: viewConfig } %}
  37. </div>
  38. {# edit view #}
  39. <div class="tab-pane" id="edit">
  40. <div id="page-editor">{% if pageForm.body %}{{ pageForm.body }}{% endif %}</div>
  41. </div>
  42. {% include '../_form.html' %}
  43. </div>
  44. <div id="page-status-alert"></div>
  45. </div>