|
|
@@ -881,7 +881,7 @@ class WebServer: |
|
|
|
for path, (channel, auth, hidden, extrasearchpaths, description) in self._paths.items(): |
|
|
|
if hidden: |
|
|
|
continue |
|
|
|
lines.append(f'{"(PW) " if auth else ""}<a href="/{html.escape(path)}/today">{html.escape(channel)}</a> (<a href="/{html.escape(path)}/search">search</a>)') |
|
|
|
lines.append(f'{"(PW) " if auth else ""}<a href="/{html.escape(path)}">{html.escape(channel)}</a> (<a href="/{html.escape(path)}/today">today's log</a>, <a href="/{html.escape(path)}/search">search</a>)') |
|
|
|
return aiohttp.web.Response(text = f'<!DOCTYPE html><html lang="en"><head><title>IRC logs</title></head><body>{"<br />".join(lines)}</body></html>', content_type = 'text/html') |
|
|
|
|
|
|
|
async def get_channel_info(self, request): |
|
|
|