summaryrefslogtreecommitdiff
path: root/pages/log.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'pages/log.mustache')
-rw-r--r--pages/log.mustache59
1 files changed, 59 insertions, 0 deletions
diff --git a/pages/log.mustache b/pages/log.mustache
new file mode 100644
index 0000000..24b7b78
--- /dev/null
+++ b/pages/log.mustache
@@ -0,0 +1,59 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>Ircbrowse2: {{channel}} ({{network}})</title>
+ <link rel="stylesheet" href="/style.css">
+</head>
+<body>
+ <div id="gridwrapper" data-page="withheader">
+ <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>
+ <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}}
+ {{/picker}}
+ <span style="margin: 0 10px 0 11px">&mdash;</span>
+ {{totalevents}} events total.
+ </div>
+ <table id="events"><tbody>
+ {{#events}}
+ <tr{{#classlist}} class="{{.}}"{{/classlist}}>
+ <td>{{datetime}}</td>
+ <td>{{#nickwrap1}}<span class="nickwrap">{{nickwrap1}}</span>{{/nickwrap1}}{{nick}}{{#nickwrap2}}<span class="nickwrap">{{nickwrap2}}</span>{{/nickwrap2}}</td>
+ <td>{{message}}</td>
+ </tr>
+ {{/events}}
+ </tbody></table>
+ </main>
+ <footer>
+ An IRC log viewer by
+ <a href="https://tomsmeding.com">Tom Smeding</a>.
+ </footer>
+ </div>
+</body>
+</html>