aboutsummaryrefslogtreecommitdiff
path: root/templates/timeline.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2023-12-28 13:27:30 +0000
committerr <r@freesoftwareextremist.com>2023-12-28 13:27:30 +0000
commit1d61f1aa27376e778b7a517fdd5739a8c1976d2e (patch)
treeb4dba8253afbb159a3782d900ad8d43bd6148b24 /templates/timeline.tmpl
parentf4881e72675e87a9eae716436c3ac18a788d596d (diff)
downloadbloat-1d61f1aa27376e778b7a517fdd5739a8c1976d2e.tar.gz
bloat-1d61f1aa27376e778b7a517fdd5739a8c1976d2e.zip
Update the default theme
This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support.
Diffstat (limited to 'templates/timeline.tmpl')
-rw-r--r--templates/timeline.tmpl15
1 files changed, 7 insertions, 8 deletions
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index 38659dc..5b02c5f 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -1,15 +1,14 @@
{{with .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
-<div class="page-title-container">
- <span class="page-title"> {{.Title}} </span>
- <a class="page-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
+<div>
+ <h1>{{.Title}} <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1>
</div>
{{if eq .Type "remote"}}
-<form class="search-form" action="/timeline/remote" method="GET">
- <span class="post-form-field">
+<form action="/timeline/remote" method="GET">
+ <span>
<label for="instance"> Instance </label>
- <input id="instance" name="instance" value="{{.Instance}}">
+ <input type="text" id="instance" name="instance" value="{{.Instance}}">
</span>
<button type="submit"> Submit </button>
</form>
@@ -19,14 +18,14 @@
{{template "status.tmpl" (WithContext . $.Ctx)}}
{{end}}
-<div class="pagination">
+<nav class="pagination">
{{if .PrevLink}}
<a href="{{.PrevLink}}">[prev]</a>
{{end}}
{{if .NextLink}}
<a href="{{.NextLink}}">[next]</a>
{{end}}
-</div>
+</nav>
{{template "footer.tmpl"}}
{{end}}