mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
small update to panel repeats
This commit is contained in:
parent
f8f302faad
commit
158b77d54e
@ -29,6 +29,7 @@ function (angular, _) {
|
|||||||
row.panels = _.without(row.panels, panel);
|
row.panels = _.without(row.panels, panel);
|
||||||
j = j - 1;
|
j = j - 1;
|
||||||
}
|
}
|
||||||
|
delete panel.scopedVars;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -17,14 +17,25 @@
|
|||||||
<div class="gf-box-body">
|
<div class="gf-box-body">
|
||||||
|
|
||||||
<div class="editor-row" ng-if="editor.index == 0">
|
<div class="editor-row" ng-if="editor.index == 0">
|
||||||
<div class="editor-option">
|
<div class="section">
|
||||||
<label class="small">Title</label><input type="text" class="input-xlarge" ng-model='row.title'></input>
|
<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>
|
||||||
|
<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>
|
||||||
<div class="editor-option">
|
|
||||||
<label class="small">Height</label><input type="text" class="input-mini" ng-model='row.height'></input>
|
<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>
|
||||||
</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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user