40 lines
576 B
HTML
40 lines
576 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
body {
|
|
font-family: sans;
|
|
}
|
|
.entry {
|
|
display: inline-block;
|
|
padding: 20px;
|
|
min-width: 50%;
|
|
}
|
|
.entry_list div:nth-child(odd) {
|
|
background-color: #ddd;
|
|
}
|
|
</style>
|
|
<title>Server list</title>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Server list</h1>
|
|
|
|
<div class="entry_list">
|
|
|
|
{{#if servers}}
|
|
{{#each servers}}
|
|
<div>
|
|
<a class="entry" href="{{this.path}}/">{{this.name}}</a>
|
|
</div>
|
|
{{/each}}
|
|
{{else}}
|
|
(No servers are running)
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|