[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>" />
|
---|
[71] | 31 | <input type="hidden" name="page" value="reclist" />
|
---|
| 32 | <input type="hidden" name="offset" value="0" />
|
---|
| 33 | <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
|
---|
| 34 | <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
|
---|
[38] | 35 | <input name="search" />
|
---|
| 36 | <input type="submit" value="Filter" />
|
---|
| 37 | </fieldset>
|
---|
[2] | 38 | </form>
|
---|
| 39 | </td>
|
---|
| 40 | </tr>
|
---|
| 41 | <tr class="darkrowheader">
|
---|
[39] | 42 | <td colspan="4">Records</td>
|
---|
| 43 | <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>
|
---|
[60] | 44 | <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log&id=<TMPL_VAR NAME=id><TMPL_IF logdom>&ltype=dom</TMPL_IF>">View log</a></td>
|
---|
[2] | 45 | </tr>
|
---|
| 46 |
|
---|
| 47 | </table>
|
---|
| 48 |
|
---|
[39] | 49 | <table width="100%">
|
---|
[38] | 50 | <TMPL_IF reclist>
|
---|
[2] | 51 | <tr class="darkrowheader">
|
---|
[76] | 52 | <TMPL_LOOP NAME=colheads><TMPL_IF firstcol></TMPL_IF>
|
---|
| 53 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF
|
---|
| 54 | NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR
|
---|
| 55 | NAME=sortby>&order=<TMPL_VAR NAME=order>&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR
|
---|
| 56 | NAME=defrec>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR
|
---|
| 57 | NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
|
---|
[72] | 58 | <td>Delete</td>
|
---|
| 59 | </tr>
|
---|
[2] | 60 | <TMPL_LOOP NAME=reclist>
|
---|
| 61 | <tr class="row<TMPL_VAR NAME=row>">
|
---|
[38] | 62 | <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>
|
---|
| 63 | <td><TMPL_VAR NAME=type></td>
|
---|
| 64 | <td><TMPL_VAR NAME=val></td>
|
---|
| 65 | <td><TMPL_VAR NAME=distance></td>
|
---|
| 66 | <td><TMPL_VAR NAME=weight></td>
|
---|
| 67 | <td><TMPL_VAR NAME=port></td>
|
---|
| 68 | <td><TMPL_VAR NAME=ttl></td>
|
---|
[39] | 69 | <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] | 70 | </tr>
|
---|
[2] | 71 | </TMPL_LOOP>
|
---|
[38] | 72 | <TMPL_ELSE>
|
---|
| 73 | <tr><td colspan="5">No records found</td></tr>
|
---|
| 74 | </TMPL_IF>
|
---|
[39] | 75 | </table>
|
---|
[2] | 76 |
|
---|
| 77 | </td></tr></table>
|
---|
[39] | 78 | <!-- /div -->
|
---|
| 79 |
|
---|
| 80 | </td>
|
---|
| 81 | </tr>
|
---|
| 82 | </table>
|
---|