-
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.
Removing main tag as it was causing a test to fail
- Loading branch information
Maja Grubic
committed
Feb 21, 2020
1 parent
0b69124
commit 88b41fa
Showing
1 changed file
with
47 additions
and
49 deletions.
There are no files selected for viewing
96 changes: 47 additions & 49 deletions
96
src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_app.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,56 +1,54 @@ | ||
<main> | ||
<dashboard-app | ||
class="app-container dshAppContainer" | ||
ng-class="{'dshAppContainer--withMargins': model.useMargins}" | ||
> | ||
<!-- Local nav. --> | ||
<kbn-top-nav | ||
ng-show="isVisible" | ||
app-name="'dashboard'" | ||
config="topNavMenu" | ||
<dashboard-app | ||
class="app-container dshAppContainer" | ||
ng-class="{'dshAppContainer--withMargins': model.useMargins}" | ||
> | ||
<!-- Local nav. --> | ||
<kbn-top-nav | ||
ng-show="isVisible" | ||
app-name="'dashboard'" | ||
config="topNavMenu" | ||
|
||
show-search-bar="isVisible" | ||
show-filter-bar="showFilterBar()" | ||
show-save-query="showSaveQuery" | ||
show-search-bar="isVisible" | ||
show-filter-bar="showFilterBar()" | ||
show-save-query="showSaveQuery" | ||
|
||
query="model.query" | ||
saved-query="savedQuery" | ||
screen-title="screenTitle" | ||
on-query-submit="updateQueryAndFetch" | ||
index-patterns="indexPatterns" | ||
filters="model.filters" | ||
on-filters-updated="onFiltersUpdated" | ||
date-range-from="model.timeRange.from" | ||
date-range-to="model.timeRange.to" | ||
is-refresh-paused="model.refreshInterval.pause" | ||
refresh-interval="model.refreshInterval.value" | ||
on-saved="onQuerySaved" | ||
on-saved-query-updated="onSavedQueryUpdated" | ||
on-clear-saved-query="onClearSavedQuery" | ||
on-refresh-change="onRefreshChange"> | ||
</kbn-top-nav> | ||
query="model.query" | ||
saved-query="savedQuery" | ||
screen-title="screenTitle" | ||
on-query-submit="updateQueryAndFetch" | ||
index-patterns="indexPatterns" | ||
filters="model.filters" | ||
on-filters-updated="onFiltersUpdated" | ||
date-range-from="model.timeRange.from" | ||
date-range-to="model.timeRange.to" | ||
is-refresh-paused="model.refreshInterval.pause" | ||
refresh-interval="model.refreshInterval.value" | ||
on-saved="onQuerySaved" | ||
on-saved-query-updated="onSavedQueryUpdated" | ||
on-clear-saved-query="onClearSavedQuery" | ||
on-refresh-change="onRefreshChange"> | ||
</kbn-top-nav> | ||
|
||
<!-- | ||
The top nav is hidden in embed mode but the filter bar must still be present so | ||
we show the filter bar on its own here if the chrome is not visible. | ||
--> | ||
<kbn-top-nav | ||
ng-if="showFilterBar() && !isVisible" | ||
<!-- | ||
The top nav is hidden in embed mode but the filter bar must still be present so | ||
we show the filter bar on its own here if the chrome is not visible. | ||
--> | ||
<kbn-top-nav | ||
ng-if="showFilterBar() && !isVisible" | ||
|
||
app-name="'dashboard'" | ||
show-search-bar="true" | ||
show-filter-bar="true" | ||
show-save-query="false" | ||
show-date-picker="false" | ||
app-name="'dashboard'" | ||
show-search-bar="true" | ||
show-filter-bar="true" | ||
show-save-query="false" | ||
show-date-picker="false" | ||
|
||
filters="model.filters" | ||
index-patterns="indexPatterns" | ||
on-filters-updated="onFiltersUpdated" | ||
> | ||
</kbn-top-nav> | ||
filters="model.filters" | ||
index-patterns="indexPatterns" | ||
on-filters-updated="onFiltersUpdated" | ||
> | ||
</kbn-top-nav> | ||
|
||
<h1 class="euiScreenReaderOnly">{{screenTitle}}</h1> | ||
<div id="dashboardViewport"></div> | ||
<h1 class="euiScreenReaderOnly">{{screenTitle}}</h1> | ||
<div id="dashboardViewport"></div> | ||
|
||
</dashboard-app> | ||
</main> | ||
</dashboard-app> |