not_found_content.html 1.6 KB

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