mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
25 lines
778 B
HTML
25 lines
778 B
HTML
<div ng-include src="datasource.meta.partials.query"></div>
|
|
|
|
|
|
<div class="editor-row" style="margin-top: 30px">
|
|
<button class="btn btn-inverse pull-right" ng-click="addDataQuery(panel.target)">
|
|
<i class="fa fa-plus"></i>
|
|
Add query
|
|
</button>
|
|
|
|
<div class="pull-right dropdown" style="margin-right: 10px;">
|
|
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" bs-tooltip="'Datasource'">
|
|
<i class="fa fa-database"></i>
|
|
{{datasource.name}} <span class="caret"></span>
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
<li ng-repeat="datasource in datasources" role="menuitem">
|
|
<a ng-click="setDatasource(datasource.value);">{{datasource.name}}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
</div>
|