not_found_content.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <div class="row not-found-message-row m-b-20">
  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 content-main-not-found page-list"
  10. data-path="{{ path | preventXss }}"
  11. data-current-user="{% if user %}{{ user._id.toString() }}{% endif %}"
  12. >
  13. {% include 'not_found_tabs.html' %}
  14. <div class="tab-content">
  15. {% if isEnabledAttachTitleHeader() %}
  16. {% if template %}
  17. <script type="text/template" id="raw-text-original"># {{ path|path2name }}&NewLine;{{ template }}</script>
  18. {% else %}
  19. <script type="text/template" id="raw-text-original"># {{ path|path2name }}</script>
  20. {% endif %}
  21. {% else %}
  22. {% if template %}
  23. <script type="text/template" id="raw-text-original">{{ template }}</script>
  24. {% endif %}
  25. {% endif %}
  26. {# list view #}
  27. <div class="p-t-10 active tab-pane page-list-container" id="revision-body">
  28. {% if pages.length == 0 %}
  29. <div class="m-t-10">
  30. There are no pages under <strong>{{ path }}</strong>.
  31. </div>
  32. {% endif %}
  33. {% include '../widget/page_list.html' with { pages: pages, pager: pager, viewConfig: viewConfig } %}
  34. </div>
  35. {# edit view #}
  36. <div class="tab-pane" id="edit">
  37. <div id="page-editor">{% if pageForm.body %}{{ pageForm.body }}{% endif %}</div>
  38. </div>
  39. {% include '../_form.html' %}
  40. </div>
  41. <div id="page-status-alert"></div>
  42. </div>