mirror of
https://github.com/writeas/writefreely
synced 2024-12-11 16:18:07 +01:00
7b42efb9d9
This makes it possible to edit the title and introductory text at the top of the Reader view. Ref T684
38 lines
858 B
Cheetah
38 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}}
|