Replacing mysql to hsqldb
[toolkit.git] / samples / dnsguard / src / main / resources / WEB-INF / jsp / modconfig.jsp
1 <html>
2         <head>
3         
4         <!-- style -->
5     <link rel="stylesheet" href="/css/ext/pure.css"/>
6     <link rel="stylesheet" href="/css/phoenix.css"/>
7         
8     <!-- style app -->
9     <link rel="stylesheet" href="/dnsguard/web/css/simple.css"/>
10         <link rel="stylesheet" href="http://cdn.datatables.net/1.10.0/css/jquery.dataTables.css"/>
11          
12         <script data-main="/dnsguard/web/js/modconfig" src="/js/ext/require.js"></script> 
13         
14         </head>
15         <body>
16                 
17                 <div id="main">
18                         <h3>DnsGuard configuration</h3>
19                         
20                         <h5>Please provide the following information to configure the database.
21                         If it is the first time using the database this module will create the required tables</h5>
22                         
23                         <form action="updateconfig" method="post">
24                                 <div>
25                                   DB Server IP: <input name="dbserver" value="127.0.0.1" type="text">
26                                 </div>
27                                 
28                                 <div>
29                                   DB Port: <input name="dbport" value="9001" type="text">
30                                 </div>  
31                                 
32                                 <div>
33                                   DB Name: <input name="dbname" value="dnsspy" type="text">
34                                 </div>  
35                                 
36                                 <div>
37                                   DB Username: <input name="dbuser" value="SA" type="text">
38                                 </div>          
39                                 
40                                 <div>
41                                   DB Password: <input name="dbpasswd" value="password" type="password">
42                                 </div>          
43                                  
44                                 <div>
45                                   DB InternalBuffer Size: <input name="ib_size" value="200" type="text">
46                                 </div>
47         
48                                 <div>
49                                   DB InternalBuffer Max Size: <input name="ib_max" value="400" type="text">
50                                 </div>
51                                 
52                                 <input type="submit" value="Save">
53                         </form>
54                         
55                 </div>
56                 
57         </body>
58
59 </html>