source: trunk/templates/search/sresults.tmpl@ 823

Last change on this file since 823 was 823, checked in by Kris Deugau, 8 years ago

/trunk

Hack-patch search to show VRF. Needs complete rewrite as per #4.

File size: 1.8 KB
Line 
1<TMPL_IF errmsg>
2<br><div class="center"><TMPL_VAR NAME=errmsg><br><br>
3<input type="button" value="Back" onclick="history.go(-1)">
4</div><br>
5<TMPL_ELSE>
6<div class="heading"><TMPL_VAR NAME=searchtitle></div><br>
7<div class="center">
8<table width="98%" cellspacing="0" class="center">
9
10<tr>
11<td class="heading">VRF</td>
12<td class="heading">Allocation</td>
13<td class="heading">CustID</td>
14<td class="heading">Type</td>
15<td class="heading">City</td>
16<td class="heading">Description/Name</td>
17</tr>
18<TMPL_LOOP NAME=sresults>
19<tr class="row<TMPL_VAR NAME=rowclass>">
20<td><TMPL_VAR NAME=vrf></td>
21<td><TMPL_IF issub>Sub </TMPL_IF>
22<TMPL_IF freeip>
23<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&amp;block=<TMPL_VAR NAME=id>&amp;parent=<TMPL_VAR NAME=parent>&amp;fbtype=i"><TMPL_VAR NAME=block></a>
24<TMPL_ELSE>
25<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=id>&amp;basetype=<TMPL_VAR NAME=basetype>"><TMPL_VAR NAME=block></a><TMPL_IF ispool>&nbsp; <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=id>">List IPs</a></TMPL_IF>
26</TMPL_IF>
27</td>
28<td><TMPL_VAR NAME=custid></td>
29<td><TMPL_VAR NAME=disptype></td>
30<td><TMPL_VAR NAME=city></td>
31<td><TMPL_VAR NAME=desc></td>
32</tr>
33</TMPL_LOOP>
34
35<tr><td colspan="5">Total records found: <TMPL_VAR NAME=resfound><br><i>Displaying: <TMPL_VAR NAME=resstart> - <TMPL_VAR
36NAME=resstop></i></td></tr>
37</table>
38
39<TMPL_IF multipage>
40<div class="center">Page:
41<TMPL_LOOP NAME=pgnums><TMPL_IF thispage><b><TMPL_VAR NAME=pgnum>&nbsp;</b><TMPL_ELSE><a href="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi?page=<TMPL_VAR NAME=pgnum>&amp;stype=<TMPL_VAR NAME=stype>&amp;<TMPL_VAR NAME=extraopts>"><TMPL_VAR NAME=pgnum></a>&nbsp;</TMPL_IF>
42</TMPL_LOOP>
43</div>
44</TMPL_IF>
45
46</div>
47</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.