blob: 4921e2ea245711358de95550fee30b8e861accc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<div class="modal fade"
id="ipv6-infrastructure-static-route-modal" tabindex="-1" role="dialog"
aria-labelledby="ipv6-infrastructure-static-route-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">ipv6-infrastructure-static-route</h4>
</div>
<div class="modal-body">
<form role="form" action="" method="POST">
<div class="form-group">
<label for="ipv6_outgoing_interface">ipv6-outgoing-interface</label>
<input type="text" class="form-control" name="ipv6_outgoing_interface" id="ipv6_outgoing_interface">
</div>
<div class="form-group">
<label for="ipv6_next_hop_address">ipv6-next-hop-address</label>
<input type="text" class="form-control" name="ipv6_next_hop_address" id="ipv6_next_hop_address">
</div>
<div class="form-group">
<label for="ipv6_dest_prefix">ipv6-dest-prefix</label>
<input type="text" class="form-control" name="ipv6_dest_prefix" id="ipv6_dest_prefix">
</div>
<div class="form-group">
<label for="ipv6_dest_prefix_length">ipv6-dest-prefix-length</label>
<input type="text" class="form-control" name="ipv6_dest_prefix_length" id="ipv6_dest_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){
$('#ipv6-infrastructure-static-route-modal').modal('hide');
form.action = form.uf_action.value;
form.submit();
return;
}
</script>
|