Files
worker/internal/webapp/templates/app_detail.html
Gleb Tv 2c7a0236da feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
2026-07-13 17:55:14 +03:00

21 строка
680 B
HTML

{{define "body"}}<section class="card">
<h1>{{.App.Name}}</h1>
<dl>
<dt>Source</dt><dd>{{.App.Source}}</dd>
<dt>PID</dt><dd>{{.App.PID}}</dd>
<dt>Open ports</dt>
<dd>
{{if .App.Ports}}
<ul>
{{range .App.Ports}}<li>{{.}}</li>{{end}}
</ul>
{{else}}<span class="muted">none</span>{{end}}
</dd>
<dt>Cmdline</dt><dd><code>{{.App.Cmdline}}</code></dd>
<dt>Cwd</dt><dd><code>{{.App.CWD}}</code></dd>
<dt>Last seen</dt><dd>{{fmtTime .App.LastSeen}}</dd>
<dt>Last check</dt><dd><span class="muted">(Phase 1: no per-app probes)</span></dd>
</dl>
<p><a href="/apps">← All apps</a></p>
</section>{{end}}