source: trunk/templates/log.tmpl@ 782

Last change on this file since 782 was 744, checked in by Kris Deugau, 8 years ago

/trunk

Finally commit extension of log records to tuck "child" entries (ie,
new record in new zone, or mergerec's --detail argument) entries in
as subrecords of a parent, along with a bit of UI chrome to hide them.

File size: 3.1 KB
RevLine 
[589]1<body>
2<div id="main">
3
[47]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
[2]6
[100]7<td align="center" valign="top">
[2]8
[180]9<TMPL_IF errmsg>
[733]10<div class="errmsg"><TMPL_VAR NAME=errmsg></div>
[180]11</TMPL_IF>
12
[733]13<table border="0" width="98%">
[323]14<tr><th colspan="3"><div class="center maintitle">Log entries for <TMPL_VAR NAME=logfor></div></th></tr>
15<tr>
16<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
17<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
[733]18<td class="rightthird">
19 <form action="<TMPL_VAR NAME=script_self>">
20 <input type="hidden" name="page" value="log" />
21 <input type="hidden" name="offset" value="0" />
22 <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
23 <input type="hidden" name="ltype" value="<TMPL_VAR NAME=ltype>" />
[737]24 <input name="logfilter"<TMPL_IF logfilter> value="<TMPL_VAR NAME=logfilter ESCAPE=HTML>"</TMPL_IF> />
[733]25 <input type="submit" value="Filter" />
26 </form>
27</td>
[323]28</tr>
29</table>
[733]30<table border="0" width="98%">
[323]31<tr class="darkrowheader">
[733]32<TMPL_LOOP NAME=colheads>
33 <td class="data_nowrap"><a href="<TMPL_VAR NAME=script_self>&amp;page=<TMPL_VAR NAME=page><TMPL_IF
[323]34 NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR
35 NAME=sortby>&amp;order=<TMPL_VAR NAME=order>&amp;id=<TMPL_VAR NAME=id>&amp;ltype=<TMPL_VAR
36 NAME=ltype>"><TMPL_VAR NAME=colname></a><TMPL_IF
[379]37 NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
38 NAME=sortorder>.png" /></TMPL_IF></td>
39</TMPL_LOOP>
[323]40</tr>
41
[47]42<TMPL_IF logentries>
43<TMPL_LOOP NAME=logentries>
44 <tr class="datalinelight">
[733]45 <td><a href="<TMPL_VAR NAME=script_self>&amp;page=log&amp;sortby=<TMPL_VAR
46 NAME=sortby>&amp;order=<TMPL_VAR NAME=order>&amp;<TMPL_IF userid>id=<TMPL_VAR
47 NAME=userid><TMPL_ELSE>fname=<TMPL_VAR NAME=userfname ESCAPE=URL></TMPL_IF>&amp;ltype=user"><TMPL_VAR
48 NAME=userfname></a></td>
49 <td><a href="<TMPL_VAR NAME=script_self>&amp;page=log&amp;sortby=<TMPL_VAR
50 NAME=sortby>&amp;order=<TMPL_VAR NAME=order>&amp;id=<TMPL_VAR
51 NAME=domain_id>&amp;ltype=dom"><TMPL_VAR NAME=domain></a></td>
52 <td><a href="<TMPL_VAR NAME=script_self>&amp;page=log&amp;sortby=<TMPL_VAR
53 NAME=sortby>&amp;order=<TMPL_VAR NAME=order>&amp;id=<TMPL_VAR
54 NAME=rdns_id>&amp;ltype=rdns"><TMPL_VAR NAME=revzone></a></td>
[744]55<TMPL_IF childentries>
56 <td>
57 <ul class="collapsible nocheckbox notalist">
58 <li class="notalist">
59 <label for="childlist<TMPL_VAR NAME=logparent>"><TMPL_VAR NAME=logentry>&nbsp;(<img src="<TMPL_VAR
60 NAME=webpath>/images/tree_open.png" />Click for details)</label>
61 <input type="checkbox" id="childlist<TMPL_VAR NAME=logparent>" />
62 <ul class="notalist">
63 <li class="notalist"><TMPL_LOOP NAME=childentries>
64 <TMPL_VAR NAME=entry><TMPL_UNLESS __last__><br /></TMPL_UNLESS></TMPL_LOOP>
65 </li>
66 </ul>
67 </li>
68 </ul>
69<TMPL_ELSE>
70 <td><TMPL_VAR NAME=logentry>
71</TMPL_IF>
72</td>
[47]73 <td><TMPL_VAR NAME=logtime></td>
[2]74 </tr>
[47]75</TMPL_LOOP>
76<TMPL_ELSE>
77 <tr class="datalinelight">
78 <td colspan="5" align="center">No log entries found</td>
[2]79 </tr>
[47]80</TMPL_IF>
[2]81</table>
82
[731]83<TMPL_IF logentries><div class="center vpad"><TMPL_INCLUDE NAME="fpnla.tmpl"></div></TMPL_IF>
84
[47]85</td>
[2]86</tr>
87</table>
Note: See TracBrowser for help on using the repository browser.