[2] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
[39] | 5 | <td align="center" valign="top">
|
---|
| 6 |
|
---|
| 7 | <TMPL_IF del_failed>
|
---|
| 8 | <div class='errmsg'>Error deleting record: <TMPL_VAR NAME=errmsg></div>
|
---|
| 9 | </TMPL_IF>
|
---|
| 10 |
|
---|
[36] | 11 | <!-- FIXME: long data in records causes record list table to overflow one or another container -->
|
---|
[2] | 12 |
|
---|
[39] | 13 | <table><tr><td>
|
---|
[38] | 14 |
|
---|
[39] | 15 | <div class="center">Records<TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF></div>
|
---|
| 16 |
|
---|
[2] | 17 | <TMPL_INCLUDE NAME=soadata.tmpl>
|
---|
| 18 |
|
---|
[38] | 19 | <table border="0" width="100%">
|
---|
[2] | 20 | <tr class="darkrowheader">
|
---|
[39] | 21 | <td colspan="2" align="left">
|
---|
[12] | 22 | <TMPL_INCLUDE NAME="pgcount.tmpl">
|
---|
[2] | 23 | </td>
|
---|
[39] | 24 | <td colspan="2" align="center">
|
---|
[2] | 25 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
| 26 | </td>
|
---|
[39] | 27 | <td colspan="2" align="right">
|
---|
[2] | 28 | <form action="dns.cgi">
|
---|
[38] | 29 | <fieldset>
|
---|
| 30 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
| 31 | <input name="search" />
|
---|
| 32 | <input type="submit" value="Filter" />
|
---|
| 33 | </fieldset>
|
---|
[2] | 34 | </form>
|
---|
| 35 | </td>
|
---|
| 36 | </tr>
|
---|
| 37 | <tr class="darkrowheader">
|
---|
[39] | 38 | <td colspan="4">Records</td>
|
---|
| 39 | <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=new">Add record</a></td>
|
---|
| 40 | <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=showlog&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>">View log</a></td>
|
---|
[2] | 41 | </tr>
|
---|
| 42 |
|
---|
| 43 | </table>
|
---|
| 44 |
|
---|
[39] | 45 | <table width="100%">
|
---|
[38] | 46 | <TMPL_IF reclist>
|
---|
[2] | 47 | <tr class="darkrowheader">
|
---|
[38] | 48 | <td>Name</td>
|
---|
| 49 | <td>Type</td>
|
---|
| 50 | <td>Address</td>
|
---|
| 51 | <td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td><td>Delete</td></tr>
|
---|
[2] | 52 | <TMPL_LOOP NAME=reclist>
|
---|
| 53 | <tr class="row<TMPL_VAR NAME=row>">
|
---|
[38] | 54 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a></td>
|
---|
| 55 | <td><TMPL_VAR NAME=type></td>
|
---|
| 56 | <td><TMPL_VAR NAME=val></td>
|
---|
| 57 | <td><TMPL_VAR NAME=distance></td>
|
---|
| 58 | <td><TMPL_VAR NAME=weight></td>
|
---|
| 59 | <td><TMPL_VAR NAME=port></td>
|
---|
| 60 | <td><TMPL_VAR NAME=ttl></td>
|
---|
[39] | 61 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>&parentid=<TMPL_VAR NAME=id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
[38] | 62 | </tr>
|
---|
[2] | 63 | </TMPL_LOOP>
|
---|
[38] | 64 | <TMPL_ELSE>
|
---|
| 65 | <tr><td colspan="5">No records found</td></tr>
|
---|
| 66 | </TMPL_IF>
|
---|
[39] | 67 | </table>
|
---|
[2] | 68 |
|
---|
| 69 | </td></tr></table>
|
---|
[39] | 70 | <!-- /div -->
|
---|
| 71 |
|
---|
| 72 | </td>
|
---|
| 73 | </tr>
|
---|
| 74 | </table>
|
---|