2014-11-11 04:48:27 -06:00
|
|
|
<div class="editor-row">
|
|
|
|
<div class="section">
|
2014-12-11 09:26:00 -06:00
|
|
|
<h5>Drilldown / detail link<tip>These links appear in the dropdown menu in the panel menu. </tip></h5>
|
2014-11-11 04:48:27 -06:00
|
|
|
|
2015-01-16 01:50:26 -06:00
|
|
|
<div class="tight-form" ng-repeat="link in panel.links"j>
|
2015-01-16 02:31:38 -06:00
|
|
|
<ul class="tight-form-list">
|
|
|
|
<li class="tight-form-item">
|
|
|
|
<i class="fa fa-remove pointer" ng-click="deleteLink(link)"></i>
|
|
|
|
</li>
|
2014-11-11 04:48:27 -06:00
|
|
|
|
2015-01-16 02:31:38 -06:00
|
|
|
<li class="tight-form-item">title</li>
|
|
|
|
<li>
|
|
|
|
<input type="text" ng-model="link.title" class="input-medium tight-form-input">
|
|
|
|
</li>
|
2014-11-11 04:48:27 -06:00
|
|
|
|
2015-01-16 02:31:38 -06:00
|
|
|
<li class="tight-form-item">type</li>
|
|
|
|
<li>
|
|
|
|
<select class="input-medium tight-form-input" style="width: 101px;" ng-model="link.type" ng-options="f for f in ['dashboard','absolute']"></select>
|
|
|
|
</li>
|
2014-11-11 04:48:27 -06:00
|
|
|
|
2015-01-16 02:31:38 -06:00
|
|
|
<li class="tight-form-item" ng-show="link.type === 'dashboard'">dashboard</li>
|
|
|
|
<li ng-show="link.type === 'dashboard'">
|
|
|
|
<input type="text"
|
|
|
|
ng-model="link.dashboard"
|
|
|
|
bs-typeahead="searchDashboards"
|
|
|
|
class="input-large tight-form-input">
|
|
|
|
</li>
|
2014-11-11 04:48:27 -06:00
|
|
|
|
2015-01-16 02:31:38 -06:00
|
|
|
<li class="tight-form-item" ng-show="link.type === 'absolute'">url</li>
|
|
|
|
<li ng-show="link.type === 'absolute'">
|
|
|
|
<input type="text" ng-model="link.url" class="input-large tight-form-input">
|
|
|
|
</li>
|
2014-11-11 04:48:27 -06:00
|
|
|
|
2015-01-16 02:31:38 -06:00
|
|
|
<li class="tight-form-item">params
|
|
|
|
<tip>Use var-variableName=value to pass templating variables.</tip>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="text" ng-model="link.params" class="input-medium tight-form-input">
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="clearfix"></div>
|
2014-11-11 04:48:27 -06:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-row">
|
|
|
|
<br>
|
|
|
|
<button class="btn btn-success" ng-click="addLink()">Add link</button>
|
|
|
|
</div>
|