48 lines
1.4 KiB
HTML
48 lines
1.4 KiB
HTML
|
<!doctype html>
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>HTTP boot server</title>
|
||
|
<link rel="stylesheet" href="/static/stylesheets/main.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div class="main-container">
|
||
|
|
||
|
<div class="title-container">
|
||
|
<h1>HTTP boot server admin page</h1>
|
||
|
</div>
|
||
|
|
||
|
<div class="client-list-container">
|
||
|
<h2>Currently enrolled clients</h2>
|
||
|
|
||
|
{{range .Clients}}
|
||
|
<div class="client-container">
|
||
|
<div class="client-header">
|
||
|
<span class="client-name">{{.Name}}</span>
|
||
|
<span class="client-uuid">{{.ID}}</span>
|
||
|
</div>
|
||
|
<div class="client-content">
|
||
|
<div class="client-boot-options">
|
||
|
{{range .BootOptions}}
|
||
|
<div class="client-boot-option{{if .Selected}} selected{{end}}">
|
||
|
<div>
|
||
|
<span class="boot-option-name">{{.Name}}</span>
|
||
|
<span class="boot-option-uuid">{{.ID}}</span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<span class="boot-option-path">{{.Path}}</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|