Last change
on this file since 755 was 513, checked in by Kris Deugau, 12 years ago |
/branches/htmlform
Finally dug up a least-nasty way to effectively get rid of the
useless <legend> tag (required in a <fieldset>, in turn required
in a <form>, if you want to be valid HTML 4.01 Strict).
See #3.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[460] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
---|
| 2 | <html>
|
---|
| 3 | <head>
|
---|
| 4 | <title>IP Database - Add new tower/demarc switch</title>
|
---|
[511] | 5 | <link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME=webpath>/ipdb.css">
|
---|
| 6 | <link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME=webpath>/local.css">
|
---|
| 7 | <script src="<TMPL_VAR NAME=webpath>/templates/widgets.js" type="text/javascript"></script>
|
---|
[460] | 8 | </head>
|
---|
| 9 |
|
---|
| 10 | <body onUnload="redoParent()">
|
---|
| 11 | <TMPL_IF nodename>
|
---|
| 12 | <div style="padding: 3px;">
|
---|
| 13 | <TMPL_IF err>
|
---|
| 14 | Error adding node <TMPL_VAR NAME=nodename> to database: <TMPL_VAR NAME=err>
|
---|
| 15 | <TMPL_ELSE>
|
---|
| 16 | Node <TMPL_VAR NAME=nodename> added. Closing this window should refresh the page.
|
---|
| 17 | </TMPL_IF>
|
---|
| 18 | </div>
|
---|
| 19 | <TMPL_ELSE>
|
---|
| 20 | <form action="newnode.cgi" method="POST">
|
---|
[513] | 21 | <fieldset><legend class="noshow"> </legend>
|
---|
[460] | 22 | <table>
|
---|
| 23 | <tr class="color1"><td>Enter new AP/switch name/location:</td><td><input name="nodename"></td></tr>
|
---|
| 24 | <tr class="color2"><td>Enter management IP:</td><td><input name="nodeip"></td></tr>
|
---|
| 25 | <tr class="color1"><td>Wifi tower or fibre demarc switch?</td>
|
---|
| 26 | <td><input type=radio name="type" value="bi">Wifi tower<br>
|
---|
| 27 | <input type=radio name="type" value="fr">Fibre demarc
|
---|
| 28 | </td></tr>
|
---|
| 29 | <tr class="color2"><td colspan=2 align=center><input type=submit value="Add"></td></tr>
|
---|
| 30 | </table>
|
---|
| 31 | </fieldset>
|
---|
| 32 | </form>
|
---|
| 33 | </TMPL_IF>
|
---|
| 34 | </body>
|
---|
| 35 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.