forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Migrate to new localNav component and subcomponent styles. - Add support for multi-slot transclusion to kbnTopNav. - Update Dashboard, Discover, Management, Visualize, Dev Tools, Timelion to use kbnTopNav consistently. - Update these apps to also display localNavDropdowns consistently, including Timepicker (this mostly meant adding titles). - Add checkLicenses npm script. - Add .fullWidth utility class and use it to make search forms 100% width.
- Loading branch information
Showing
53 changed files
with
820 additions
and
863 deletions.
There are no files selected for viewing
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
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
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,36 +1,40 @@ | ||
<h3>Help</h3> | ||
<div class="localDropdownTitle">Help</div> | ||
|
||
<tabset> | ||
<tab heading="Request format"> | ||
You can type one or more requests in the white editor. Console understands requests in a compact format: | ||
<sense-help-example></sense-help-example> | ||
<div class="list-group-item list-group-item--noBorder"> | ||
You can type one or more requests in the white editor. Console understands requests in a compact format: | ||
<sense-help-example></sense-help-example> | ||
</div> | ||
</tab> | ||
<tab heading="Keyboard tips"> | ||
<dl class="dl-horizontal"> | ||
<dt></dt> | ||
<dd><strong>General editing</strong></dd> | ||
<dt>Ctrl/Cmd + I</dt> | ||
<dd>Auto indent current request</dd> | ||
<dt>Ctrl + Space</dt> | ||
<dd>Open Auto complete (even if not typing)</dd> | ||
<dt>Ctrl/Cmd + Enter</dt> | ||
<dd>Submit request</dd> | ||
<dt>Ctrl/Cmd + Up/Down</dt> | ||
<dd>Jump to the previous/next request start or end.</dd> | ||
<dt>Ctrl/Cmd + Alt + L</dt> | ||
<dd>Collapse/expand current scope.</dd> | ||
<dt>Ctrl/Cmd + Option + 0</dt> | ||
<dd>Collapse all scopes but the current one. Expand by adding a shift.</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt></dt> | ||
<dd><strong>When auto-complete is visible</strong></dd> | ||
<dt>Down arrow</dt> | ||
<dd>Switch focus to auto-complete menu. Use arrows to further select a term</dd> | ||
<dt>Enter/Tab</dt> | ||
<dd>Select the currently selected or the top most term in auto-complete menu</dd> | ||
<dt>Esc</dt> | ||
<dd>Close auto-complete menu</dd> | ||
</dl> | ||
<div class="list-group-item list-group-item--noBorder"> | ||
<dl class="dl-horizontal"> | ||
<dt></dt> | ||
<dd><strong>General editing</strong></dd> | ||
<dt>Ctrl/Cmd + I</dt> | ||
<dd>Auto indent current request</dd> | ||
<dt>Ctrl + Space</dt> | ||
<dd>Open Auto complete (even if not typing)</dd> | ||
<dt>Ctrl/Cmd + Enter</dt> | ||
<dd>Submit request</dd> | ||
<dt>Ctrl/Cmd + Up/Down</dt> | ||
<dd>Jump to the previous/next request start or end.</dd> | ||
<dt>Ctrl/Cmd + Alt + L</dt> | ||
<dd>Collapse/expand current scope.</dd> | ||
<dt>Ctrl/Cmd + Option + 0</dt> | ||
<dd>Collapse all scopes but the current one. Expand by adding a shift.</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt></dt> | ||
<dd><strong>When auto-complete is visible</strong></dd> | ||
<dt>Down arrow</dt> | ||
<dd>Switch focus to auto-complete menu. Use arrows to further select a term</dd> | ||
<dt>Enter/Tab</dt> | ||
<dd>Select the currently selected or the top most term in auto-complete menu</dd> | ||
<dt>Esc</dt> | ||
<dd>Close auto-complete menu</dd> | ||
</dl> | ||
</div> | ||
</tab> | ||
</tabset> |
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
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
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
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
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
3 changes: 2 additions & 1 deletion
3
src/core_plugins/kibana/public/dashboard/partials/load_dashboard.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 +1,2 @@ | ||
<saved-object-finder type="dashboards"></saved-object-finder> | ||
<div class="localDropdownTitle">Open Dashboard</div> | ||
<saved-object-finder type="dashboards"></saved-object-finder> |
17 changes: 8 additions & 9 deletions
17
src/core_plugins/kibana/public/dashboard/partials/options.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,10 +1,9 @@ | ||
<form role="form" class="options"> | ||
<p> | ||
<div class="input-group"> | ||
<label> | ||
<input type="checkbox" ng-model="opts.ui.darkTheme" ng-checked="opts.ui.darkTheme"> | ||
Use dark theme | ||
</label> | ||
</div> | ||
</p> | ||
<form role="form"> | ||
<div class="localDropdownTitle">Options</div> | ||
<div class="input-group"> | ||
<label> | ||
<input type="checkbox" ng-model="opts.ui.darkTheme" ng-checked="opts.ui.darkTheme"> | ||
Use dark theme | ||
</label> | ||
</div> | ||
</form> |
23 changes: 18 additions & 5 deletions
23
src/core_plugins/kibana/public/dashboard/partials/pick_visualization.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,14 +1,27 @@ | ||
<div ng-switch on="mode" ng-init="mode = 'visualization'" class="dashboard-panel-picker"> | ||
<div | ||
ng-switch="mode" | ||
ng-init="mode = 'visualization'" | ||
> | ||
<div class="localDropdownTitle">Add Panels</div> | ||
|
||
<ul class="nav nav-tabs"> | ||
<li ng-class="{active: mode == 'visualization'}"><a ng-click="mode='visualization'" title="Visualizations">Visualizations</a></li> | ||
<li ng-class="{active: mode == 'search'}"><a ng-click="mode='search'" title="Searches">Searches</a></li> | ||
<li ng-class="{active: mode == 'visualization'}"> | ||
<a ng-click="mode='visualization'" title="Visualizations"> | ||
Visualization | ||
</a> | ||
</li> | ||
<li ng-class="{active: mode == 'search'}"> | ||
<a ng-click="mode='search'" title="Searches"> | ||
Saved Search | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
<div class="list-group-item" ng-switch-when="visualization"> | ||
<div class="list-group-item list-group-item--noBorder" ng-switch-when="visualization"> | ||
<saved-object-finder title="Choose a visualization" type="visualizations" on-choose="opts.addVis"></saved-object-finder> | ||
</div> | ||
|
||
<div class="list-group-item" ng-switch-when="search"> | ||
<div class="list-group-item list-group-item--noBorder" ng-switch-when="search"> | ||
<saved-object-finder title="Choose a search" type="searches" on-choose="opts.addSearch"></saved-object-finder> | ||
</div> | ||
</div> |
18 changes: 13 additions & 5 deletions
18
src/core_plugins/kibana/public/dashboard/partials/save_dashboard.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
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 |
---|---|---|
|
@@ -152,7 +152,3 @@ dashboard-grid { | |
} | ||
} | ||
} | ||
|
||
.dashboard-panel-picker > .list-group-item { | ||
border-top: 0; | ||
} |
Oops, something went wrong.