bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/cmd/bosun/web/static/partials/action.html (about) 1 <form class="form-horizontal"> 2 <div class="form-group"> 3 <label class="col-sm-3 control-label">Action</label> 4 <div class="col-sm-6"> 5 <p class="form-control-static" ng-bind="type"></p> 6 </div> 7 </div> 8 <div class="form-group" ng-class="(user != '') ? '' : 'has-error' "> 9 <label class="col-sm-3 control-label">Username</label> 10 <div class="col-sm-6"> 11 <username-input></username-input> 12 </div> 13 </div> 14 <div class="form-group" ng-class="msgValid ? '' : 'has-error' "> 15 <label class="col-sm-3 control-label">Message</label> 16 <div class="col-sm-6"> 17 <textarea rows="10" class="form-control" ng-model="message" ng-change="validateMsg()" ng-blur="validateMsg()"></textarea> 18 </div> 19 </div> 20 <div class="form-group" ng-show="activeIncidents && type == 'close'" ng-class="durationValid ? '' : 'has-error' "> 21 <label class="col-sm-3 control-label"> 22 Delayed Close Duration 23 <div style="outline: none;" class="pull-right" container="body" 24 data-placement="bottom" data-title="Delayed Close" 25 data-content="Since you are closing alert(s) that are active, the active alerts will be put in delayed close for the specified duration. The duration should be when you expect the alert to return to normal. If the alert goes back to normal during this period the alert will be closed. If at the end of this period the alert is still non-normal, the alert will be forced-closed resulting in a new incident. If no duration is specified it will default to 2x the check duration. The format in a number followed by a unit such as 1h (s seconds, m minutes, h hours, w weeks, n months)." 26 bs-popover><i class="fa fa-question-circle-o fa-lg" aria-hidden="true"> </i> 27 </div> 28 </label> 29 <div class="col-sm-1"> 30 <input class="form-control" ng-model="duration" ng-change="validateDuration()"></input> 31 </div> 32 </div> 33 <div class="form-group"> 34 <div class="col-sm-offset-3 col-sm-6"> 35 <div class="checkbox"><label><input type="checkbox" ng-model="notify" ng-change="validateMsg()"> Send Notification</label></div> 36 </div> 37 </div> 38 <div class="form-group"> 39 <div class="col-sm-offset-3 col-sm-6"> 40 <button type="submit" class="btn btn-default" ng-click="submit()">Submit</button> 41 </div> 42 </div> 43 <div class="form-group"> 44 <div class="col-sm-offset-3 col-sm-9"> 45 <h4>Alert<span ng-show="keys.length > 1">s</span></h4> 46 <ul class="list-unstyled"> 47 <li ng-repeat="k in keys" ng-bind="k"></li> 48 </ul> 49 </div> 50 </div> 51 </form>