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

18 lines
510 B
HTML

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