added files
[bcm963xx.git] / userapps / broadcom / cfm / html / ipsec.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--
3         (c) 2006 U.S. Robotics Corporation
4 -->
5 <html>
6 <head>
7         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8         <meta http-equiv="Pragma" content="no-cache">
9         <title>Internet &raquo; VPN</title>
10         <link href="usr_menus.css" rel="stylesheet" type="text/css">
11         <script src="usr_menus.js" type="text/javascript"></script>
12         <script src="usr_menus_build.js" type="text/javascript"></script>
13         <link href="usr_main.css" rel="stylesheet" type="text/css">
14         <script src="usr_common.js" type="text/javascript"></script>
15
16   <script type="text/javascript" src="util.js"></script>
17   <script type="text/javascript">
18 <!-- hide
19
20 function addClick() {
21    var loc = 'ipsec.cmd?action=add';
22    var code = 'location = "' + loc + '"';
23    eval(code);
24 }
25
26 function editClick(index) {
27    var loc = 'ipsec.cmd?action=edit&index=' + index;
28    var code = 'location = "' + loc + '"';
29    eval(code);
30 }
31
32 function removeClick(index) {
33    var loc = 'ipsec.cmd?action=delete&index=' + index;
34    var code = 'location = "' + loc + '"';
35    eval(code);
36 }
37
38 function enClick(index, item) {
39    var cv;
40    if (item.checked) {
41           cv = "1";
42    }
43    else {
44       cv = "0";
45    }
46    item.checked = !item.checked;
47    var loc = 'ipsec.cmd?action=enchange&index=' + index +'&en=' + cv;
48    var code = 'location = "' + loc + '"';
49    eval(code);
50 }
51
52 // done hiding -->
53 </script>
54
55 </head>
56 <body onload="initMenu();">
57
58 <script type="text/javascript">
59         setPageTitle("<%ejGetWlJS(wlInterface)%>");        
60         writeHeader("Internet");
61 </script>
62
63 <h3>VPN IPSec Tunnel Connections</h3>
64
65 <p>Add, edit, or remove IPSec tunnel mode connections from this page.</p>
66
67 <form>
68 <table border="1" cellspacing="0">
69         <tr>
70                 <th>Enable</th>
71                 <th>Connection Name</th>
72                 <th>Remote Gateway</th>
73                 <th>Local Addresses</th>
74                 <th>Remote Addresses</th>
75                 <th>Connection Status</th>
76                 <th>&nbsp;</th>
77         </tr>
78         <%ejGetStr(ipsecTable)%>
79
80 </table>
81
82 <p><input value="Add New Connection" type="button" onclick="addClick();"></p>
83 </form>
84
85 <script type="text/javascript">
86         writeFooter();
87 </script>
88
89 </body>
90 </html>