Changeset 33 for trunk/templates


Ignore:
Timestamp:
11/10/09 17:51:55 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

checkpoint, fleshing out axfr import

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/axfr.tmpl

    r32 r33  
    55<td align="center">
    66
    7 <TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
     7<TMPL_IF errmsg><div class="errmsg">Error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
    88
    99<form action="dns.cgi" method="POST">
     
    3535</tr>
    3636<tr class="datalinelight">
     37        <td>Import as active?</td>
     38        <td><input type=checkbox name="domactive"<TMPL_UNLESS dominactive> checked</TMPL_UNLESS>></td>
     39</tr>
     40<tr class="datalinelight">
    3741        <td valign="top">Domains to import:<br />(one per line)</td>
    3842        <td><textarea name="importdoms" rows=10><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>
     
    4650
    4751<TMPL_IF axfrresults>
     52<br />
    4853<table>
    4954<tr class="tableheader"><td colspan=2>AXFR Import Results</td></tr>
    5055<TMPL_LOOP NAME=axfrresults>
    51 <TMPL_IF domok><tr class="tableheader"><td><TMPL_VAR NAME=domain></td><td>Imported OK</td></tr>
    52 <TMPL_ELSE><tr class="tableheader"><td><TMPL_VAR NAME=domain></td><td>Failed: <TMPL_VAR NAME=domerr></td></tr>
    5356<tr class="datalinelight">
    54         <td>Try again?</td>
    55         <td>
    56                 <input type=radio name=try<TMPL_VAR NAME=row> value="0">No/Discard<br />
    57                 <input type=radio name=try<TMPL_VAR NAME=row> value="R">Replace<br />
    58                 <input type=radio name=try<TMPL_VAR NAME=row> value="M">Merge + Overwrite<br />
    59                 <input type=radio name=try<TMPL_VAR NAME=row> value="M">Merge only new records
    60         </td>
     57        <td><TMPL_VAR NAME=domain></td>
     58<TMPL_IF domok> <td>Imported OK</td>
     59<TMPL_ELSE><TMPL_IF domwarn>    <td class="warn">Warning: <TMPL_VAR NAME=domwarn></td>
     60<TMPL_ELSE>     <td class="err">Failed: <TMPL_VAR NAME=domerr></td>
     61</TMPL_IF></TMPL_IF>
    6162</tr>
    62 </TMPL_IF>
    6363</TMPL_LOOP>
    6464</table>
  • trunk/templates/dns.css

    r24 r33  
    7070        background-color: #DDDDDD;
    7171}
     72td.err {
     73        border: solid 2px #FF0000;
     74        color: red;
     75        background-color: #e0e0e0;
     76}
     77td.warn {
     78        border: solid 2px #FFFF00;
     79        color: #333300;
     80        background-color: #e0e0e0;
     81}
     82
    7283.meat {
    7384        align: center;
Note: See TracChangeset for help on using the changeset viewer.