nano-run/templates/units-list.html
Alexander Baryshnikov dac1910200 add ui stub
2020-09-28 21:46:37 +08:00

17 lines
479 B
HTML

<html>
<body>
{{range .Units}}
<div>
<a href="unit/{{.Name}}">
<h2>{{.Name}}</h2>
</a>
<p>
<span class="unit-mode unit-mode-{{.Mode}}">{{.Mode}}</span>,
<span class="unit-mode unit-mode-workers">{{.Workers}}</span>,
<span class="unit-mode unit-mode-interval">{{.Interval}}</span>,
<span class="unit-mode unit-mode-timeout">{{.Timeout}}</span>,
</p>
</div>
{{end}}
</body>
</html>