mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 18:31:24 +02:00
Make monitor widget compact style title size dynamic
This commit is contained in:
parent
9c5298aebf
commit
a646f19b3f
@ -21,7 +21,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ define "site" }}
|
||||
<a class="size-h3 color-highlight text-truncate block grow" href="{{ .URL }}" {{ if not .SameTab }}target="_blank"{{ end }} rel="noreferrer">{{ .Title }}</a>
|
||||
<a class="size-title-dynamic color-highlight text-truncate block grow" href="{{ .URL }}" {{ if not .SameTab }}target="_blank"{{ end }} rel="noreferrer">{{ .Title }}</a>
|
||||
{{ if not .Status.TimedOut }}<div>{{ .Status.ResponseTime.Milliseconds | formatNumber }}ms</div>{{ end }}
|
||||
{{ if eq .StatusStyle "ok" }}
|
||||
<div class="monitor-site-status-icon" title="{{ .Status.Code }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user