| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <div class="row not-found-message-row m-b-20">
- <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 content-main-not-found page-list"
- data-path="{{ path | preventXss }}"
- data-path-shortname="{{ path|path2name | preventXss }}"
- data-current-user="{% if user %}{{ user._id.toString() }}{% endif %}"
- >
- {% include 'not_found_tabs.html' %}
- <div class="tab-content">
- {% if isEnabledAttachTitleHeader() %}
- {% if template %}
- <script type="text/template" id="raw-text-original"># {{ path|path2name }}
{{ template }}</script>
- {% else %}
- <script type="text/template" id="raw-text-original"># {{ path|path2name }}</script>
- {% endif %}
- {% else %}
- {% if template %}
- <script type="text/template" id="raw-text-original">{{ template }}</script>
- {% endif %}
- {% endif %}
- {# list view #}
- <div class="p-t-10 active tab-pane page-list-container" id="revision-body">
- {% if pages.length == 0 %}
- <div class="m-t-10">
- There are no pages under <strong>{{ path }}</strong>.
- </div>
- {% endif %}
- {% include '../widget/page_list.html' with { pages: pages, pager: pager, viewConfig: viewConfig } %}
- </div>
- {# edit view #}
- <div class="tab-pane edit-form {% if req.body.pageForm %}active{% endif %}" id="edit-form">
- <div id="page-editor">{% if pageForm.body %}{{ pageForm.body }}{% endif %}</div>
- </div>
- <div class="tab-pane edit-form" id="hackmd">
- <div id="hackmd-editor">
- <iframe width="100%" src="http://localhost:3100/oMx0W0k4Tb-sRkkPrxHDoA?both" frameborder="0"></iframe>
- </div>
- </div>
- {% include '../_form.html' %}
- </div>
- </div>
|