source: trunk/templates/log.tmpl@ 766

Last change on this file since 766 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
Line 
1<body>
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<TMPL_IF errmsg>
10<div class="errmsg"><TMPL_VAR NAME=errmsg></div>
11</TMPL_IF>
12
13<table border="0" width="98%">
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>
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>" />
24 <input name="logfilter"<TMPL_IF logfilter> value="<TMPL_VAR NAME=logfilter ESCAPE=HTML>"</TMPL_IF> />
25 <input type="submit" value="Filter" />
26 </form>
27</td>
28</tr>
29</table>
30<table border="0" width="98%">
31<tr class="darkrowheader">
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
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
37 NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
38 NAME=sortorder>.png" /></TMPL_IF></td>
39</TMPL_LOOP>
40</tr>
41
42<TMPL_IF logentries>
43<TMPL_LOOP NAME=logentries>
44 <tr class="datalinelight">
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>
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>
73 <td><TMPL_VAR NAME=logtime></td>
74 </tr>
75</TMPL_LOOP>
76<TMPL_ELSE>
77 <tr class="datalinelight">
78 <td colspan="5" align="center">No log entries found</td>
79 </tr>
80</TMPL_IF>
81</table>
82
83<TMPL_IF logentries><div class="center vpad"><TMPL_INCLUDE NAME="fpnla.tmpl"></div></TMPL_IF>
84
85</td>
86</tr>
87</table>
Note: See TracBrowser for help on using the repository browser.