2015-02-08 09:00:58 +01:00
|
|
|
<topnav icon="fa fa-shield" title="Account" subnav="true">
|
2015-02-07 12:28:47 +01:00
|
|
|
<ul class="nav">
|
|
|
|
<li><a href="account">Overview</a></li>
|
|
|
|
<li><a href="account/users">Users</a></li>
|
|
|
|
<li class="active"><a href="account/import">Import</a></li>
|
|
|
|
</ul>
|
2015-02-02 08:59:38 +01:00
|
|
|
</topnav>
|
2015-01-17 10:39:01 +01:00
|
|
|
|
2015-02-08 10:23:35 +01:00
|
|
|
<div class="page-container">
|
|
|
|
<div class="page">
|
|
|
|
<h2>Import dashboards</h2>
|
2015-01-17 10:39:01 +01:00
|
|
|
|
2015-02-08 10:23:35 +01:00
|
|
|
<div class="tight-form">
|
|
|
|
<ul class="tight-form-list">
|
|
|
|
<li class="tight-form-item" style="width: 150px">
|
|
|
|
<strong>Dashboard source</strong>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<select type="text" ng-model="sourceName" class="input-medium tight-form-input" ng-options="f for f in datasources">
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
<li class="tight-form-item">
|
|
|
|
<strong>Destination</strong>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<select type="text" ng-model="destName" class="input-medium tight-form-input" ng-options="f for f in datasources">
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button class="btn btn-success tight-form-btn" ng-click="startImport()">Import</button>
|
|
|
|
</li>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</ul>
|
2015-01-17 10:39:01 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-row" ng-if="importing">
|
|
|
|
<section class="section">
|
|
|
|
<h5>{{infoText}}</h5>
|
|
|
|
|
|
|
|
<div class="editor-row row">
|
|
|
|
<table class="grafana-options-table span5">
|
|
|
|
<tr ng-repeat="dash in imported">
|
|
|
|
<td>{{dash.name}}</td>
|
|
|
|
<td>
|
|
|
|
{{dash.info}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|