source: trunk/templates/newnode.tmpl@ 806

Last change on this file since 806 was 650, checked in by Kris Deugau, 10 years ago

/trunk

Commit lingering cosmetic tweak of "add new node" popup template page

File size: 1.3 KB
Line 
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 layer-2/demarc node</title>
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>
8</head>
9
10<body onUnload="redoParent()">
11<TMPL_IF nodename>
12<div style="padding: 3px;">
13<TMPL_IF err>
14Error adding node <TMPL_VAR NAME=nodename> to database: <TMPL_VAR NAME=err>
15<TMPL_ELSE>
16Node <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">
21<fieldset><legend class="noshow">&nbsp;</legend>
22<table>
23<tr class="color1"><td>Enter new node 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.