nano-run/templates/unit-info.html

18 lines
510 B
HTML
Raw Normal View History

2020-09-28 13:46:37 +00:00
<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>