ui: show multiline command

This commit is contained in:
Alexander Baryshnikov 2020-12-08 17:31:40 +08:00
parent 40bdf6353a
commit fc36ee6064

View File

@ -108,7 +108,7 @@
</dd>
{{if or (eq .Unit.Mode "bin") (eq .Unit.Mode "cgi")}}
<dt class="col-sm-3">Command</dt>
<dd class="col-sm-9">{{.Unit.Command}}</dd>
<dd class="col-sm-9"><pre style="overflow-x: auto">{{.Unit.Command}}</pre></dd>
<dt class="col-sm-3">Shell</dt>
<dd class="col-sm-9">{{.Unit.Shell}}</dd>
{{end}}