83 lines
1.8 KiB
Handlebars
83 lines
1.8 KiB
Handlebars
<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;
|
|
}
|
|
form {
|
|
display: inline;
|
|
}
|
|
td {
|
|
/*padding: 20px;*/
|
|
}
|
|
.entry {
|
|
|
|
}
|
|
.grey {
|
|
color: #888;
|
|
}
|
|
.entry_list {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.padded {
|
|
padding: 20px;
|
|
}
|
|
.submit {
|
|
padding: 10px;
|
|
}
|
|
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><span class="padded">{{this.name}}</span></td>
|
|
<td>
|
|
<span class="padded">{{this.tripcode}}</span>
|
|
<form action="register" method="post">
|
|
<input type="hidden" name="name" value="{{this.name}}">
|
|
<input type="hidden" name="tripcode" value="{{this.tripcode}}">
|
|
<input class="submit" type="submit" value="Register">
|
|
</form>
|
|
</td>
|
|
<td><span class="padded">{{this.last_seen}}</span></td>
|
|
</tr>
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
</table>
|
|
{{else}}
|
|
(No unregistered servers have reported yet)
|
|
{{/if}}
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|