source: trunk/templates/nodesearch.tmpl@ 635

Last change on this file since 635 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
RevLine 
[477]1<div class="indent">
[494]2<TMPL_IF errmsg>
3Failed to retrieve node list: <TMPL_VAR NAME=errmsg>
4<TMPL_ELSE>
[477]5<div class="heading">Switch/tower search</div>
[511]6<form action="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi" method=POST>
[513]7<fieldset><legend class="noshow">&nbsp;</legend>
[477]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>
[519]13<TMPL_LOOP NAME=nodelist> <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option>
[477]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>
[494]27</TMPL_IF>
[477]28</div>
Note: See TracBrowser for help on using the repository browser.