From f7112d49bee393af2155703c49809e5d83e77b5c Mon Sep 17 00:00:00 2001 From: Khalah Jones-Golden Date: Thu, 10 Mar 2016 14:02:26 -0400 Subject: [PATCH 01/13] [Chrome] Append nav controls changes --- .../kibana/public/dashboard/index.html | 3 +- src/plugins/kibana/public/discover/index.html | 3 +- .../public/visualize/editor/editor.html | 3 +- src/ui/public/chrome/chrome.html | 1 + .../chrome/directives/append_nav_controls.js | 8 +- src/ui/public/chrome/directives/index.js | 1 + .../directives/kbn_loading_indicator.js | 12 ++ src/ui/public/images/kibana.svg | 111 +----------------- src/ui/public/styles/base.less | 1 + src/ui/public/timepicker/toggle.js | 27 +++-- 10 files changed, 43 insertions(+), 127 deletions(-) create mode 100644 src/ui/public/chrome/directives/kbn_loading_indicator.js diff --git a/src/plugins/kibana/public/dashboard/index.html b/src/plugins/kibana/public/dashboard/index.html index 042f90b7aba6..75c534cae9c4 100644 --- a/src/plugins/kibana/public/dashboard/index.html +++ b/src/plugins/kibana/public/dashboard/index.html @@ -51,7 +51,8 @@ ng-click="configTemplate.toggle('options');"> Options -
+ + diff --git a/src/plugins/kibana/public/discover/index.html b/src/plugins/kibana/public/discover/index.html index bf39d0e25d9d..aa6af03200c6 100644 --- a/src/plugins/kibana/public/discover/index.html +++ b/src/plugins/kibana/public/discover/index.html @@ -39,7 +39,8 @@ ng-click="configTemplate.toggle('share');"> Share -
+ + Refresh -
+ + diff --git a/src/ui/public/chrome/chrome.html b/src/ui/public/chrome/chrome.html index 52d2c961f2c8..9210a73c3d43 100644 --- a/src/ui/public/chrome/chrome.html +++ b/src/ui/public/chrome/chrome.html @@ -81,7 +81,7 @@ -
+
diff --git a/src/ui/public/chrome/directives/active_http_spinner.html b/src/ui/public/chrome/directives/active_http_spinner.html deleted file mode 100644 index eac432ce1ee6..000000000000 --- a/src/ui/public/chrome/directives/active_http_spinner.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/src/ui/public/chrome/directives/append_nav_controls.js b/src/ui/public/chrome/directives/append_nav_controls.js index 4ce824823ec1..1433ec065442 100644 --- a/src/ui/public/chrome/directives/append_nav_controls.js +++ b/src/ui/public/chrome/directives/append_nav_controls.js @@ -13,7 +13,7 @@ export default function (chrome, internals) { const parts = [$element.html()]; const controls = Private(chromeNavControlsRegistry); - for (const control of [...controls.inOrder]) { + for (const control of controls.inOrder) { parts.unshift( ``, control.template diff --git a/src/ui/public/chrome/directives/kbn_loading_indicator.js b/src/ui/public/chrome/directives/kbn_loading_indicator.js index b920b68f87e6..2f954529ba75 100644 --- a/src/ui/public/chrome/directives/kbn_loading_indicator.js +++ b/src/ui/public/chrome/directives/kbn_loading_indicator.js @@ -4,9 +4,13 @@ const spinnerTemplate = '
Date: Tue, 15 Mar 2016 15:04:52 -0400 Subject: [PATCH 03/13] [Chrome] Made some stlye changes and html to ensure shield looks and works right --- src/ui/public/chrome/chrome.html | 8 ++++---- .../chrome/directives/app_switcher/app_switcher.less | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/ui/public/chrome/chrome.html b/src/ui/public/chrome/chrome.html index 9210a73c3d43..3461e292ebfe 100644 --- a/src/ui/public/chrome/chrome.html +++ b/src/ui/public/chrome/chrome.html @@ -21,9 +21,9 @@ -