diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.html b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.html index dc4d1fe66df419..c2b9370704b299 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.html +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.html @@ -6,86 +6,93 @@ class="kuiViewContent" > -
-
-

- Create index pattern -

+

+ Create index pattern +

-
- +
+ +
+
+
+

+ Kibana uses index patterns to retrieve data from Elasticsearch indices for things like visualizations. +

+
+
+ +
+
+ +
+
+
- -

- Kibana uses index patterns to retrieve data from Elasticsearch indices for things like visualizations. -

- -
-
- -
-
-

- Checking for Elasticsearch data -

+
-
-

- - + +

+
+
+ +
+

+ Checking for Elasticsearch data +

+
+
+
+ +
+
+

Reticulating splines... - - -

+

+
+
-
-
- - -
-
-
-

- Couldn't find any Elasticsearch data -

-
-

+ +

+
+

+ Couldn't find any Elasticsearch data +

+
+

You'll need to index some data into Elasticsearch before you can create an index pattern. Learn how.

-
- - + +
-
- -
- - + +
+ + - - + + +
diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.js b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.js index 6875c473bc2a11..597e0822be5922 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.js +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.js @@ -10,6 +10,7 @@ import { sendCreateIndexPatternRequest } from './send_create_index_pattern_reque import './step_index_pattern'; import './step_time_field'; import './matching_indices_list'; +import './create_index_pattern_wizard.less'; uiRoutes .when('/management/kibana/index', { diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.less b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.less new file mode 100644 index 00000000000000..ce9d4929787340 --- /dev/null +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/create_index_pattern_wizard.less @@ -0,0 +1,4 @@ +.createIndexPatternPrompt { + width: 100%; + max-width: 600px; +} diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/matching_indices_list/matching_indices_list.html b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/matching_indices_list/matching_indices_list.html index f7946f2518bde5..4f54312e919b3c 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/matching_indices_list/matching_indices_list.html +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/matching_indices_list/matching_indices_list.html @@ -1,68 +1,112 @@
-
-

- Looking for matching indices -

- -
-

- Just a sec... -

-
-
+

+ Looking for matching indices +

+
+

+ Just a sec... +

+
+
- -
-
-

- -

-
- -
- - - - - +
+

+ (representative sample only) +

+
+
+
+ + +
+
+ +
- -
    -
  • + + + -

    -

    -
  • -
-
+ + + + + +
diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.html b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.html index 0fbe58a8165151..4644b275242a2f 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.html +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.html @@ -1,169 +1,165 @@ -
-
-
-

- Step 1 of 2: Define index pattern -

-
-
- -
-
-
-
- -
- +
+

+ Step 1 of 2: Define index pattern +

-
- -
+
+ +
+
+
+ +
+ + +
+

You can use a * as a wildcard in your index pattern.

- +

You can't use empty spaces or the characters \ / ? " < > |.

- - -
- - - -
-
- - - - - - You've entered an invalid index pattern. Please adjust it to match any of your {{stepIndexPattern.allIndices.length}} indices, below. - - - -
- - - - You only have a single index. You can create an index pattern to match it. - +
+
+ + +
+
+ - - Your index pattern can match any of your {{stepIndexPattern.allIndices.length}} indices, below. - - - -
+
-
- - - - The index pattern you've entered doesn't match any indices. You can match any of your {{stepIndexPattern.allIndices.length}} indices, below. - - - -
+ +
+
+ + + -
- - - - Your index pattern doesn't match any indices, but you have {{stepIndexPattern.partialMatchingIndices.length}} {{stepIndexPattern.partialMatchingIndices.length > 1 ? 'indices' : 'index'}} which {{stepIndexPattern.partialMatchingIndices.length > 1 ? 'look' : 'looks'}} similar. - - - -
+ + You've entered an invalid index pattern. Please adjust it to match any of your {{stepIndexPattern.allIndices.length}} indices, below. + +
+
+
+
+ + + You only have a single index. You can create an index pattern to match it. + -
- - - + + Your index pattern can match any of your {{stepIndexPattern.allIndices.length}} indices, below. + + +
+
+ + + The index pattern you've entered doesn't match any indices. You can match any of your {{stepIndexPattern.allIndices.length}} indices, below. + + +
+
+ + + Your index pattern doesn't match any indices, but you have {{stepIndexPattern.partialMatchingIndices.length}} {{stepIndexPattern.partialMatchingIndices.length > 1 ? 'indices' : 'index'}} which {{stepIndexPattern.partialMatchingIndices.length > 1 ? 'look' : 'looks'}} similar. + + +
+
+ + + - - Success! Your index pattern matches {{stepIndexPattern.matchingIndices.length}} {{stepIndexPattern.matchingIndices.length > 1 ? 'indices' : 'index'}}. - - - -
-
+ + Success! Your index pattern matches {{stepIndexPattern.matchingIndices.length}} {{stepIndexPattern.matchingIndices.length > 1 ? 'indices' : 'index'}}. + + +
diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.less b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.less index fc1ba64b06723c..dd37653fc6aeb1 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.less +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_index_pattern/step_index_pattern.less @@ -1,9 +1,3 @@ -.createIndexPatternInputContainer { - display: flex; - justify-content: space-between; - align-items: flex-end; -} - .createIndexPatternInputField.ng-untouched { - border-color: #dedede !important; + box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.08), inset -400px 0 0 0 #fbfbfb; } diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.html b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.html index 1b1d4deb884ebc..b62b2cf81466ff 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.html +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.html @@ -2,173 +2,197 @@ name="stepTimeField.form" role="form" ng-submit="stepTimeField.createIndexPattern()" - class="kuiPanel" > -
-
-

- Step 2 of 2: Configure settings -

-
-
+

+ Step 2 of 2: Configure settings +

-
-

- You've defined {{stepTimeField.indexPatternName}} as your index pattern. Now you can specify some settings before we create it. -

+
- -
-
- +

+ You've defined {{stepTimeField.indexPatternName}} as your index pattern. Now you can specify some settings before we create it. +

- - Refresh - +
-

- -

-
+
+
+
+
+ +
-
- - -

- The indices which match this index pattern don't contain any time fields. -

+
+
+ +
+ + +

- The Time Filter will use this field to filter your data by time. - You can choose not to have a time field, but you will not be able to narrow down your data by a time range. + The indices which match this index pattern don't contain any time fields.

-
- +
+ The Time Filter will use this field to filter your data by time.
-
+ You can choose not to have a time field, but you will not be able to narrow down your data by a time range. +
+
+ + + + +
+
+
- -
- -
- -

+

+ +
+
+ Kibana will provide a unique identifier for each index pattern. If you do not want to use this unique ID, enter a custom one. -

+
+
- -
-
-
- +
- -
-
+ +
+
+ +
+
+
diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.less b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.less index 3548c6d861ade2..fce886eeb47159 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.less +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/step_time_field/step_time_field.less @@ -7,3 +7,10 @@ align-items: center; justify-content: space-between; } + +/** + * 1. Bring the line-height down or else this link expands its container when it becomes visible. + */ + .timeFieldRefreshButton { + line-height: 1 !important; /* 1 */ +}