-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Visualize Wizard to use explicit controller names, instead o…
…f defining them dynamically.
- Loading branch information
Showing
3 changed files
with
58 additions
and
56 deletions.
There are no files selected for viewing
62 changes: 32 additions & 30 deletions
62
src/core_plugins/kibana/public/visualize/wizard/step_1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,35 @@ | ||
<div class="visualizeWizardBreadcrumbs"> | ||
<bread-crumbs></bread-crumbs> | ||
</div> | ||
<div class="wizard"> | ||
<div class="wizard-column"> | ||
<h3 class="wizard-sub-title">Create New Visualization</h3> | ||
<div class="wizard-row"> | ||
<a | ||
class="wizard-type" | ||
ng-repeat="type in visTypes.inTitleOrder" | ||
ng-href="{{ visTypeUrl(type) }}" | ||
> | ||
<div class="wizard-type-heading"> | ||
<i | ||
aria-hidden="true" | ||
class="wizard-type-heading-icon fa fa-fw" | ||
ng-class="type.icon" | ||
></i> | ||
<h4 class="wizard-type-heading-text">{{type.title}}</h4> | ||
</div> | ||
<p class="wizard-type-description">{{type.description}}</p> | ||
</a> | ||
</div> | ||
<div class="container-fluid vis-wizard"> | ||
<div class="visualizeWizardBreadcrumbs"> | ||
<bread-crumbs></bread-crumbs> | ||
</div> | ||
<div class="wizard-column"> | ||
<h3 class="wizard-sub-title">Or, Open a Saved Visualization</h3> | ||
<saved-object-finder | ||
title="Saved Visualizations" | ||
type="visualizations" | ||
class="wizard-row" | ||
></saved-object-finder> | ||
<div class="wizard"> | ||
<div class="wizard-column"> | ||
<h3 class="wizard-sub-title">Create New Visualization</h3> | ||
<div class="wizard-row"> | ||
<a | ||
class="wizard-type" | ||
ng-repeat="type in visTypes.inTitleOrder" | ||
ng-href="{{ visTypeUrl(type) }}" | ||
> | ||
<div class="wizard-type-heading"> | ||
<i | ||
aria-hidden="true" | ||
class="wizard-type-heading-icon fa fa-fw" | ||
ng-class="type.icon" | ||
></i> | ||
<h4 class="wizard-type-heading-text">{{type.title}}</h4> | ||
</div> | ||
<p class="wizard-type-description">{{type.description}}</p> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="wizard-column"> | ||
<h3 class="wizard-sub-title">Or, Open a Saved Visualization</h3> | ||
<saved-object-finder | ||
title="Saved Visualizations" | ||
type="visualizations" | ||
class="wizard-row" | ||
></saved-object-finder> | ||
</div> | ||
</div> | ||
</div> |
42 changes: 22 additions & 20 deletions
42
src/core_plugins/kibana/public/visualize/wizard/step_2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<div class="visualizeWizardBreadcrumbs"> | ||
<bread-crumbs></bread-crumbs> | ||
</div> | ||
<div class="wizard"> | ||
<div class="wizard-column wizard-column--small"> | ||
<h3 class="wizard-sub-title">From a New Search, Select Index</h3> | ||
<paginated-selectable-list | ||
per-page="20" | ||
list="indexPattern.list" | ||
user-make-url="makeUrl" | ||
class="wizard-row" | ||
></paginated-selectable-list> | ||
<div class="container-fluid vis-wizard"> | ||
<div class="visualizeWizardBreadcrumbs"> | ||
<bread-crumbs></bread-crumbs> | ||
</div> | ||
<div class="wizard-column wizard-column--large"> | ||
<h3 class="wizard-sub-title">Or, From a Saved Search</h3> | ||
<!-- Saved searches --> | ||
<saved-object-finder | ||
title="Saved Searches" | ||
type="searches" | ||
<div class="wizard"> | ||
<div class="wizard-column wizard-column--small"> | ||
<h3 class="wizard-sub-title">From a New Search, Select Index</h3> | ||
<paginated-selectable-list | ||
per-page="20" | ||
list="indexPattern.list" | ||
user-make-url="makeUrl" | ||
class="wizard-row" | ||
make-url="step2WithSearchUrl" | ||
></saved-object-finder> | ||
></paginated-selectable-list> | ||
</div> | ||
<div class="wizard-column wizard-column--large"> | ||
<h3 class="wizard-sub-title">Or, From a Saved Search</h3> | ||
<!-- Saved searches --> | ||
<saved-object-finder | ||
title="Saved Searches" | ||
type="searches" | ||
class="wizard-row" | ||
make-url="step2WithSearchUrl" | ||
></saved-object-finder> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters