source: trunk/templates/axfr.tmpl@ 621

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

/trunk

Le sigh. Move a small fragment of HTML from the header back to all the
individual pages that need it, so we can selectively load and use
Javascript, and do some initial tweaking with body.onload.

File size: 2.7 KB
RevLine 
[589]1<body>
2<div id="main">
3
[31]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
[2]6
[35]7<td align="center" valign="top">
[2]8
[493]9<form action="<TMPL_VAR NAME=script_self>" method="post">
[38]10<fieldset>
11<input type="hidden" name="page" value="axfr" />
12<input type="hidden" name="doit" value="y" />
[31]13
14<table>
[38]15<TMPL_IF errmsg><tr><td class="errhead" colspan="2">Error: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>
16<tr class="tableheader"><td align="center" colspan="2">Import domains via AXFR</td></tr>
[31]17<tr class="datalinelight">
18 <td>Import from host:</td>
[38]19 <td><input name="ifrom"<TMPL_IF ifrom> value="<TMPL_VAR NAME=ifrom>"</TMPL_IF> /></td>
[31]20</tr>
21<tr class="datalinelight">
22 <td>Import to group:</td>
23 <td>
24 <select name="group">
[38]25 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option>
[31]26 </TMPL_LOOP></select>
27 </td>
28</tr>
29<tr class="datalinelight">
30 <td>Rewrite SOA to group default?</td>
[38]31 <td><input type="checkbox" name="rwsoa"<TMPL_IF rwsoa> checked="checked"</TMPL_IF> /></td>
[31]32</tr>
33<tr class="datalinelight">
34 <td>Rewrite NS to group default?</td>
[38]35 <td><input type="checkbox" name="rwns"<TMPL_IF rwns> checked="checked"</TMPL_IF> /></td>
[31]36</tr>
37<tr class="datalinelight">
[436]38 <td>Force all TTLs to new value?</td>
39 <td><input type="checkbox" name="forcettl"<TMPL_IF forcettl> checked="checked"</TMPL_IF> /><input name="newttl" size="7"<TMPL_IF newttl> value="<TMPL_VAR NAME=newttl>"</TMPL_IF> /></td>
40</tr>
41<tr class="datalinelight">
[308]42 <td>Merge records on A+PTR or AAAA+PTR match?</td>
43 <td><input type="checkbox" name="mergematching"<TMPL_IF mergematching> checked="checked"</TMPL_IF> /></td>
44</tr>
45<tr class="datalinelight">
[33]46 <td>Import as active?</td>
[38]47 <td><input type="checkbox" name="domactive"<TMPL_UNLESS dominactive> checked="checked"</TMPL_UNLESS> /></td>
[33]48</tr>
49<tr class="datalinelight">
[31]50 <td valign="top">Domains to import:<br />(one per line)</td>
[308]51 <td><textarea name="importdoms" rows="10" cols="45"><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>
[31]52</tr>
53<tr class="datalinelight">
[38]54 <td colspan="2" align="center"><input type="submit" value=" Import domains " /></td>
[31]55</tr>
[2]56</table>
57
[38]58</fieldset>
[31]59</form>
[2]60
[32]61<TMPL_IF axfrresults>
[33]62<br />
[32]63<table>
[38]64<tr class="tableheader"><td colspan="2">AXFR Import Results</td></tr>
[32]65<TMPL_LOOP NAME=axfrresults>
66<tr class="datalinelight">
[33]67 <td><TMPL_VAR NAME=domain></td>
68<TMPL_IF domok> <td>Imported OK</td>
[35]69<TMPL_ELSE><TMPL_IF domwarn> <td class="warn">Import OK but:<br />
70<TMPL_VAR NAME=domwarn></td>
[33]71<TMPL_ELSE> <td class="err">Failed: <TMPL_VAR NAME=domerr></td>
72</TMPL_IF></TMPL_IF>
[32]73</tr>
74</TMPL_LOOP>
75</table>
76</TMPL_IF>
77
[31]78</td>
[2]79</tr>
80</table>
Note: See TracBrowser for help on using the repository browser.