diff options
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/calendar-day.mustache | 6 | ||||
| -rw-r--r-- | pages/calendar.mustache | 6 | ||||
| -rw-r--r-- | pages/log.mustache | 15 | ||||
| -rw-r--r-- | pages/style.css | 10 |
4 files changed, 23 insertions, 14 deletions
diff --git a/pages/calendar-day.mustache b/pages/calendar-day.mustache index f3a1895..da6f788 100644 --- a/pages/calendar-day.mustache +++ b/pages/calendar-day.mustache @@ -10,10 +10,10 @@ <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 on {{date}} ({{network}}/{{channel}})</h1> diff --git a/pages/calendar.mustache b/pages/calendar.mustache index b9ffdec..c65849d 100644 --- a/pages/calendar.mustache +++ b/pages/calendar.mustache @@ -10,10 +10,10 @@ <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>Calendar: {{network}}/{{channel}}</h1> 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}}←Prev</a> - {{#nextpage}}<a href="?page={{.}}">{{/nextpage}}{{^nextpage}}<span class="link-disabled">{{/nextpage}}Next→</a> + {{#prevpage}}<a href="?page={{.}}">{{/prevpage}}←Prev{{#prevpage}}</a>{{/prevpage}} + {{#nextpage}}<a href="?page={{.}}">{{/nextpage}}Next→{{#nextpage}}</a>{{/nextpage}} <div class="pagepicker-pages"> Page {{#firstpage}} @@ -46,6 +46,11 @@ {{/picker}} <span style="margin: 0 9px 0 4px">—</span> {{totalevents}} events total + </div><br> + <div class="viewopts"> + View: + {{^efAll}}<a href="?page={{&picker.curnum}}&ef=all">{{/efAll}}All{{^efAll}}</a>{{/efAll}} + {{^efCompr}}<a href="?page={{&picker.curnum}}&ef=compr">{{/efCompr}}Compressed{{^efCompr}}</a>{{/efCompr}} </div> <table id="events"><tbody> {{#events}} diff --git a/pages/style.css b/pages/style.css index 3b0aab7..56de563 100644 --- a/pages/style.css +++ b/pages/style.css @@ -80,11 +80,11 @@ footer { color: var(--footer-text-color); } -header > .hdritem:first-child { +header > .hdritem-home { margin-right: 30px; } -header > .hdritem:nth-child(n + 2) { +header > .hdritem-view { margin-left: 15px; } @@ -100,13 +100,17 @@ header > .hdritem:nth-child(n + 2) { } /* log page */ -.pagepicker { +.pagepicker, .viewopts { display: inline-block; background-color: var(--footer-bg-color); padding: 5px; border-radius: 5px; } +.viewopts { + margin-top: 10px; +} + .pagepicker-pages { display: inline-block; margin-left: 10px; |
