Commit 6c617ba2 by bergquist

fix(annotations): rearrange missplaced save button

parent f225bb00
...@@ -64,7 +64,8 @@ ...@@ -64,7 +64,8 @@
</div> </div>
</div> </div>
<div class="gf-form-group annotations-basic-settings" ng-if="mode === 'edit' || mode === 'new'"> <div class="annotations-basic-settings" ng-if="mode === 'edit' || mode === 'new'">
<div class="gf-form-group">
<div class="gf-form-inline"> <div class="gf-form-inline">
<div class="gf-form gf-size-max-xxl"> <div class="gf-form gf-size-max-xxl">
<span class="gf-form-label width-10">Name</span> <span class="gf-form-label width-10">Name</span>
...@@ -92,16 +93,19 @@ ...@@ -92,16 +93,19 @@
<span class="checkbox-label">Line color</span> <span class="checkbox-label">Line color</span>
</div> </div>
</div> </div>
</div>
<rebuild-on-change property="currentAnnotation.datasource"> <rebuild-on-change property="currentAnnotation.datasource">
<plugin-component type="annotations-query-ctrl"> <plugin-component type="annotations-query-ctrl">
</plugin-component> </plugin-component>
</rebuild-on-change> </rebuild-on-change>
<div class="gf-button-group"> <div class="gf-form">
<button ng-show="mode === 'new'" type="button" class="btn btn-success" ng-click="add()">Add</button> <div class="gf-form-button-row">
<button ng-show="mode === 'new'" type="button" class="btn gf-form-button btn-success" ng-click="add()">Add</button>
<button ng-show="mode === 'edit'" type="button" class="btn btn-success pull-left" ng-click="update();">Update</button> <button ng-show="mode === 'edit'" type="button" class="btn btn-success pull-left" ng-click="update();">Update</button>
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment