source: trunk/templates/domlist.tmpl@ 131

Last change on this file since 131 was 100, checked in by Kris Deugau, 13 years ago

/trunk/templates

Templates

UI tweaks - make sure all main-body content is valign=top

dns.css

tweak comment style so IE ignores a line properly
fix typo, set valign=top on #datatablewrapper
add a couple more classes

grouptree-ie.css

tweak padding to indent group tree properly, comment a few more (apparently)
irrelevant bits

File size: 2.3 KB
RevLine 
[2]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
[100]5<td align="center" valign="top">
[22]6
[95]7 <TMPL_IF errmsg>
8 <div class='errmsg'><TMPL_VAR NAME=errmsg></div>
[22]9 </TMPL_IF>
10
[2]11<table width="98%">
[100]12<tr><th colspan="3"><div class="center maintitle">Domain list</div></th></tr>
[41]13<tr>
14<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
15<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
16<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
17</tr>
[40]18<tr><td colspan="3" align="center"><TMPL_INCLUDE NAME="lettsearch.tmpl"></td></tr>
[95]19<tr><td colspan="3" align="right"><TMPL_IF domain_create><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=newdomain">New Domain</a></TMPL_IF></td></tr>
[2]20</table>
21
[39]22<table width="98%" border="0" cellspacing="4" cellpadding="3">
[2]23<tr>
[44]24<TMPL_LOOP NAME=colheads>
25<td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR
26NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
27NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
28NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
29src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td>
30</TMPL_LOOP>
[95]31<TMPL_IF domain_edit> <td class="datahead_s">Change Status</td></TMPL_IF>
32<TMPL_IF domain_delete> <td class="datahead_s">Delete</td></TMPL_IF>
[2]33</tr>
34<TMPL_IF name=domtable>
35<TMPL_LOOP name=domtable>
36<tr class="row<TMPL_VAR name=bg>">
[39]37 <td align="left"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=reclist&amp;id=<TMPL_VAR NAME=domainid>&amp;defrec=n"><TMPL_VAR NAME=domain></a></td>
[38]38 <td><TMPL_VAR name=status></td>
39 <td><TMPL_VAR name=group></td>
[95]40<TMPL_IF domain_edit> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist<TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;id=<TMPL_VAR NAME=domainid>&amp;action=<TMPL_IF NAME=mkactive>domon<TMPL_ELSE>domoff</TMPL_IF>"><TMPL_IF NAME=mkactive>activate<TMPL_ELSE>deactivate</TMPL_IF></a></td></TMPL_IF>
41<TMPL_IF domain_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=deldom&amp;id=<TMPL_VAR NAME=domainid>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF>
[2]42</tr>
43</TMPL_LOOP>
44<TMPL_ELSE>
[41]45<tr><td colspan="5" align="center">No domains found</td></tr>
[2]46</TMPL_IF>
47</table>
48
49</td>
[30]50</tr>
[2]51</table>
Note: See TracBrowser for help on using the repository browser.