Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame^] | 1 | <div class="modal fade" id="add_threshold_alarm" tabindex="-1" role="dialog" |
| 2 | aria-labelledby="add_threshold_alarm_label" aria-hidden="true"> |
| 3 | <div class="modal-dialog"> |
| 4 | <div class="modal-content"> |
| 5 | <div class="modal-header"> |
| 6 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
| 7 | <h4 class="modal-title">Add Threshold Alarm</h4> |
| 8 | </div> |
| 9 | <div class="modal-body"> |
| 10 | <form name="addForm" role="form" action="/resalloc/addThresholdAlarm" method="POST"> |
| 11 | <div class="form-group"> |
| 12 | <label for="nf_resource_rule_id">*Resource Rule ID</label> |
| 13 | <input type="text" class="form-control" maxlength="20" name="nf_resource_rule_id" id="nf_resource_rule_id" placeholder="bigint(20)"> |
| 14 | </div> |
| 15 | <div class="form-group"> |
| 16 | <label for="nf_threshold_expression">*Threshold Expression</label> |
| 17 | <input type="text" class="form-control" maxlength="2000" name="nf_threshold_expression" id="nf_threshold_expression" placeholder="varchar(2000)"> |
| 18 | </div> |
| 19 | <div class="form-group"> |
| 20 | <label for="nf_threshold_message">*Threshold Message</label> |
| 21 | <input type="text" class="form-control" maxlength="500" name="nf_threshold_message" id="nf_threshold_message" placeholder="varchar(500)"> |
| 22 | </div> |
| 23 | <div class="form-group"> |
| 24 | <input type="hidden" name="nf_action" id="nf_action"> |
| 25 | <button type="button" class="btn btn-primary" onclick="submitThresholdAlarm(this.form);">Submit</button> |
| 26 | <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 27 | </div> |
| 28 | </form> |
| 29 | </div> |
| 30 | </div> |
| 31 | </div> |
| 32 | </div> |
| 33 | |
| 34 | |
| 35 | <div class="modal fade" id="update_threshold_alarm" tabindex="-1" role="dialog" |
| 36 | aria-labelledby="threshold_alarm_label" aria-hidden="true"> |
| 37 | <div class="modal-dialog"> |
| 38 | <div class="modal-content"> |
| 39 | <div class="modal-header"> |
| 40 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
| 41 | <h4 class="modal-title">Update Threshold Alarm</h4> |
| 42 | </div> |
| 43 | <div class="modal-body"> |
| 44 | <form name="updateForm" role="form" action="/resalloc/updateThresholdAlarm" method="POST"> |
| 45 | <div class="form-group"> |
| 46 | <label for="uf_resource_threshold_id">*Resource Threshold ID</label> |
| 47 | <input readonly type="text" class="form-control" name="uf_resource_threshold_id" id="uf_resource_threshold_id"> |
| 48 | </div> |
| 49 | <div class="form-group"> |
| 50 | <label for="uf_resource_rule_id">*Resource Rule ID</label> |
| 51 | <input type="text" class="form-control" maxlength="20" name="uf_resource_rule_id" id="uf_resource_rule_id" placeholder="bigint(20)"> |
| 52 | </div> |
| 53 | <div class="form-group"> |
| 54 | <label for="uf_threshold_expression">*Threshold Expression</label> |
| 55 | <input type="text" class="form-control" maxlength="2000" name="uf_threshold_expression" id="uf_threshold_expression" placeholder="varchar(2000)"> |
| 56 | </div> |
| 57 | <div class="form-group"> |
| 58 | <label for="uf_threshold_message">*Threshold Message</label> |
| 59 | <input type="text" class="form-control" maxlength="2000" name="uf_threshold_message" id="uf_threshold_message" placeholder="varchar(2000)"> |
| 60 | </div> |
| 61 | <div class="form-group"> |
| 62 | <input type="hidden" name="uf_action" id="uf_action"> |
| 63 | <input type="hidden" name="uf_key_resource_threshold_id" id="uf_key_resource_threshold_id"> |
| 64 | <button type="button" class="btn btn-primary" onclick="submitThresholdAlarm(this.form);">Submit</button> |
| 65 | <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 66 | </div> |
| 67 | </form> |
| 68 | </div> |
| 69 | </div> |
| 70 | </div> |
| 71 | </div> |