summaryrefslogtreecommitdiff
path: root/pages/log.mustache
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-06-28 12:47:28 +0200
committerTom Smeding <tom@tomsmeding.com>2026-06-28 12:50:26 +0200
commit352f64c7171cf62f2e1a7578fb8e786dead90d9f (patch)
tree2fcb0663f1509b2fe5d1f2533f1e8859ddac36ad /pages/log.mustache
parent08e042b949ca358a86c256d137379e76f3881bfc (diff)
Prototype compressed event listing
Diffstat (limited to 'pages/log.mustache')
-rw-r--r--pages/log.mustache15
1 files changed, 10 insertions, 5 deletions
diff --git a/pages/log.mustache b/pages/log.mustache
index 3d91a2a..23eccc6 100644
--- a/pages/log.mustache
+++ b/pages/log.mustache
@@ -10,17 +10,17 @@
<body>
<div id="gridwrapper" data-page="withheader">
<header>
- <a href="/" class="hdritem">Home</a>
+ <a href="/" class="hdritem hdritem-home">Home</a>
{{network}}/{{channel}}:
- <a href="/log/{{&alias}}" class="hdritem">Logs</a>
- <a href="/cal/{{&alias}}" class="hdritem">Calendar</a>
+ <a href="/log/{{&alias}}" class="hdritem hdritem-view">Logs</a>
+ <a href="/cal/{{&alias}}" class="hdritem hdritem-view">Calendar</a>
</header>
<main>
<h1>Logs: {{network}}/{{channel}}</h1>
<div class="pagepicker">
{{#picker}}
- {{#prevpage}}<a href="?page={{.}}">{{/prevpage}}{{^prevpage}}<span class="link-disabled">{{/prevpage}}&larr;Prev</a>&nbsp;
- {{#nextpage}}<a href="?page={{.}}">{{/nextpage}}{{^nextpage}}<span class="link-disabled">{{/nextpage}}Next&rarr;</a>
+ {{#prevpage}}<a href="?page={{.}}">{{/prevpage}}&larr;Prev{{#prevpage}}</a>{{/prevpage}}&nbsp;
+ {{#nextpage}}<a href="?page={{.}}">{{/nextpage}}Next&rarr;{{#nextpage}}</a>{{/nextpage}}
<div class="pagepicker-pages">
Page
{{#firstpage}}
@@ -46,6 +46,11 @@
{{/picker}}
<span style="margin: 0 9px 0 4px">&mdash;</span>
{{totalevents}} events total
+ </div><br>
+ <div class="viewopts">
+ View:
+ {{^efAll}}<a href="?page={{&picker.curnum}}&ef=all">{{/efAll}}All{{^efAll}}</a>{{/efAll}}&nbsp;
+ {{^efCompr}}<a href="?page={{&picker.curnum}}&ef=compr">{{/efCompr}}Compressed{{^efCompr}}</a>{{/efCompr}}
</div>
<table id="events"><tbody>
{{#events}}