diff options
Diffstat (limited to 'admportal/views/partials/v6_static_routes.ejs')
-rw-r--r-- | admportal/views/partials/v6_static_routes.ejs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/admportal/views/partials/v6_static_routes.ejs b/admportal/views/partials/v6_static_routes.ejs new file mode 100644 index 00000000..bea721df --- /dev/null +++ b/admportal/views/partials/v6_static_routes.ejs @@ -0,0 +1,46 @@ + <div class="modal fade" id="v6-static-routes-modal" tabindex="-1" role="dialog" + aria-labelledby="v6-static-routes-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">v6-static-routes</h4> + </div> + <div class="modal-body"> + <form id="v6_static_route_prefix_form" role="form" action="" method="POST"> + <div class="form-group"> + <label for="v6_static_route_prefix">v6-static-route-prefix</label> + <input type="text" class="form-control" name="v6_static_route_prefix" id="v6_static_route_prefix"> + </div> + <div class="form-group"> + <label for="v6_static_route_prefix_length">v6-static-route-prefix-length</label> + <input type="text" class="form-control" name="v6_static_route_prefix_length" id="v6_static_route_prefix_length"> + </div> + <div class="form-group"> + <label for="static_v6_next_hop_address">v6-next-hop-address</label> + <input type="text" class="form-control" name="static_v6_next_hop_address" id="static_v6_next_hop_address"> + </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){ + $('#v6-static-routes-modal').modal('hide'); + form.action = form.uf_action.value; + form.submit(); + return; +} +</script> + |