Craig Oates
2 years ago
1 changed files with 16 additions and 9 deletions
@ -1,14 +1,21 @@
|
||||
{% 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 %} |
||||
<h1>Pages</h1> |
||||
<main class="fe-index"> |
||||
<h1>Pages Index</h1> |
||||
|
||||
{% for page in pages %} |
||||
<div> |
||||
{% if page.can-delete == 1 %} |
||||
<a href="/view/page/{{page.slug}}">{{page.title}}</a> |
||||
{% endif %} |
||||
</div> |
||||
{% endfor %} |
||||
<input type="text" |
||||
id="fe-search-filter" |
||||
placeholder="Filter Pages by typing here..."> |
||||
|
||||
<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 %} |
||||
|
Loading…
Reference in new issue