source: trunk/templates/axfr.tmpl@ 32

Last change on this file since 32 was 32, checked in by Kris Deugau, 15 years ago

/trunk/templates

checkpoint axfr with possible "wanna try again" bits in results table

File size: 2.3 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
7<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
8
9<form action="dns.cgi" method="POST">
10<input type=hidden name="sid" value="<TMPL_VAR NAME=sid>">
11<input type=hidden name="page" value="axfr">
12<input type=hidden name="doit" value="y">
13
14<table>
15<tr class="tableheader"><td align="center" colspan=2>Import domains via AXFR</td></tr>
16<tr class="datalinelight">
17 <td>Import from host:</td>
18 <td><input name="ifrom"<TMPL_IF ifrom> value="<TMPL_VAR NAME=ifrom>"</TMPL_IF>></td>
19</tr>
20<tr class="datalinelight">
21 <td>Import to group:</td>
22 <td>
23 <select name="group">
24 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected</TMPL_IF>><TMPL_VAR NAME=groupname></option>
25 </TMPL_LOOP></select>
26 </td>
27</tr>
28<tr class="datalinelight">
29 <td>Rewrite SOA to group default?</td>
30 <td><input type=checkbox name="rwsoa"<TMPL_IF rwsoa> checked</TMPL_IF>></td>
31</tr>
32<tr class="datalinelight">
33 <td>Rewrite NS to group default?</td>
34 <td><input type=checkbox name="rwns"<TMPL_IF rwns> checked</TMPL_IF>></td>
35</tr>
36<tr class="datalinelight">
37 <td valign="top">Domains to import:<br />(one per line)</td>
38 <td><textarea name="importdoms" rows=10><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>
39</tr>
40<tr class="datalinelight">
41 <td colspan=2 align="center"><input type=submit value=" Import domains "></td>
42</tr>
43</table>
44
45</form>
46
47<TMPL_IF axfrresults>
48<table>
49<tr class="tableheader"><td colspan=2>AXFR Import Results</td></tr>
50<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>
53<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>
61</tr>
62</TMPL_IF>
63</TMPL_LOOP>
64</table>
65</TMPL_IF>
66
67</td>
68</tr>
69</table>
Note: See TracBrowser for help on using the repository browser.