Skip to content

Commit

Permalink
add bootstrap class to Accordion under options
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Jan 24, 2017
1 parent e3a8033 commit 5a17ccd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions public/options.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- vis type specific options -->
<uib-accordion close-others="true">
<div uib-accordion-group heading="Aggregation Display Options">
<div uib-accordion-group class="panel-default" heading="Aggregation Options">
<div class="form-group">
<label>
Map Collar Scale <kbn-info info="Use this input to increase or decrease the size of the geo aggregation filter. A value of 1 will size the filter to the map bounds. A value of 2 will size the filter to 2X the map bounds. A value too small could result in excessive fetches. A value too large could result in trimmed results and slow performance."></kbn-info>
Expand Down Expand Up @@ -141,7 +141,7 @@
</div>


<div uib-accordion-group heading="Geo shape filtering" ng-if="$root.etm.shapeFields.length > 0" >
<div uib-accordion-group class="panel-default" heading="Geo shape filtering" ng-if="$root.etm.shapeFields.length > 0" >
<div class="vis-option-item form-group">
<label>
<input type="checkbox"
Expand All @@ -161,7 +161,7 @@
</div>


<div uib-accordion-group heading="Map Options">
<div uib-accordion-group class="panel-default" heading="Map Options">
<div class="vis-option-item form-group">
<label>
<input type="checkbox"
Expand Down Expand Up @@ -255,7 +255,7 @@
</div>


<div uib-accordion-group heading="Map Overlays">
<div uib-accordion-group class="panel-default" heading="Map Overlays">

<saved-searches layers="vis.params.overlays.savedSearches"></saved-searches>

Expand Down
4 changes: 2 additions & 2 deletions public/visController.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ define(function (require) {
});

function initPOILayer(layerParams) {
const layer = new POIsProvider(layerParams);
const poi = new POIsProvider(layerParams);
const options = {
color: _.get(layerParams, 'color', '#008800'),
size: _.get(layerParams, 'markerSize', 'm')
};
layer.getLayer(options, function(layer) {
poi.getLayer(options, function(layer) {
map.addPOILayer(layerParams.savedSearchId, layer);
});
}
Expand Down

0 comments on commit 5a17ccd

Please sign in to comment.