owl-blogs/render/templates/views/admin.tmpl

42 lines
1.1 KiB
Cheetah
Raw Normal View History

2023-07-22 19:12:53 +00:00
{{define "title"}}Admin{{end}}
2024-02-24 20:21:48 +00:00
{{define "head"}}{{end}}
2023-07-22 19:12:53 +00:00
{{define "main"}}
2024-01-24 21:04:15 +00:00
<h2 style="margin-bottom: 1rem;">Write</h2>
2023-07-27 19:18:09 +00:00
2024-01-23 18:17:04 +00:00
<div class="action-tile-list">
2023-07-27 19:18:09 +00:00
{{range .Types}}
2024-01-24 21:04:15 +00:00
<a class="action-tile" href="/editor/new/{{.}}/">{{.}}</a>
2023-07-27 19:18:09 +00:00
{{end}}
2024-01-23 18:17:04 +00:00
</div>
2024-01-24 21:04:15 +00:00
<br>
<br>
2023-07-27 19:18:09 +00:00
2024-01-24 21:04:15 +00:00
<h2 style="margin-bottom: 1rem;">Content</h2>
<div class="action-tile-list">
<a class="action-tile" href="/admin/drafts/">Drafts</a>
2024-02-24 18:53:49 +00:00
<a class="action-tile" href="/admin/binaries/">Files</a>
<a class="action-tile" href="/admin/interactions/">Interactions</a>
2024-01-24 21:04:15 +00:00
</div>
<br>
<br>
2023-07-27 20:04:00 +00:00
2024-01-24 21:04:15 +00:00
<h2 style="margin-bottom: 1rem;">Configurations</h2>
<div class="action-tile-list">
<a class="action-tile" href="/site-config">Site Settings</a>
<a class="action-tile" href="/site-config/me">Me Links</a>
<a class="action-tile" href="/site-config/lists">Lists</a>
<a class="action-tile" href="/site-config/menus">Menus</a>
</div>
<br>
<br>
<h3>Module Configuration</h3>
<div class="action-tile-list">
{{ range .Configs }}
<a class="action-tile" href="/admin/config/{{.Name}}">{{.Name}}</a>
{{ end }}
</div>
<br>
<br>
2023-07-22 19:12:53 +00:00
{{end}}