source: branches/stable/templates/search/sresults.tmpl@ 605

Last change on this file since 605 was 605, checked in by Kris Deugau, 11 years ago

/branches/stable

Brown-paper-bag fixup commit:

  • add another type to the set which can use nodes
  • template and code changes to let admin allocations includ VRF info
  • fix subtle bug in getTypeList() that returned the Routing type when it shouldn't
  • compare and display VRF info on searches
  • minor HTML formatting tweaks for clarity

Bump version to 2.8.1

File size: 1.5 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">Allocation</td>
12<td class="heading">CustID</td>
13<td class="heading">Type</td>
14<td class="heading">City</td>
15<td class="heading">Description/Name</td>
16</tr>
17<TMPL_LOOP NAME=sresults>
18<tr class="row<TMPL_VAR NAME=rowclass>">
19<td><TMPL_IF issub>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=block>"><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=block>">List IPs</a></TMPL_IF></td>
20<td><TMPL_VAR NAME=custid></td>
21<td><TMPL_VAR NAME=disptype></td>
22<td><TMPL_VAR NAME=city></td>
23<td><TMPL_VAR NAME=desc><TMPL_IF vrf> - vrf:<TMPL_VAR NAME=vrf></TMPL_IF></td>
24</tr>
25</TMPL_LOOP>
26
27<tr><td colspan="5">Total records found: <TMPL_VAR NAME=resfound><br><i>Displaying: <TMPL_VAR NAME=resstart> - <TMPL_VAR
28NAME=resstop></i></td></tr>
29</table>
30
31<TMPL_IF multipage>
32<div class="center">Page:
33<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>
34</TMPL_LOOP>
35</div>
36</TMPL_IF>
37
38</div>
39</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.