mirror of https://github.com/grafana/grafana
parent
dbeeb32ab6
commit
2f61fc6afe
@ -1,27 +1,27 @@ |
||||
<div class="gf-form-group"> |
||||
<h5 class="section-heading">Add annotation event</h5> |
||||
|
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-8">Title</span> |
||||
<input type="text" ng-model="ctrl.event.title" class="gf-form-input max-width-20"> |
||||
</div> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-8">Time</span> |
||||
<input type="text" ng-model="ctrl.event.time" class="gf-form-input max-width-20"> |
||||
</div> |
||||
<div class="gf-form" ng-if="ctrl.event.isRegion"> |
||||
<span class="gf-form-label width-8">To</span> |
||||
<input type="text" ng-model="ctrl.event.endTime" class="gf-form-input max-width-20"> |
||||
</div> |
||||
<div class="gf-form gf-form--v-stretch"> |
||||
<span class="gf-form-label width-7">Description</span> |
||||
<textarea class="gf-form-input width-25" rows="3" ng-model="ctrl.event.description" placeholder="Panel description, supports markdown & links"></textarea> |
||||
</div> |
||||
</div> |
||||
<h5 class="section-heading text-center">Create event</h5> |
||||
|
||||
<div class="text-center"> |
||||
<div class="gf-form-group" style="display: inline-block"> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-7">Title</span> |
||||
<input type="text" ng-model="ctrl.event.title" class="gf-form-input max-width-20"> |
||||
</div> |
||||
<div class="gf-form"> |
||||
<span class="gf-form-label width-7">Time</span> |
||||
<input type="text" ng-model="ctrl.event.time" class="gf-form-input max-width-20"> |
||||
</div> |
||||
<div class="gf-form" ng-if="ctrl.event.isRegion"> |
||||
<span class="gf-form-label width-7">To</span> |
||||
<input type="text" ng-model="ctrl.event.endTime" class="gf-form-input max-width-20"> |
||||
</div> |
||||
<div class="gf-form gf-form--v-stretch"> |
||||
<span class="gf-form-label width-7">Description</span> |
||||
<textarea class="gf-form-input width-20" rows="3" ng-model="ctrl.event.description" placeholder="Event description"></textarea> |
||||
</div> |
||||
|
||||
<div class="gf-form-button-row"> |
||||
<button class="btn gf-form-btn width-10 btn-success" ng-click="ctrl.addAnnotation()"> |
||||
<i class="fa fa-pencil"></i> |
||||
Add Annotation |
||||
</button> |
||||
<div class="gf-form-button-row"> |
||||
<button class="btn gf-form-btn btn-success" ng-click="ctrl.addAnnotation()">Save</button> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
Loading…
Reference in new issue