| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <div class="row not-found-message-row mb-4 d-edit-none">
- <div class="col-md-12">
- <h2 class="text-muted">
- <i class="icon-info" aria-hidden="true"></i>
- Page is not found
- </h2>
- </div>
- </div>
- <div id="content-main" class="content-main page-list"
- data-path="{{ encodeURI(path) }}"
- data-current-user="{% if user %}{{ user._id.toString() }}{% endif %}"
- {% if templateTags %}
- data-template-tags="{{ templateTags }}"
- {% endif %}
- >
- {% include 'not_found_tabs.html' %}
- <div class="tab-content">
- {# TODO: should be removed and transplanted to PageContainer.initStateMarkdown ------ from here ------ #}
- {% if getConfig('crowi', 'customize:isEnabledAttachTitleHeader') %}
- {% if template %}
- <script type="text/template" id="raw-text-original"># {{ path | path2name | preventXss }}
{{ template }}</script>
- {% else %}
- <script type="text/template" id="raw-text-original"># {{ path | path2name | preventXss }}</script>
- {% endif %}
- {% else %}
- {% if template %}
- <script type="text/template" id="raw-text-original">{{ template }}</script>
- {% endif %}
- {% endif %}
- {# TODO: should be removed and transplanted to PageContainer.initStateMarkdown ------ to here ------ #}
- {# list view #}
- <div class="pt-2 active tab-pane page-list-container" id="revision-body">
- {% if pages.length == 0 %}
- <div class="mt-2">
- There are no pages under <strong>{{ path | preventXss }}</strong>.
- </div>
- {% endif %}
- {% include '../widget/page_list.html' with { pages: pages, pager: pager, viewConfig: viewConfig } %}
- </div>
- {# edit view #}
- <div class="tab-pane" id="edit">
- <div id="page-editor">{% if pageForm.body %}{{ pageForm.body }}{% endif %}</div>
- </div>
- {% include '../_form.html' %}
- </div>
- <div id="page-status-alert"></div>
- </div>
|