diff options
Diffstat (limited to 'admportal/views/partials/routing_protocol.ejs')
-rw-r--r-- | admportal/views/partials/routing_protocol.ejs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/admportal/views/partials/routing_protocol.ejs b/admportal/views/partials/routing_protocol.ejs new file mode 100644 index 00000000..1bd647fe --- /dev/null +++ b/admportal/views/partials/routing_protocol.ejs @@ -0,0 +1,38 @@ + <div class="modal fade" id="routing-protocol-modal" tabindex="-1" role="dialog" + aria-labelledby="routing-protocol-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">routing-protocol</h4> + </div> + <div class="modal-body"> + <form role="form" action="" method="POST"> + <div class="form-group"> + <label for="routing_protocol">routing-protocol</label> + <input type="text" class="form-control" name="routing_protocol" id="routing_protocol"> + </div> + +<!-- + <div class="form-group"> + <input type="hidden" name="svc_instance_id" id="svc_instance_id"> + <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){ + $('#routing-protocol-modal').modal('hide'); + form.action = form.uf_action.value; + form.submit(); + return; +} +</script> + |