ptth/handlebars/relay/unregistered_servers.hbs

72 lines
1.4 KiB
Handlebars
Raw Normal View History

<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAlJSUAAGIAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAIiIiIgAAAAAAAAAgAAAAAAAAAAAAADIiIiIi
IiIjMhERERERESMyERERERERIzIREREREREjMhERIRERESMyERIiIiERIzIRESEREREjMhERERER
ESMyERERERERIzIREREREREjMiIiIiIiIiMAAAAAAAAAAAAAAAAAAAAAAAAAAIABAACAAQAAgAEA
AIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAA" rel="icon" type="image/x-icon" />
<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>Unregistered servers</title>
</head>
<body>
<h1>Unregistered servers</h1>
<div style="padding-top: 1em;">
{{#if unregistered_servers}}
<table class="entry_list">
<thead>
<tr>
<th>Name</th>
<th>Tripcode</th>
<th>Time seen</th>
</tr>
</thead>
<tbody>
{{#each unregistered_servers}}
<tr>
<td>{{this.name}}</td>
<td>{{this.tripcode}}</td>
<td><span class="grey">{{this.last_seen}}</span></td>
</tr>
{{/each}}
</tbody>
</table>
{{else}}
(No unregistered servers have reported yet)
{{/if}}
</div>
</body>
</html>