source: branches/htmlform/templates/newcity.tmpl@ 511

Last change on this file since 511 was 511, checked in by Kris Deugau, 12 years ago

/branches/htmlform

Final prep for merge back to trunk.

  • Remove lockin on /ip/ web path as with /branches/stable r507.
  • Fix a buglet with the body text color.
  • Remove the lingering header and footer template files

See #3.

File size: 1.1 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 city</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 city>
12<div style="padding=3px;">
13<TMPL_IF err>
14Error adding city <TMPL_VAR NAME=city> to database: <TMPL_VAR NAME=err>
15<TMPL_ELSE>
16City <TMPL_VAR NAME=city> added. Closing this window should refresh the page.
17</TMPL_IF>
18</div>
19<TMPL_ELSE>
20<form action="newcity.cgi" method="POST">
21<fieldset><legend></legend>
22<table>
23<tr class="color1"><td>Enter new city:</td><td><input name="city"></td></tr>
24<tr class="color2"><td>POP site?</td><td><input type=checkbox name="pop"></td></tr>
25<tr class="color1"><td colspan=2 align=center><input type=submit value="Add city"></td></tr>
26</table>
27</fieldset>
28</form>
29</TMPL_IF>
30</body>
31</html>
Note: See TracBrowser for help on using the repository browser.