http-boot-server/bootserver/templates/index.html
Melora Hugues ca59f1e25f
All checks were successful
continuous-integration/drone/push Build is passing
add first version of the UI
2023-08-16 23:33:26 +02:00

48 lines
No EOL
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>