diff --git a/web/static/css/graph.css b/web/static/css/graph.css
index b8c190789..41b942812 100644
--- a/web/static/css/graph.css
+++ b/web/static/css/graph.css
@@ -176,3 +176,28 @@ select name="insert_metric" {
.config label.checkbox {
padding-top: 0;
}
+
+.grouping_box {
+ position: relative;
+ padding: 0 5px 0 5px;
+ background-color: #fff;
+ border: 1px solid #ccc;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ margin: 0 8px 2px 8px;
+}
+
+.grouping_box .head, .eval_stats {
+ display: inline-block;
+ vertical-align: top;
+}
+
+.grouping_box .head .opts {
+ float: right;
+}
+
+input[name="end_input"], input[name="range_input"] {
+ margin-left: -4px;
+ margin-right: -4px;
+}
diff --git a/web/static/css/prometheus.css b/web/static/css/prometheus.css
index 035153a12..7dacd520b 100644
--- a/web/static/css/prometheus.css
+++ b/web/static/css/prometheus.css
@@ -2,52 +2,14 @@ body {
padding-top: 40px;
}
-.error_text {
- background-color: #f2dede;
- border: 1px solid #c0a0a0;
- padding: 0 2px 0 2px;
-}
-
-h2 {
- margin-left: 8px;
-}
-
-.grouping_box {
- position: relative;
- padding: 0 5px 0 5px;
- background-color: #fff;
- border: 1px solid #ccc;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- margin: 0 8px 2px 8px;
-}
-
-.grouping_box .head, .eval_stats {
- display: inline-block;
- vertical-align: top;
-}
-
-.grouping_box .head .opts {
- float: right;
+th.job_header {
+ font-size: 20px;
+ padding-top: 10px;
+ padding-bottom: 10px;
}
-table tbody th {
- text-align: left;
-}
-
-input {
- margin: 0;
- border: 1px solid gray;
-}
-
-select {
- z-index: 10;
-}
-
-input[name=end_input], input[name=range_input] {
- margin-left: -4px;
- margin-right: -4px;
+.error_text {
+ padding: 0 4px 0 4px;
}
/*
@@ -60,5 +22,3 @@ div.navbar {
.literal_output td {
font-family: monospace;
}
-
-
diff --git a/web/templates/databases.html b/web/templates/databases.html
index f2be7230e..045222964 100644
--- a/web/templates/databases.html
+++ b/web/templates/databases.html
@@ -1,39 +1,38 @@
{{define "head"}}{{end}}
{{define "content"}}
-
Database Information
-
- {{range .States}}
-
-
{{.Name}}
-
-
-
- Path |
- {{.Path}} |
-
-
- Last Refreshed |
- {{.LastRefreshed}} |
-
-
- Type |
- {{.Type}} |
-
-
- Approximate Size |
- {{.ApproximateSize}} |
-
-
- Low Level Status |
- {{.LowLevelStatus}} |
-
-
- SSTable Status |
- {{.SSTablesStatus}} |
-
-
-
+
+
Database Information
+ {{range .States}}
+
{{.Name}}
+
+
+
+ Path |
+ {{.Path}} |
+
+
+ Last Refreshed |
+ {{.LastRefreshed}} |
+
+
+ Type |
+ {{.Type}} |
+
+
+ Approximate Size |
+ {{.ApproximateSize}} |
+
+
+ Low Level Status |
+ {{.LowLevelStatus}} |
+
+
+ SSTable Status |
+ {{.SSTablesStatus}} |
+
+
+
+ {{end}}
- {{end}}
{{end}}
diff --git a/web/templates/status.html b/web/templates/status.html
index 5f429226f..59ef11975 100644
--- a/web/templates/status.html
+++ b/web/templates/status.html
@@ -1,49 +1,40 @@
{{define "head"}}{{end}}
{{define "content"}}
+
Runtime Information
-
-
-
-
- Uptime |
- {{.Birth}} |
-
-
-
-
+
+
+
+ Uptime |
+ {{.Birth}} |
+
+
+
+
Build Information
-
-
-
- {{range $key, $value := .BuildInfo}}
-
- {{$key}} |
- {{$value}} |
-
- {{end}}
-
-
-
+
+
+ {{range $key, $value := .BuildInfo}}
+
+ {{$key}} |
+ {{$value}} |
+
+ {{end}}
+
+
Configuration
-
+
{{.Config}}
Rules
-
{{range .RuleManager.Rules}}{{.HTMLSnippet}}
{{end}}
-
Targets
-
{{range $job, $pool := .TargetPools}}
-
{{$job}}
-
+
+
Endpoint |
State |
@@ -69,7 +60,7 @@
{{if .LastError}}
- {{.LastError}}
+ {{.LastError}}
{{end}}
|
@@ -77,43 +68,39 @@
{{end}}
-
Curation
-
-
-
- Active |
- {{.Curation.Active}} |
-
- {{if .Curation.Active}}
-
- Processor Name |
- {{.Curation.Name}} |
-
-
- Recency Limit |
- {{.Curation.Limit}} |
-
+
+
+ Active |
+ {{.Curation.Active}} |
+
+ {{if .Curation.Active}}
+
+ Processor Name |
+ {{.Curation.Name}} |
+
+
+ Recency Limit |
+ {{.Curation.Limit}} |
+
+
+ Current Fingerprint |
+ {{.Curation.Fingerprint}} |
+
+ {{end}}
+
+
+ Startup Flags
+
+
+ {{range $key, $value := .Flags}}
- Current Fingerprint |
- {{.Curation.Fingerprint}} |
+ {{$key}} |
+ {{$value}} |
{{end}}
-
-
-
- Startup Flags
-
-
-
- {{range $key, $value := .Flags}}
-
- {{$key}} |
- {{$value}} |
-
- {{end}}
-
-
-
+
+
+
{{end}}