62 lines
891 B
HTML
62 lines
891 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
td {
|
|
padding: 0px;
|
|
}
|
|
td > * {
|
|
padding: 20px;
|
|
display: block;
|
|
}
|
|
.entry {
|
|
|
|
}
|
|
.grey {
|
|
color: #888;
|
|
text-align: right;
|
|
}
|
|
.entry_list {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
tbody tr:nth-child(odd) {
|
|
background-color: #ddd;
|
|
}
|
|
</style>
|
|
<title>Server list</title>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Server list</h1>
|
|
|
|
{{#if servers}}
|
|
<table class="entry_list">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Last seen</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
{{#each servers}}
|
|
<tr>
|
|
<td><a class="entry" href="{{this.path}}/files/">{{this.name}}</a></td>
|
|
<td><span class="grey">{{this.last_seen}}</span></td>
|
|
</tr>
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
</table>
|
|
{{else}}
|
|
(No servers have reported since this relay started)
|
|
{{/if}}
|
|
|
|
</body>
|
|
</html>
|