forked from elastic/kibana
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DESIGN]: Remove truncate from viz form text, remove additional wrapp…
…er (elastic#14311) * remove truncate from viz form text, remove additional wrapper * fix section paneling within viz * remove redundant titling
- Loading branch information
1 parent
2d3b911
commit a8aed23
Showing
11 changed files
with
228 additions
and
224 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/core_plugins/kbn_vislib_vis_types/public/controls/gauge_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
5 changes: 2 additions & 3 deletions
5
src/core_plugins/kbn_vislib_vis_types/public/editors/pie.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,9 +1,8 @@ | ||
<!-- vis type specific options --> | ||
<div> | ||
<div class="kuiSideBarSection"> | ||
<label> | ||
<input type="checkbox" value="{{isDonut}}" ng-model="vis.params.isDonut" name="isDonut" ng-checked="vis.params.isDonut"> | ||
Donut | ||
</label> | ||
<vislib-basic-options></vislib-basic-options> | ||
</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
38 changes: 20 additions & 18 deletions
38
src/core_plugins/markdown_vis/public/markdown_vis_params.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,21 +1,23 @@ | ||
<div class="markdown-vis-options form-group"> | ||
<div> | ||
<label for="markdownVisInput">Markdown</label> | ||
<small class="pull-right"><a target="_window" href="https://help.github.com/articles/github-flavored-markdown/">Help <i aria-hidden="true" class="fa fa-link"></i></a></small> | ||
</div> | ||
<div class="kuiSideBarFormRow"> | ||
<label class="kuiSideBarFormRow__label" for="markdownVisFontSize"> | ||
Font Size (<span ng-bind="vis.params.fontSize"></span>pt) | ||
</label> | ||
<div class="kuiSideBarFormRow__control"> | ||
<input id="markdownVisFontSize" type="range" ng-model="vis.params.fontSize" class="form-control" min="8" max="36" /> | ||
<div class="kuiSideBarSection"> | ||
<div class="markdown-vis-options form-group"> | ||
<div> | ||
<label for="markdownVisInput">Markdown</label> | ||
<small class="pull-right"><a target="_window" href="https://help.github.com/articles/github-flavored-markdown/">Help <i aria-hidden="true" class="fa fa-link"></i></a></small> | ||
</div> | ||
<div class="kuiSideBarFormRow"> | ||
<label class="kuiSideBarFormRow__label" for="markdownVisFontSize"> | ||
Font Size (<span ng-bind="vis.params.fontSize"></span>pt) | ||
</label> | ||
<div class="kuiSideBarFormRow__control"> | ||
<input id="markdownVisFontSize" type="range" ng-model="vis.params.fontSize" class="form-control" min="8" max="36" /> | ||
</div> | ||
</div> | ||
<textarea | ||
id="markdownVisInput" | ||
ng-model="vis.params.markdown" | ||
class="form-control" | ||
rows="20" | ||
data-test-subj="markdownTextarea" | ||
></textarea> | ||
</div> | ||
<textarea | ||
id="markdownVisInput" | ||
ng-model="vis.params.markdown" | ||
class="form-control" | ||
rows="20" | ||
data-test-subj="markdownTextarea" | ||
></textarea> | ||
</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
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,41 +1,44 @@ | ||
<div class="form-group"> | ||
<label for="datatableVisualizationPerPage">Per Page</label> | ||
<input type="number" ng-model="vis.params.perPage" class="form-control" id="datatableVisualizationPerPage"> | ||
</div> | ||
|
||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="vis.params.showMeticsAtAllLevels"> | ||
Show metrics for every bucket/level | ||
</label> | ||
</div> | ||
<div class="kuiSideBarSection"> | ||
<div class="form-group"> | ||
<label for="datatableVisualizationPerPage">Per Page</label> | ||
<input type="number" ng-model="vis.params.perPage" class="form-control" id="datatableVisualizationPerPage"> | ||
</div> | ||
|
||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="vis.params.showPartialRows"> | ||
Show partial rows | ||
</label> | ||
</div> | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="vis.params.showMeticsAtAllLevels"> | ||
Show metrics for every bucket/level | ||
</label> | ||
</div> | ||
|
||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="metricsAtAllLevels" disabled> | ||
Calculate metrics for every bucket/level | ||
</label> | ||
</div> | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="vis.params.showPartialRows"> | ||
Show partial rows | ||
</label> | ||
</div> | ||
|
||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="vis.params.showTotal"> | ||
Show total | ||
</label> | ||
</div> | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="metricsAtAllLevels" disabled> | ||
Calculate metrics for every bucket/level | ||
</label> | ||
</div> | ||
|
||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" ng-model="vis.params.showTotal"> | ||
Show total | ||
</label> | ||
</div> | ||
|
||
<div> | ||
<label for="datatableVisualizationTotalFunction">Total function</label> | ||
<select ng-disabled="!vis.params.showTotal" | ||
class="form-control" | ||
ng-model="vis.params.totalFunc" | ||
ng-options="x for x in totalAggregations" id="datatableVisualizationTotalFunction"> | ||
</select> | ||
<div> | ||
<label for="datatableVisualizationTotalFunction">Total function</label> | ||
<select ng-disabled="!vis.params.showTotal" | ||
class="form-control" | ||
ng-model="vis.params.totalFunc" | ||
ng-options="x for x in totalAggregations" id="datatableVisualizationTotalFunction"> | ||
</select> | ||
</div> | ||
</div> |
38 changes: 20 additions & 18 deletions
38
src/core_plugins/tagcloud/public/tag_cloud_vis_params.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,21 +1,23 @@ | ||
<div class="form-group"> | ||
<div class="kuiSideBarSection"> | ||
<div class="form-group"> | ||
<label>Text Scale</label> | ||
<select class="form-control" ng-model="vis.params.scale" ng-options="mode for mode in config.collections.scales"></select> | ||
</div> | ||
<div class="form-group"> | ||
<label>Orientations</label> | ||
<select class="form-control" ng-model="vis.params.orientation" ng-options="mode for mode in config.collections.orientations"></select> | ||
</div> | ||
<div class="form-group"> | ||
<label>Font Size</label> | ||
<div class="tag-cloud-fontsize-slider"></div> | ||
</div> | ||
<div> | ||
<label> | ||
<input type="checkbox" value="{{hideLabel}}" ng-model="vis.params.hideLabel" name="hideLabel" | ||
ng-checked="vis.params.hideLabel"> | ||
Show Label | ||
</label> | ||
<div class="form-group"> | ||
<label>Text Scale</label> | ||
<select class="form-control" ng-model="vis.params.scale" ng-options="mode for mode in config.collections.scales"></select> | ||
</div> | ||
<div class="form-group"> | ||
<label>Orientations</label> | ||
<select class="form-control" ng-model="vis.params.orientation" ng-options="mode for mode in config.collections.orientations"></select> | ||
</div> | ||
<div class="form-group"> | ||
<label>Font Size</label> | ||
<div class="tag-cloud-fontsize-slider"></div> | ||
</div> | ||
<div> | ||
<label> | ||
<input type="checkbox" value="{{hideLabel}}" ng-model="vis.params.hideLabel" name="hideLabel" | ||
ng-checked="vis.params.hideLabel"> | ||
Show Label | ||
</label> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.