source: trunk/templates/nodesearch.tmpl@ 634

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

/trunk

Move SQL for node search page into IPDB.pm. See #34.
Also tweak some handling for the lingering global statement handle
variable, since it may be undefined instead of a statement handle.

File size: 838 bytes
Line 
1<div class="indent">
2<TMPL_IF errmsg>
3Failed to retrieve node list: <TMPL_VAR NAME=errmsg>
4<TMPL_ELSE>
5<div class="heading">Switch/tower search</div>
6<form action="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi" method=POST>
7<fieldset><legend class="noshow">&nbsp;</legend>
8<table cellspacing="1" cellpadding="2">
9<tr class="row0">
10<td>Find customers connected through:</td>
11<td><select name="node">
12 <option>--</option>
13<TMPL_LOOP NAME=nodelist> <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option>
14</TMPL_LOOP>
15</select></td>
16</tr>
17
18<tr class="row1">
19<td colspan="2" align="center"><input type="submit" value="Find customers"></td>
20</tr>
21</table>
22<input type="hidden" name="stype" value="n">
23<input type="hidden" name="page" value="1">
24<input type="hidden" name="rpp" value="50">
25</fieldset>
26</form>
27</TMPL_IF>
28</div>
Note: See TracBrowser for help on using the repository browser.