summaryrefslogtreecommitdiff
path: root/pages/log.mustache
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-04-01 00:21:56 +0200
committerTom Smeding <tom@tomsmeding.com>2026-04-01 00:21:56 +0200
commite24ea510232b0831a81ba0d4a2623976f79a3d9f (patch)
tree00767d8b2994475e37d362a3ae6fd540f6c59fdf /pages/log.mustache
parentf8981b5c5ec4519bc087bea2d465b7a4a82dca8b (diff)
Styling and layout
Thanks Daniel!
Diffstat (limited to 'pages/log.mustache')
-rw-r--r--pages/log.mustache53
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}}">&lt;Prev</a>
- {{/prevpage}}
- {{#leftnums}}
- <a href="?page={{.}}">{{.}}</a>
- {{/leftnums}}
- <b>{{curnum}}</b>
- {{#rightnums}}
- <a href="?page={{.}}">{{.}}</a>
- {{/rightnums}}
- {{#nextpage}}
- <a href="?page={{nextpage}}">Next&gt;</a>
- ..
- <a href="?page={{npages}}">{{npages}}</a>
- {{/nextpage}}
+ {{#prevpage}}<a href="?page={{prevpage}}">{{/prevpage}}{{^prevpage}}<span class="link-disabled">{{/prevpage}}&larr;Prev</a>&nbsp;
+ {{#nextpage}}<a href="?page={{nextpage}}">{{/nextpage}}{{^nextpage}}<span class="link-disabled">{{/nextpage}}Next&rarr;</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">&mdash;</span>
- {{totalevents}} events total.
+ <span style="margin: 0 9px 0 4px">&mdash;</span>
+ {{totalevents}} events total
</div>
<table id="events"><tbody>
{{#events}}