Changeset 570 for trunk/templates


Ignore:
Timestamp:
12/19/12 17:17:04 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Work in progress, see #5:
Update IP pool listing with new fields.
Also update the listing itself to allow allocation of unassigned IPs
right from the list, rather than forcing use of either admin tools
or guided assignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/listpool.tmpl

    r528 r570  
    2929<TMPL_LOOP name=poolips>
    3030<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
    31 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></a></td>
     31<td>
     32<TMPL_IF delme>
     33<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=ip>&amp;rdepth=<TMPL_VAR NAME=ipdepth>"><TMPL_VAR NAME=ip></a>
     34<TMPL_ELSE>
     35<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&amp;block=<TMPL_VAR NAME=ip>&amp;rdepth=<TMPL_VAR NAME=ipdepth>&amp;fbtype=i"><TMPL_VAR NAME=ip></a>
     36</TMPL_IF>
     37</td>
    3238<td><TMPL_VAR NAME=custid></td>
    3339<td><TMPL_VAR NAME=available></td>
Note: See TracChangeset for help on using the changeset viewer.