mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
- Fix Visualize wizard breadcrumbs.
- Use consistent "Create" terminology in both Visualize and Dashboard for creating new items. - Use NoItems and PromptForItems components in Visualize listing view.
This commit is contained in:
parent
de4f7b43e2
commit
10dbff66cc
5 changed files with 36 additions and 7 deletions
|
@ -72,7 +72,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- NoResults -->
|
||||
<!-- NoItems -->
|
||||
<div
|
||||
class="kuiPanel kuiPanel--centered kuiPanel--withHeader"
|
||||
ng-if="!listingController.items.length && listingController.filter"
|
||||
|
@ -89,7 +89,7 @@
|
|||
>
|
||||
<div class="kuiPromptForItems">
|
||||
<div class="kuiPromptForItems__message">
|
||||
Looks like you don’t have any dashboards. Let’s add some!
|
||||
Looks like you don’t have any dashboards. Let’s create some!
|
||||
</div>
|
||||
|
||||
<div class="kuiPromptForItems__actions">
|
||||
|
@ -98,7 +98,7 @@
|
|||
href="#/dashboard/create"
|
||||
>
|
||||
<span class="kuiButton__icon kuiIcon fa-plus"></span>
|
||||
Add a dashboard
|
||||
Create a dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!-- Breadcrumbs. -->
|
||||
<bread-crumbs
|
||||
data-transclude-slot="topLeftCorner"
|
||||
title="getVisualizationTitle()"
|
||||
page-title="getVisualizationTitle()"
|
||||
use-links="true"
|
||||
omit-current-page="true"
|
||||
omit-pages="['edit']"
|
||||
|
|
|
@ -70,13 +70,38 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- NoResults -->
|
||||
<div class="kuiPanel kuiPanel--centered" ng-if="!listingController.items.length">
|
||||
<div class="kuiNoResults">
|
||||
<!-- NoItems -->
|
||||
<div
|
||||
class="kuiPanel kuiPanel--centered kuiPanel--withHeader"
|
||||
ng-if="!listingController.items.length && listingController.filter"
|
||||
>
|
||||
<div class="kuiNoItems">
|
||||
No visualizations matched your search.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- PromptForItems -->
|
||||
<div
|
||||
class="kuiPanel kuiPanel--centered kuiPanel--withHeader"
|
||||
ng-if="!listingController.items.length && !listingController.filter"
|
||||
>
|
||||
<div class="kuiPromptForItems">
|
||||
<div class="kuiPromptForItems__message">
|
||||
Looks like you don’t have any visualizations. Let’s create some!
|
||||
</div>
|
||||
|
||||
<div class="kuiPromptForItems__actions">
|
||||
<a
|
||||
class="kuiButton kuiButton--primary kuiButton--iconText"
|
||||
href="#/visualize/new"
|
||||
>
|
||||
<span class="kuiButton__icon kuiIcon fa-plus"></span>
|
||||
Create a visualization
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Table -->
|
||||
<table class="kuiTable" ng-if="listingController.items.length">
|
||||
<thead>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
<bread-crumbs
|
||||
data-transclude-slot="topLeftCorner"
|
||||
use-links="true"
|
||||
omit-current-page="true"
|
||||
page-title="'New'"
|
||||
></bread-crumbs>
|
||||
</div>
|
||||
</kbn-top-nav>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
<bread-crumbs
|
||||
data-transclude-slot="topLeftCorner"
|
||||
use-links="true"
|
||||
omit-current-page="true"
|
||||
page-title="'Choose search source'"
|
||||
></bread-crumbs>
|
||||
</div>
|
||||
</kbn-top-nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue