From 0441518a71983e51354b03add92649566746b801 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 30 Jul 2015 15:39:05 -0400 Subject: [PATCH] Add IDs to H2 tags to allow anchored linking Allow sharing links directly to areas of the status page f.e. http://prometheus.internal/#config/ --- web/blob/templates/status.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/blob/templates/status.html b/web/blob/templates/status.html index c206eb5bb..84197f0d3 100644 --- a/web/blob/templates/status.html +++ b/web/blob/templates/status.html @@ -2,7 +2,7 @@ {{define "content"}}
-

Runtime Information

+

Runtime Information

@@ -12,7 +12,7 @@
-

Build Information

+

Build Information

{{range $key, $value := .Info}} @@ -24,13 +24,13 @@
-

Configuration

+

Configuration

{{.Status.Config}}
-

Rules

+

Rules

{{range call .Status.Rules}}{{.HTMLSnippet pathPrefix}}
{{end}}
-

Targets

+

Targets

{{range $job, $pool := call .Status.TargetPools}} @@ -85,7 +85,7 @@ {{end}}
-

Startup Flags

+

Startup Flags

{{range $key, $value := .Status.Flags}}