mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
23 lines
753 B
HTML
23 lines
753 B
HTML
<div ng-controller="GraphiteImportCtrl" ng-init="init()">
|
|
<h5>Import dashboards from graphite web</h5>
|
|
|
|
<div class="editor-row">
|
|
<div class="section">
|
|
<button ng-click="listAll()" class="btn btn-primary">List all dashboards</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="editor-row" style="margin-top: 10px;">
|
|
<table class="table table-condensed table-striped">
|
|
<tr ng-repeat="dash in dashboards">
|
|
<td style="padding-right: 20px;"><button class="btn btn-success" ng-click="import(dash.name)">Import</button>
|
|
<td style="width: 100%; vertical-align: middle;">{{dash.name}}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div ng-show="error" style="margin-top: 20px" class="alert alert-error">
|
|
{{error}}
|
|
</div>
|
|
</div>
|