Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | <div class="modal fade" id="add_resource_rule" tabindex="-1" role="dialog" |
| 2 | aria-labelledby="add_resource_rule_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 Resource Rule</h4> |
| 8 | </div> |
| 9 | <div class="modal-body"> |
| 10 | <form name="addForm" role="form" action="/resalloc/addResourceRule" method="POST"> |
| 11 | <div class="form-group"> |
| 12 | <label for="nf_resource_name">*Name</label> |
| 13 | <input type="text" class="form-control" maxlength="50" name="nf_resource_name" id="nf_resource_name" placeholder="varchar(50)"> |
| 14 | </div> |
| 15 | <div class="form-group"> |
| 16 | <label for="nf_end_point_position">*End Point Position</label> |
| 17 | <input type="text" class="form-control" maxlength="50" name="nf_end_point_position" id="nf_end_point_position" placeholder="varchar(50)"> |
| 18 | </div> |
| 19 | <div class="form-group"> |
| 20 | <label for="nf_service_expression">*Service Expression</label> |
| 21 | <input type="text" class="form-control" maxlength="2000" name="nf_service_expression" id="nf_service_expression" placeholder="varchar(2000)"> |
| 22 | </div> |
| 23 | <div class="form-group"> |
| 24 | <label for="nf_equipment_level">*Equipment Level</label> |
| 25 | <input type="text" class="form-control" maxlength="50" name="nf_equipment_level" id="nf_equipment_level" placeholder="varchar(50)"> |
| 26 | </div> |
| 27 | <div class="form-group"> |
| 28 | <label for="nf_equipment_expression">*Equipment Expression</label> |
| 29 | <input type="text" class="form-control" maxlength="2000" name="nf_equipment_expression" id="nf_equipment_expression" placeholder="varchar(2000)"> |
| 30 | </div> |
| 31 | <div class="form-group"> |
| 32 | <label for="nf_allocation_expression">*Allocation Expression</label> |
| 33 | <input type="text" class="form-control" maxlength="2000" name="nf_allocation_expression" id="nf_allocation_expression" placeholder="varchar(2000)"> |
| 34 | </div> |
| 35 | <div class="form-group"> |
| 36 | <label for="nf_soft_limit_expression">*Soft Limit Expression</label> |
| 37 | <input type="text" class="form-control" maxlength="2000" name="nf_soft_limit_expression" id="nf_soft_limit_expression" placeholder="varchar(2000)"> |
| 38 | </div> |
| 39 | <div class="form-group"> |
| 40 | <label for="nf_hard_limit_expression">*Hard Limit Expression</label> |
| 41 | <input type="text" class="form-control" maxlength="2000" name="nf_hard_limit_expression" id="nf_hard_limit_expression" placeholder="varchar(2000)"> |
| 42 | </div> |
| 43 | <div class="form-group"> |
| 44 | <label for="nf_service_model">*Service Model</label> |
| 45 | <input type="text" class="form-control" maxlength="50" name="nf_service_model" id="nf_service_model" placeholder="varchar(50)"> |
| 46 | </div> |
| 47 | <div class="form-group"> |
| 48 | <input type="hidden" name="nf_action" id="nf_action"> |
| 49 | <button type="button" class="btn btn-primary" onclick="submitResourceRule(this.form);">Submit</button> |
| 50 | <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 51 | </div> |
| 52 | </form> |
| 53 | </div> |
| 54 | </div> |
| 55 | </div> |
| 56 | </div> |
| 57 | |
| 58 | <div class="modal fade" id="update_resource_rule" tabindex="-1" role="dialog" |
| 59 | aria-labelledby="update_resource_rule_label" aria-hidden="true"> |
| 60 | <div class="modal-dialog"> |
| 61 | <div class="modal-content"> |
| 62 | <div class="modal-header"> |
| 63 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
| 64 | <h4 class="modal-title">Update Resource Rule</h4> |
| 65 | </div> |
| 66 | <div class="modal-body"> |
| 67 | <form role="form" action="/resalloc/updateResourceRule" method="POST"> |
| 68 | <div class="form-group"> |
| 69 | <label for="uf_resource_rule_id">*Rule ID</label> |
| 70 | <input readonly type="text" class="form-control" name="uf_resource_rule_id" id="uf_resource_rule_id"> |
| 71 | </div> |
| 72 | <div class="form-group"> |
| 73 | <label for="uf_resource_name">*Name</label> |
| 74 | <input type="text" class="form-control" maxlength="50" name="uf_resource_name" id="uf_resource_name" placeholder="varchar(50)"> |
| 75 | </div> |
| 76 | <div class="form-group"> |
| 77 | <label for="uf_end_point_position">*End Point Position</label> |
| 78 | <input type="text" class="form-control" maxlength="50" name="uf_end_point_position" id="uf_end_point_position" placeholder="varchar(50)"> |
| 79 | </div> |
| 80 | <div class="form-group"> |
| 81 | <label for="uf_service_expression">*Service Expression</label> |
| 82 | <input type="text" class="form-control" maxlength="2000" name="uf_service_expression" id="uf_service_expression" placeholder="varchar(2000)"> |
| 83 | </div> |
| 84 | <div class="form-group"> |
| 85 | <label for="uf_equipment_level">*Equipment Level</label> |
| 86 | <input type="text" class="form-control" maxlength="50" name="uf_equipment_level" id="uf_equipment_level" placeholder="varchar(50)"> |
| 87 | </div> |
| 88 | <div class="form-group"> |
| 89 | <label for="uf_equipment_expression">*Equipment Expression</label> |
| 90 | <input type="text" class="form-control" maxlength="2000" name="uf_equipment_expression" id="uf_equipment_expression" placeholder="varchar(2000)"> |
| 91 | </div> |
| 92 | <div class="form-group"> |
| 93 | <label for="uf_allocation_expression">*Allocation Expression</label> |
| 94 | <input type="text" class="form-control" maxlength="2000" name="uf_allocation_expression" id="uf_allocation_expression" placeholder="varchar(2000)"> |
| 95 | </div> |
| 96 | <div class="form-group"> |
| 97 | <label for="uf_soft_limit_expression">*Soft Limit Expression</label> |
| 98 | <input type="text" class="form-control" maxlength="2000" name="uf_soft_limit_expression" id="uf_soft_limit_expression" placeholder="varchar(2000)"> |
| 99 | </div> |
| 100 | <div class="form-group"> |
| 101 | <label for="uf_hard_limit_expression">*Hard Limit Expression</label> |
| 102 | <input type="text" class="form-control" maxlength="2000" name="uf_hard_limit_expression" id="uf_hard_limit_expression" placeholder="varchar(2000)"> |
| 103 | </div> |
| 104 | <div class="form-group"> |
| 105 | <label for="uf_service_model">*Service Model</label> |
| 106 | <input type="text" class="form-control" maxlength="50" name="uf_service_model" id="uf_service_model" placeholder="varchar(50)"> |
| 107 | </div> |
| 108 | <div class="form-group"> |
| 109 | <input type="hidden" name="uf_action" id="uf_action"> |
| 110 | <input type="hidden" name="uf_key_resource_rule_id" id="uf_key_resource_rule_id"> |
| 111 | <button type="button" class="btn btn-primary" onclick="submitResourceRule(this.form);">Submit</button> |
| 112 | <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 113 | </div> |
| 114 | </form> |
| 115 | </div> |
| 116 | </div> |
| 117 | </div> |
| 118 | </div> |