From 89ce1a5159db711771dc47eb98336576430b0de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 27 Oct 2015 13:17:28 +0100 Subject: [PATCH] fix(dashlist): minor fix to dashlist panel, and some minor html markup fixes --- .../features/dashboard/partials/settings.html | 46 ++++++++++--------- .../features/panel/partials/panelTime.html | 2 +- public/app/panels/dashlist/editor.html | 6 +-- public/app/panels/dashlist/module.js | 2 + public/app/panels/singlestat/editor.html | 14 +++--- 5 files changed, 37 insertions(+), 33 deletions(-) diff --git a/public/app/features/dashboard/partials/settings.html b/public/app/features/dashboard/partials/settings.html index 543fad9de22..541ef45e9ab 100644 --- a/public/app/features/dashboard/partials/settings.html +++ b/public/app/features/dashboard/partials/settings.html @@ -77,28 +77,30 @@
Rows settings
-
-
    -
  • - Title -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
+
+
+
    +
  • + Title +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
diff --git a/public/app/features/panel/partials/panelTime.html b/public/app/features/panel/partials/panelTime.html index f5bfac1d8d9..04954108aca 100644 --- a/public/app/features/panel/partials/panelTime.html +++ b/public/app/features/panel/partials/panelTime.html @@ -1,5 +1,5 @@
-
+
  • diff --git a/public/app/panels/dashlist/editor.html b/public/app/panels/dashlist/editor.html index 7b176b74317..1a0ba518c01 100644 --- a/public/app/panels/dashlist/editor.html +++ b/public/app/panels/dashlist/editor.html @@ -1,7 +1,7 @@
    -
    +
    • Mode @@ -14,7 +14,7 @@
    -
    +
    • Search options @@ -41,7 +41,7 @@
      -
      +
      • Limit number to diff --git a/public/app/panels/dashlist/module.js b/public/app/panels/dashlist/module.js index 788e2968c48..1b20e9e5310 100644 --- a/public/app/panels/dashlist/module.js +++ b/public/app/panels/dashlist/module.js @@ -43,8 +43,10 @@ function (angular, app, _, config, PanelMeta) { $scope.init = function() { panelSrv.init($scope); + if ($scope.panel.tag) { $scope.panel.tags = [$scope.panel.tag]; + delete $scope.panel.tag; } if ($scope.isNewPanel()) { diff --git a/public/app/panels/singlestat/editor.html b/public/app/panels/singlestat/editor.html index 6b055e68bb4..f8df6d8adc9 100644 --- a/public/app/panels/singlestat/editor.html +++ b/public/app/panels/singlestat/editor.html @@ -1,5 +1,5 @@
        -
        +
        • @@ -68,7 +68,7 @@ Decimals
        • -
        @@ -79,7 +79,7 @@
        -
        +
        • Coloring @@ -121,7 +121,7 @@
          -
          +
          • Spark lines @@ -147,7 +147,7 @@
          • Fill Color
          • -
          • +
          @@ -158,7 +158,7 @@
          -
          +
          • Value to text mapping @@ -177,7 +177,7 @@
          • - +