2020-10-31 20:46:38 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2020-12-18 18:08:17 +00:00
|
|
|
<link href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAlJSUAAGIAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAIiIiIgAAAAAAAAAgAAAAAAAAAAAAADIiIiIi
|
|
|
|
IiIjMhERERERESMyERERERERIzIREREREREjMhERIRERESMyERIiIiERIzIRESEREREjMhERERER
|
|
|
|
ESMyERERERERIzIREREREREjMiIiIiIiIiMAAAAAAAAAAAAAAAAAAAAAAAAAAIABAACAAQAAgAEA
|
|
|
|
AIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAA" rel="icon" type="image/x-icon" />
|
2020-10-31 20:46:38 +00:00
|
|
|
<style>
|
|
|
|
body {
|
2020-11-02 19:17:22 +00:00
|
|
|
font-family: sans-serif;
|
2020-10-31 20:46:38 +00:00
|
|
|
}
|
2020-11-25 02:17:08 +00:00
|
|
|
td {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
td > * {
|
2020-10-31 20:46:38 +00:00
|
|
|
padding: 20px;
|
2020-11-25 02:17:08 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.entry {
|
|
|
|
|
2020-10-31 20:46:38 +00:00
|
|
|
}
|
2020-11-25 02:17:08 +00:00
|
|
|
.grey {
|
|
|
|
color: #888;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.entry_list {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
tbody tr:nth-child(odd) {
|
2020-10-31 20:46:38 +00:00
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<title>Server list</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1>Server list</h1>
|
|
|
|
|
2020-12-13 02:25:18 +00:00
|
|
|
{{#if dev_mode}}
|
|
|
|
<div style="color: red;">Relay is in dev mode. This should never be seen in production!</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-04-27 19:10:11 +00:00
|
|
|
{{#if news_url}}
|
2021-04-03 04:19:33 +00:00
|
|
|
<p>
|
2021-04-27 19:10:11 +00:00
|
|
|
<a href="{{news_url}}">News</a>
|
|
|
|
{{/if}}
|
2021-04-03 04:19:33 +00:00
|
|
|
|
2021-04-27 23:12:37 +00:00
|
|
|
<div>
|
|
|
|
|
|
|
|
<p>Connected servers: {{connected_server_count}}</p>
|
|
|
|
|
|
|
|
<p>Registered servers: {{registered_server_count}}</p>
|
|
|
|
|
|
|
|
<p>{{date_rfc3339}}</p>
|
|
|
|
|
2020-10-31 20:46:38 +00:00
|
|
|
{{#if servers}}
|
2020-11-25 02:17:08 +00:00
|
|
|
<table class="entry_list">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Last seen</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
2020-10-31 20:46:38 +00:00
|
|
|
{{#each servers}}
|
2020-11-25 02:17:08 +00:00
|
|
|
<tr>
|
2020-12-14 07:07:13 +00:00
|
|
|
<td><a class="entry" href="{{this.name}}/files/">{{this.display_name}}</a></td>
|
2020-11-25 02:17:08 +00:00
|
|
|
<td><span class="grey">{{this.last_seen}}</span></td>
|
|
|
|
</tr>
|
2020-10-31 20:46:38 +00:00
|
|
|
{{/each}}
|
2020-11-25 02:17:08 +00:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-10-31 20:46:38 +00:00
|
|
|
{{else}}
|
2020-12-13 02:25:18 +00:00
|
|
|
(No servers are registered in the config file)
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2021-04-27 19:10:11 +00:00
|
|
|
<h2>Admin</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="../unregistered_servers">Unregistered servers</a>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="../audit_log">Audit log</a>
|
|
|
|
|
2020-12-13 02:25:18 +00:00
|
|
|
<div style="color: #888; padding-top: 1em;">
|
|
|
|
{{#if git_version}}
|
|
|
|
Git version: {{git_version}}
|
|
|
|
{{else}}
|
|
|
|
Not built from Git
|
2020-10-31 20:46:38 +00:00
|
|
|
{{/if}}
|
2021-10-20 09:51:47 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
Rendered by PTTH relay server.
|
|
|
|
Copyright 2020-2021 "Trish" ReactorScram. Licensed under the
|
|
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPLv3.</a>
|
|
|
|
<a href="https://six-five-six-four.com/git/reactor/ptth">Download source code</a>
|
|
|
|
</p>
|
2020-12-13 02:25:18 +00:00
|
|
|
</div>
|
2020-10-31 20:46:38 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|