From d2eeace4b30e098d0e2d3db93caf5b41bccdf841 Mon Sep 17 00:00:00 2001 From: cuigh Date: Mon, 23 Apr 2018 16:36:19 +0800 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=98is-hoverable=E2=80=99=20class=20?= =?UTF-8?q?to=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- biz/chart.go | 6 +++--- views/config/list.jet | 2 +- views/container/list.jet | 2 +- views/image/list.jet | 2 +- views/network/list.jet | 2 +- views/node/list.jet | 2 +- views/registry/list.jet | 2 +- views/secret/list.jet | 2 +- views/service/list.jet | 2 +- views/service/template/list.jet | 2 +- views/stack/list.jet | 2 +- views/system/event/list.jet | 2 +- views/system/role/list.jet | 2 +- views/system/user/list.jet | 2 +- views/task/list.jet | 2 +- views/volume/list.jet | 2 +- 16 files changed, 18 insertions(+), 18 deletions(-) diff --git a/biz/chart.go b/biz/chart.go index 7de5851..66bb212 100644 --- a/biz/chart.go +++ b/biz/chart.go @@ -174,21 +174,21 @@ func (b *chartBiz) FetchDatas(key string, names []string, period time.Duration) case "line", "bar": d, err := Metric.GetMatrix(query, chart.Legend, start, end) if err != nil { - log.Get("metric").Error(err, query) + log.Get("metric").Error(err) } else { datas[chart.Name] = d } case "pie": d, err := Metric.GetVector(query, chart.Legend, end) if err != nil { - log.Get("metric").Error(err, query) + log.Get("metric").Error(err) } else { datas[chart.Name] = d } case "gauge": d, err := Metric.GetScalar(query, end) if err != nil { - log.Get("metric").Error(err, query) + log.Get("metric").Error(err) } else { datas[chart.Name] = &model.ChartValue{ //Name: "", diff --git a/views/config/list.jet b/views/config/list.jet index 99ba649..fe2ca97 100644 --- a/views/config/list.jet +++ b/views/config/list.jet @@ -48,7 +48,7 @@ - +
diff --git a/views/container/list.jet b/views/container/list.jet index 351bbdd..a402238 100644 --- a/views/container/list.jet +++ b/views/container/list.jet @@ -59,7 +59,7 @@ -
+
diff --git a/views/image/list.jet b/views/image/list.jet index 7a69e44..f5d3389 100644 --- a/views/image/list.jet +++ b/views/image/list.jet @@ -46,7 +46,7 @@ -
+
diff --git a/views/network/list.jet b/views/network/list.jet index 16e13ec..b7bccc0 100644 --- a/views/network/list.jet +++ b/views/network/list.jet @@ -32,7 +32,7 @@ -
+
diff --git a/views/node/list.jet b/views/node/list.jet index ea99b3a..8bc14e1 100644 --- a/views/node/list.jet +++ b/views/node/list.jet @@ -27,7 +27,7 @@ -
{{ i18n("field.name") }}
+
diff --git a/views/registry/list.jet b/views/registry/list.jet index 866030a..0699ebc 100644 --- a/views/registry/list.jet +++ b/views/registry/list.jet @@ -31,7 +31,7 @@ -
{{ i18n("field.name") }}
+
diff --git a/views/secret/list.jet b/views/secret/list.jet index b068cd4..220a067 100644 --- a/views/secret/list.jet +++ b/views/secret/list.jet @@ -48,7 +48,7 @@ -
{{ i18n("field.name") }}
+
diff --git a/views/service/list.jet b/views/service/list.jet index eb8bb46..9e59718 100644 --- a/views/service/list.jet +++ b/views/service/list.jet @@ -37,7 +37,7 @@ -
+
diff --git a/views/service/template/list.jet b/views/service/template/list.jet index 619cb63..9060b6f 100644 --- a/views/service/template/list.jet +++ b/views/service/template/list.jet @@ -36,7 +36,7 @@

-
{{ i18n("field.name") }}
+
diff --git a/views/stack/list.jet b/views/stack/list.jet index b5435c4..1430f6f 100644 --- a/views/stack/list.jet +++ b/views/stack/list.jet @@ -71,7 +71,7 @@

-
{{ i18n("field.name") }}
+
diff --git a/views/system/event/list.jet b/views/system/event/list.jet index 8d2f9d3..665af7d 100644 --- a/views/system/event/list.jet +++ b/views/system/event/list.jet @@ -91,7 +91,7 @@ -
{{ i18n("field.name") }}
+
diff --git a/views/system/role/list.jet b/views/system/role/list.jet index 42e6f7f..24011c5 100644 --- a/views/system/role/list.jet +++ b/views/system/role/list.jet @@ -24,7 +24,7 @@ -
{{ i18n("field.type") }}
+
diff --git a/views/system/user/list.jet b/views/system/user/list.jet index 9929397..0a374bf 100644 --- a/views/system/user/list.jet +++ b/views/system/user/list.jet @@ -66,7 +66,7 @@ -
{{ i18n("field.name") }}
+
diff --git a/views/task/list.jet b/views/task/list.jet index ef8be87..91361a5 100644 --- a/views/task/list.jet +++ b/views/task/list.jet @@ -44,7 +44,7 @@ -
{{ i18n("field.name") }}
+
diff --git a/views/volume/list.jet b/views/volume/list.jet index 321d02b..815e311 100644 --- a/views/volume/list.jet +++ b/views/volume/list.jet @@ -51,7 +51,7 @@ -
{{ i18n("field.id") }}
+