mirror of
https://github.com/writefreely/writefreely
synced 2024-12-01 04:49:09 +00:00
7b42efb9d9
This makes it possible to edit the title and introductory text at the top of the Reader view. Ref T684
37 lines
858 B
Cheetah
37 lines
858 B
Cheetah
{{define "pages"}}
|
|
{{template "header" .}}
|
|
|
|
<style>
|
|
table.classy.export .disabled, table.classy.export a {
|
|
text-transform: initial;
|
|
}
|
|
</style>
|
|
|
|
<div class="snug content-container">
|
|
{{template "admin-header" .}}
|
|
|
|
<h2 id="posts-header" style="display: flex; justify-content: space-between;">Pages</h2>
|
|
|
|
<table class="classy export" style="width:100%">
|
|
<tr>
|
|
<th>Page</th>
|
|
<th>Last Modified</th>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><a href="/admin/page/landing">Home</a></td>
|
|
</tr>
|
|
{{if .LocalTimeline}}<tr>
|
|
<td colspan="2"><a href="/admin/page/reader">Reader</a></td>
|
|
</tr>{{end}}
|
|
{{range .Pages}}
|
|
<tr>
|
|
<td><a href="/admin/page/{{.ID}}">{{if .Title.Valid}}{{.Title.String}}{{else}}{{.ID}}{{end}}</a></td>
|
|
<td style="text-align:right">{{.UpdatedFriendly}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{{template "footer" .}}
|
|
{{end}}
|