ux(import): migrate to gf-form

This commit is contained in:
bergquist 2016-02-23 07:55:24 +01:00
parent f788c8cb37
commit b3f2f0fa1e

View File

@ -3,22 +3,21 @@
<div ng-if="datasources.length > 0"> <div ng-if="datasources.length > 0">
<h2 style="margin-top: 30px;">Load dashboard from Graphite-Web</h2> <h2 style="margin-top: 30px;">Load dashboard from Graphite-Web</h2>
<div class="tight-form last"> <div class="gf-form-group">
<ul class="tight-form-list"> <div class="gf-form-inline">
<li class="tight-form-item" style="width: 150px"> <div class="gf-form">
<strong>Data source</strong> <span class="gf-form-label width-10">Data source</span>
</li> </div>
<li> <div class="gf-form width-30">
<div class="gf-form-select-wrapper"> <div class="gf-form-select-wrapper">
<select type="text" ng-model="options.sourceName" class="input-medium tight-form-input" ng-options="f for f in datasources"> <select type="text" ng-model="options.sourceName" class="gf-form-input max-width-10" ng-options="f for f in datasources">
</select> </select>
</div> </div>
</li> </div>
<li style="float: right"> <div class="gf-form">
<button class="btn btn-inverse tight-form-btn" ng-click="listAll()">List dashboards</button> <button class="btn btn-inverse pull-right" ng-click="listAll()">List dashboards</button>
</li> </div>
<div class="clearfix"></div> </div>
</ul>
</div> </div>
<table class="grafana-options-table" style="margin-top: 20px;"> <table class="grafana-options-table" style="margin-top: 20px;">