Init commit
[networtool-web.git] / views / main.tpl
1 <html>
2 <body>
3
4 <div id='network'>
5 <h3>Network Configure</h3><hr>
6 % lines = len(ipaddr.split('\n'))
7 IP Addr Info: <br>
8 <textarea readonly rows={{lines}} cols="80">
9 {{ipaddr}}
10 </textarea>
11 <form action="/main" method="post">
12 <br>
13 Current Mode {{mode}}
14 <input type="checkbox" name=
15     Scan and Select the WiFI to connect to:<br>
16     <select name='select'>
17         % for ssid in ssids:
18         % if ssid == usedSsid:
19             <option value={{ssid}} selected>{{ssid}}</option>
20         % else:
21             <option value={{ssid}}>{{ssid}}</option>
22         % end
23         % end
24     </select>
25     <input name="action" value="Scan" type="submit"/>
26     password: <input name="password" type="password" />
27     <input name="action" value="Connect" type="submit"/>
28     <br>
29     <input name="action" value="Reset" type="submit"/>
30 </form>
31 </div>
32
33 </body>
34 </html>