|
|
@@ -1,3 +1,4 @@
|
|
|
+
|
|
|
<div class="gf-box-header">
|
|
|
<div class="gf-box-title">
|
|
|
<i class="fa fa-th-list"></i>
|
|
|
@@ -16,24 +17,46 @@
|
|
|
|
|
|
<div class="gf-box-body">
|
|
|
|
|
|
- <div class="editor-row" ng-if="editor.index == 0">
|
|
|
+ <div class="editor-row">
|
|
|
<div class="section">
|
|
|
<h5>Row details</h5>
|
|
|
- <div class="editor-option">
|
|
|
- <label class="small">Title</label><input type="text" class="input-medium" ng-model='row.title'></input>
|
|
|
- </div>
|
|
|
- <div class="editor-option">
|
|
|
- <label class="small">Height</label><input type="text" class="input-mini" ng-model='row.height'></input>
|
|
|
+ <div class="tight-form">
|
|
|
+ <ul class="tight-form-list">
|
|
|
+ <li class="tight-form-item">
|
|
|
+ Title
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <input type="text" class="input-xlarge tight-form-input" ng-model='row.title'></input>
|
|
|
+ </li>
|
|
|
+ <li class="tight-form-item">
|
|
|
+ Height
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <input type="text" class="input-small tight-form-input" ng-model='row.height'></input>
|
|
|
+ </li>
|
|
|
+ <li class="tight-form-item">
|
|
|
+ <label class="checkbox-label" for="row.showTitle">Show Title</label>
|
|
|
+ <input class="cr1" id="row.showTitle" type="checkbox" ng-model="row.showTitle" ng-checked="row.showTitle">
|
|
|
+ <label for="row.showTitle" class="cr1"></label>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <div class="clearfix"></div>
|
|
|
</div>
|
|
|
- <editor-opt-bool text="Editable" model="row.editable"></editor-opt-bool>
|
|
|
- <editor-opt-bool text="Show title" model="row.showTitle"></editor-opt-bool>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="section">
|
|
|
<h5>Templating options</h5>
|
|
|
- <div class="editor-option">
|
|
|
- <label class="small">Repeat row</label>
|
|
|
- <input type="text" class="input-medium" ng-model='row.repeat'></input>
|
|
|
+ <div class="tight-form">
|
|
|
+ <ul class="tight-form-list">
|
|
|
+ <li class="tight-form-item">
|
|
|
+ Repeat Row
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <select class="input-small tight-form-input last" ng-model="row.repeat" ng-options="f.name as f.name for f in dashboard.templating.list">
|
|
|
+ <option value=""></option>
|
|
|
+ </select>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <div class="clearfix"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|