diff options
author | Timoney, Daniel (dt5972) <dtimoney@att.com> | 2017-02-15 10:37:53 -0500 |
---|---|---|
committer | Timoney, Daniel (dt5972) <dtimoney@att.com> | 2017-02-15 10:40:37 -0500 |
commit | 324ee36fe31763e507b422ab0a88e4230045e205 (patch) | |
tree | d0b04520f6657601c918ce63fd27575977624187 /admportal/views/partials/equipment.ejs | |
parent | f0c97e8db427481e28c0a16b789bc73801b35e47 (diff) |
Initial commit for OpenECOMP SDN-C OA&M
Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba
Diffstat (limited to 'admportal/views/partials/equipment.ejs')
-rw-r--r-- | admportal/views/partials/equipment.ejs | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/admportal/views/partials/equipment.ejs b/admportal/views/partials/equipment.ejs new file mode 100644 index 00000000..5f4d798d --- /dev/null +++ b/admportal/views/partials/equipment.ejs @@ -0,0 +1,58 @@ + <div class="modal fade" + id="equipment-modal" tabindex="-1" role="dialog" + aria-labelledby="equipment-modal-label" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> + <h4 class="modal-title">equipment</h4> + </div> + <div class="modal-body"> + <form role="form" action="" method="POST"> + <div class="form-group"> + <label for="equipment_role">equipment-role</label> + <input type="text" class="form-control" name="equipment_role" id="equipment_role"> + </div> + <div class="form-group"> + <label for="ptnii_name">ptnii-name</label> + <input type="text" class="form-control" name="ptnii_name" id="ptnii_name"> + </div> + <div class="form-group"> + <label for="ipv4_oam_address">ipv4-oam-address</label> + <input type="text" class="form-control" name="ipv4_oam_address" id="ipv4_oam_address"> + </div> + <div class="form-group"> + <label for="ipv4_oam_gateway_address">ipv4-oam-gateway-address</label> + <input type="text" class="form-control" name="ipv4_oam_gateway_address" id="ipv4_oam_gateway_address"> + </div> + <div class="form-group"> + <label for="v4_loopback0_ip_address">v4-loopback0-ip-address</label> + <input type="text" class="form-control" name="v4_loopback0_ip_address" id="v4_loopback0_ip_address"> + </div> + <div class="form-group"> + <label for="ipv4_oam_gateway_address_prefix_length">ipv4-oam-gateway-address-prefix-length</label> + <input type="text" class="form-control" name="ipv4_oam_gateway_address_prefix_length" id="ipv4_oam_gateway_address_prefix_length"> + </div> + +<!-- + <div class="form-group"> + <input type="hidden" name="uf_action" id="uf_action"> + <button type="button" class="btn btn-primary" onclick="submit(this.form);">Submit</button> + <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> + </div> +--> + </form> + </div> + </div> + </div> + </div> + +<script type="text/javascript"> +function submit(form){ + $('#equipment-modal').modal('hide'); + form.action = form.uf_action.value; + form.submit(); + return; +} +</script> + |