File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
internal/glance/templates Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 22
33{{ define "widget-content" }}
44{{ if not (and .ShowFailingOnly (not .HasFailing)) }}
5- < ul class ="dynamic-columns list-gap-8 ">
5+ < ul class ="dynamic-columns list-gap-10 ">
66 {{ range .Sites }}
77 {{ if and $.ShowFailingOnly (eq .StatusStyle "ok" ) }}{{ continue }}{{ end }}
88 < div class ="flex items-center gap-12 ">
2121{{ end }}
2222
2323{{ define "site" }}
24+ {{ if .Icon.URL }}
25+ {{ .Icon.ElemWithClass "square-20" }}
26+ {{ end }}
2427< a class ="size-title-dynamic color-highlight text-truncate block grow " href ="{{ .URL | safeURL }} " {{ if not .SameTab }}target ="_blank "{{ end }} rel ="noreferrer "> {{ .Title }}</ a >
2528{{ if not .Status.TimedOut }}< div > {{ .Status.ResponseTime.Milliseconds | formatNumber }}ms</ div > {{ end }}
2629{{ if eq .StatusStyle "ok" }}
You can’t perform that action at this time.
0 commit comments