|
|
@@ -70,46 +70,29 @@
|
|
|
|
|
|
<div ng-if="editor.index == 2" ng-controller="dashLoader">
|
|
|
<div class="editor-row">
|
|
|
+ <div class="section">
|
|
|
+ <h5>Feature toggles</h5>
|
|
|
+ <div class="editor-option" ng-repeat="pulldown in dashboard.pulldowns">
|
|
|
+ <label class="small" style="text-transform:capitalize;">{{pulldown.type}}</label><input type="checkbox" ng-model="pulldown.enable" ng-checked="pulldown.enable">
|
|
|
+ </div>
|
|
|
+ <div class="editor-option" ng-repeat="pulldown in dashboard.nav">
|
|
|
+ <label class="small" style="text-transform:capitalize;">{{pulldown.type}}</label><input type="checkbox" ng-model="pulldown.enable" ng-checked="pulldown.enable">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="section">
|
|
|
- <h5>Save to</h5>
|
|
|
- <div class="editor-option">
|
|
|
- <label class="small">Elasticsearch</label><input type="checkbox" ng-model="dashboard.loader.save_elasticsearch" ng-checked="dashboard.loader.save_elasticsearch">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="section">
|
|
|
- <h5>Load from</h5>
|
|
|
- <div class="editor-option">
|
|
|
- <label class="small">Elasticsearch</label><input type="checkbox" ng-model="dashboard.loader.load_elasticsearch" ng-checked="dashboard.loader.load_elasticsearch">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="section">
|
|
|
- <h5>Sharing</h5>
|
|
|
- <div class="editor-option" >
|
|
|
- <label class="small">Allow Sharing <tip>Allow generating adhoc links to dashboards</tip></label><input type="checkbox" ng-model="dashboard.loader.save_temp" ng-checked="dashboard.loader.save_temp">
|
|
|
- </div>
|
|
|
- <div class="editor-option" ng-show="dashboard.loader.save_temp">
|
|
|
- <label class="small">TTL <tip>Expire temp urls</tip></label><input type="checkbox" ng-model="dashboard.loader.save_temp_ttl_enable">
|
|
|
- </div>
|
|
|
- <div class="editor-option" ng-show="dashboard.loader.save_temp && dashboard.loader.save_temp_ttl_enable">
|
|
|
- <label class="small">TTL Duration <tip>Elasticsearch date math, eg: 1m,1d,1w,30d </tip></label><input class="input-small" type="text" ng-model="dashboard.loader.save_temp_ttl">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div ng-if="editor.index == 2">
|
|
|
- <div class="editor-row">
|
|
|
- <div class="section">
|
|
|
- <h5>Feature toggles</h5>
|
|
|
- <div class="editor-option" ng-repeat="pulldown in dashboard.pulldowns">
|
|
|
- <label class="small" style="text-transform:capitalize;">{{pulldown.type}}</label><input type="checkbox" ng-model="pulldown.enable" ng-checked="pulldown.enable">
|
|
|
- </div>
|
|
|
- <div class="editor-option" ng-repeat="pulldown in dashboard.nav">
|
|
|
- <label class="small" style="text-transform:capitalize;">{{pulldown.type}}</label><input type="checkbox" ng-model="pulldown.enable" ng-checked="pulldown.enable">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <h5>Sharing</h5>
|
|
|
+ <div class="editor-option" >
|
|
|
+ <label class="small">Allow Sharing <tip>Allow generating adhoc links to dashboards</tip></label><input type="checkbox" ng-model="dashboard.loader.save_temp" ng-checked="dashboard.loader.save_temp">
|
|
|
+ </div>
|
|
|
+ <div class="editor-option" ng-show="dashboard.loader.save_temp">
|
|
|
+ <label class="small">TTL <tip>Expire temp urls</tip></label><input type="checkbox" ng-model="dashboard.loader.save_temp_ttl_enable">
|
|
|
+ </div>
|
|
|
+ <div class="editor-option" ng-show="dashboard.loader.save_temp && dashboard.loader.save_temp_ttl_enable">
|
|
|
+ <label class="small">TTL Duration <tip>Elasticsearch date math, eg: 1m,1d,1w,30d </tip></label><input class="input-small" type="text" ng-model="dashboard.loader.save_temp_ttl">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
<div ng-if="editor.index == 3">
|
|
|
<ng-include src="'app/partials/import.html'"></ng-include>
|