-
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.
Merge pull request #2 from rashidkpc/pr/1783
Tweak vis option styling, make section collapsed by default
- Loading branch information
Showing
5 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/kibana/plugins/vis_types/controls/vislib_basic_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
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,9 +1,8 @@ | ||
<vislib-basic-options></vislib-basic-options> | ||
|
||
<!-- vis type specific options --> | ||
<div> | ||
<label> | ||
Chart Mode | ||
<select ng-model="vis.params.mode" ng-options="mode for mode in vis.type.params.modes"></select> | ||
</label> | ||
</div> | ||
<vislib-basic-options></vislib-basic-options> |
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,9 +1,9 @@ | ||
<vislib-basic-options></vislib-basic-options> | ||
|
||
<!-- vis type specific options --> | ||
<div> | ||
<div class="vis-option-item form-group"> | ||
<label> | ||
Bar Mode | ||
<select ng-model="vis.params.mode" ng-options="mode for mode in vis.type.params.modes"></select> | ||
</label> | ||
<select class="form-control" ng-model="vis.params.mode" ng-options="mode for mode in vis.type.params.modes"></select> | ||
</div> | ||
|
||
<vislib-basic-options></vislib-basic-options> |
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,7 +1,8 @@ | ||
<li class="sidebar-item"> | ||
<div class="sidebar-item-title"> | ||
visualization options | ||
<div class="sidebar-item-title" ng-click="showVisOptions = !showVisOptions"> | ||
view options | ||
<i class="fa fa-caret-down" ng-class="{'fa-caret-down': showVisOptions, 'fa-caret-right': !showVisOptions}"></i> | ||
</div> | ||
|
||
<div class="visualization-options"></div> | ||
<div class="visualization-options" ng-show="!!showVisOptions"></div> | ||
</li> |