diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-04-01 00:21:56 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-04-01 00:21:56 +0200 |
| commit | e24ea510232b0831a81ba0d4a2623976f79a3d9f (patch) | |
| tree | 00767d8b2994475e37d362a3ae6fd540f6c59fdf /pages/log.mustache | |
| parent | f8981b5c5ec4519bc087bea2d465b7a4a82dca8b (diff) | |
Styling and layout
Thanks Daniel!
Diffstat (limited to 'pages/log.mustache')
| -rw-r--r-- | pages/log.mustache | 53 |
1 files changed, 29 insertions, 24 deletions
diff --git a/pages/log.mustache b/pages/log.mustache index 24b7b78..851288d 100644 --- a/pages/log.mustache +++ b/pages/log.mustache @@ -2,7 +2,8 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title>Ircbrowse2: {{channel}} ({{network}})</title> + <title>ircbrowse2: {{channel}} ({{network}})</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/style.css"> </head> <body> @@ -10,35 +11,39 @@ <header> <a href="/" class="hdritem">Home</a> <span class="hdrspacer"></span> - <span class="hdrchannel">{{network}}/{{channel}}</span> - <span class="hdrspacer"></span> <a href="/cal/{{alias}}" class="hdritem">Calendar</a> </header> <main> - <h1>Logs for {{channel}} on {{network}}</h1> + <h1>Logs: {{network}}/{{channel}}</h1> <div id="pagepicker"> {{#picker}} - Page - {{#prevpage}} - <a href="?page=1">1</a> - .. - <a href="?page={{prevpage}}"><Prev</a> - {{/prevpage}} - {{#leftnums}} - <a href="?page={{.}}">{{.}}</a> - {{/leftnums}} - <b>{{curnum}}</b> - {{#rightnums}} - <a href="?page={{.}}">{{.}}</a> - {{/rightnums}} - {{#nextpage}} - <a href="?page={{nextpage}}">Next></a> - .. - <a href="?page={{npages}}">{{npages}}</a> - {{/nextpage}} + {{#prevpage}}<a href="?page={{prevpage}}">{{/prevpage}}{{^prevpage}}<span class="link-disabled">{{/prevpage}}←Prev</a> + {{#nextpage}}<a href="?page={{nextpage}}">{{/nextpage}}{{^nextpage}}<span class="link-disabled">{{/nextpage}}Next→</a> + <div id="pagepicker-pages"> + Page + {{#firstpage}} + <a href="?page=1">1</a> + {{/firstpage}} + {{#leftdots}} + .. + {{/leftdots}} + {{#leftnums}} + <a href="?page={{.}}">{{.}}</a> + {{/leftnums}} + <b>{{curnum}}</b> + {{#rightnums}} + <a href="?page={{.}}">{{.}}</a> + {{/rightnums}} + {{#rightdots}} + .. + {{/rightdots}} + {{#lastpage}} + <a href="?page={{npages}}">{{npages}}</a> + {{/lastpage}} + </div> {{/picker}} - <span style="margin: 0 10px 0 11px">—</span> - {{totalevents}} events total. + <span style="margin: 0 9px 0 4px">—</span> + {{totalevents}} events total </div> <table id="events"><tbody> {{#events}} |
