Frontend: Add public channel list and channel log file list

This commit is contained in:
2023-09-06 21:51:11 +02:00
parent 1ffe5fffb4
commit 242cad6291
5 changed files with 173 additions and 9 deletions

View File

@@ -1 +1,13 @@
<h1>{{var}}</h1>
<!DOCTYPE HTML>
<html>
<head>
<title>irclogger_web</title>
</head>
<body>
<h2>Channel list</h2>
<table border>
<tr><th>Channel</th><th>Network</th></tr>
{{publicChannels}}
</table>
</body>
</html>

12
templates/view_logs.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Logs for {{channel}} at {{server}}</title>
</head>
<body>
<table border>
<tr><th>File</th></tr>
{{logs}}
</table>
</body>
</html>