Craig Oates
2 years ago
1 changed files with 16 additions and 9 deletions
@ -1,14 +1,21 @@ |
|||||||
{% extends "layouts/default.html" %} |
{% extends "layouts/default.html" %} |
||||||
{% block title %}A list of the site's pages.{% endblock %} |
{% block title %}{{system-data.first.site-name}}: Pages Index{% endblock %} |
||||||
{% block content %} |
{% block content %} |
||||||
<h1>Pages</h1> |
<main class="fe-index"> |
||||||
|
<h1>Pages Index</h1> |
||||||
|
|
||||||
{% for page in pages %} |
<input type="text" |
||||||
<div> |
id="fe-search-filter" |
||||||
{% if page.can-delete == 1 %} |
placeholder="Filter Pages by typing here..."> |
||||||
<a href="/view/page/{{page.slug}}">{{page.title}}</a> |
|
||||||
{% endif %} |
|
||||||
</div> |
|
||||||
{% endfor %} |
|
||||||
|
|
||||||
|
<ul id="fe-search-filter-list"> |
||||||
|
{% for page in pages %} |
||||||
|
{% if page.can-delete == 1 %} |
||||||
|
<li class="fe-index-entry"> |
||||||
|
<a href="/view/page/{{page.slug}}">{{page.title}}</a> |
||||||
|
</li> |
||||||
|
{% endif %} |
||||||
|
{% endfor %} |
||||||
|
</ul> |
||||||
|
</main> |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
Loading…
Reference in new issue