diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-04-03 22:10:56 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-04-03 22:10:56 +0200 |
| commit | acd9c66c663ea6b0b2fb9dd0a563897c2fae45eb (patch) | |
| tree | 03e24cb4475367e55cc613f6b0080de7cf618063 /pages/calendar.mustache | |
| parent | 40d29ea3eef3f7fa15ab629b5f6694dab66d9b68 (diff) | |
Calendar view
Diffstat (limited to 'pages/calendar.mustache')
| -rw-r--r-- | pages/calendar.mustache | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/pages/calendar.mustache b/pages/calendar.mustache new file mode 100644 index 0000000..79475cb --- /dev/null +++ b/pages/calendar.mustache @@ -0,0 +1,59 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Calendar {{channel}} ({{network}}) - ircbrowse2</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="/style.css"> +</head> +<body> + <div id="gridwrapper" data-page="withheader"> + <header> + <a href="/" class="hdritem">Home</a> + {{network}}/{{channel}}: + <a href="/log/{{alias}}" class="hdritem">Logs</a> + <a href="/cal/{{alias}}" class="hdritem">Calendar</a> + </header> + <main> + <h1>Calendar: {{network}}/{{channel}}</h1> + {{#years}} + <h2>{{year}}</h2> + <table><tbody> + {{#monrows}} + <tr> + {{#months}} + <td class="calmonth"> + {{#monthname}} + <b>{{monthname}}</b><br> + <table class="calmonth"><tbody> + {{#weeks}} + <tr> + {{#days}} + <td>{{#date}}<a href="/cal/{{alias}}/{{year}}-{{month00}}-{{date00}}">{{date}}</a>{{/date}}</td> + {{/days}} + {{^days}} + <td> </td> + {{/days}} + </tr> + {{/weeks}} + {{#phantomweek}} + <tr style="opacity:0"> + <td>30</td><td>30</td><td>30</td><td>30</td><td>30</td><td>30</td><td>30</td> + </tr> + {{/phantomweek}} + </tbody></table> + {{/monthname}} + </td> + {{/months}} + </tr> + {{/monrows}} + </tbody></table> + {{/years}} + </main> + <footer> + An IRC log viewer by + <a href="https://tomsmeding.com">Tom Smeding</a>. + </footer> + </div> +</body> +</html> |
