prober: make status page more clear

Updates tailscale/corp#20583

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
This commit is contained in:
Anton Tolchanov
2024-08-08 09:38:17 +01:00
committed by Anton Tolchanov
parent f79183dac7
commit 46db698333
3 changed files with 8 additions and 7 deletions

View File

@@ -71,12 +71,12 @@
<table class="sortable">
<thead><tr>
<th>Name</th>
<th>Class & Labels</th>
<th>Probe Class & Labels</th>
<th>Interval</th>
<th>Result</th>
<th>Last Attempt</th>
<th>Success</th>
<th>Latency</th>
<th>Error</th>
<th>Last Error</th>
</tr></thead>
<tbody>
{{range $name, $probeInfo := .Probes}}
@@ -100,8 +100,8 @@
<td>{{$probeInfo.Interval}}</td>
<td data-sort="{{$probeInfo.TimeSinceLast.Milliseconds}}">
{{if $probeInfo.TimeSinceLast}}
{{$probeInfo.TimeSinceLast.String}}<br/>
<span class="small">{{$probeInfo.End}}</span>
{{$probeInfo.TimeSinceLast.String}} ago<br/>
<span class="small">{{$probeInfo.End.Format "2006-01-02T15:04:05Z07:00"}}</span>
{{else}}
Never
{{end}}