ptth/ptth_handlebars/relay_server_list.html

40 lines
582 B
HTML
Raw Normal View History

2020-10-31 20:46:38 +00:00
<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}}/files/">{{this.name}}</a>
2020-10-31 20:46:38 +00:00
</div>
{{/each}}
{{else}}
(No servers are running)
{{/if}}
</div>
</body>
</html>