mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
Fix console templates (#5228)
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
This commit is contained in:
parent
b41d6d54f2
commit
87c79b0c81
|
@ -19,9 +19,9 @@
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<li><a href="{{ pathPrefix }}/alerts">Alerts</a></li>
|
<li><a href="{{ pathPrefix }}/alerts">Alerts</a></li>
|
||||||
<li><a href="https://www.pagerduty.com/">PagerDuty</a></li>
|
<li><a href="https://www.pagerduty.com/">PagerDuty</a></li>
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,9 @@ var PATH_PREFIX = "{{ pathPrefix }}";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* Top of all pages. */}}
|
{{/* Top of all pages. */}}
|
||||||
{{ define "head" }}
|
{{ define "head" -}}
|
||||||
<html>
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{{ template "prom_console_head" }}
|
{{ template "prom_console_head" }}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<tr><td colspan=4>No devices found.</td></tr>
|
<tr><td colspan=4>No devices found.</td></tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</table>
|
||||||
|
|
||||||
{{ template "prom_content_tail" . }}
|
{{ template "prom_content_tail" . }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue