head	1.11;
access;
symbols;
locks; strict;
comment	@# @;


1.11
date	2001.08.20.22.29.24;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.08.03.05.45.08;	author tfahrner;	state Exp;
branches;
next	1.9;

1.9
date	2001.08.03.04.44.24;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.07.31.01.18.41;	author tfahrner;	state Exp;
branches;
next	1.7;

1.7
date	2001.07.31.00.01.57;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.30.21.59.24;	author tfahrner;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.25.23.02.01;	author jefflove;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.25.02.05.14;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.01.49.13;	author ms;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.24.18.48.47;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.23.02.03.16;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.11
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@
<div id="auditlog" class="app">

<h3>Audit Log</h3>

#if( $thisPage.isEmpty() )
 <p>No matching audit log entries were found.</p>
#else
<form action="AuditLogList" method="post" enctype="application/x-www-form-urlencoded">

<table border="1" cellspacing="2" cellpadding="3" width="100%">
<tr>
  <th>When</th> 
  <th>Where</th>
  <th>What</th>
  <th>Who</th> 
</tr>
#set( $entries = $host.getAuditLog($acl, $itemsPerPage, $filter) )
#set( $thisPage = $entries.getPage($paginated_page) )
#set($rowClass="a")
#foreach( $entry in $thisPage )
  <tr class="$rowClass">
   <td>$entry.getTimestamp()</td>
   <td>$entry.getWhere()</td> 
  <td>$entry.getDescription()
<p><a href="AuditEventDetail?auditLogEntryID=$entry.getEntryId()">Details</a></p>
</td>
   <td><a href="UserEdit?userID=$entry.getUser().getID()">$entry.getUser().getLoginName()</a></td>
</tr>
   #if ($rowClass.equals("a"))
    #set ($rowClass="b")
   #else 
    #set ($rowClass="a")
   #end
 #end
</table>
<p class="paginate">${entries.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}</p>
</form>
#end
<form method="post" action="AuditLogList">
#parse( "org/tigris/helm/tool/paginate/Filter.vm" )
</form>
</div>
@


1.10
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a0 1
#parse( "Admin_Nav.vm" )
a2 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


1.9
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.8
log
@included "task nav" below headlines
@
text
@d1 2
@


1.7
log
@pulled admin options, added headlines
@
text
@d5 4
@


1.6
log
@html usage revision to synch with scarab
@
text
@a0 2
#parse( "Admin_Nav.vm" )

d2 3
@


1.5
log
@html usage revision
@
text
@d3 1
a3 1
<div id="auditlog">
d11 1
a11 1
<table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.4
log
@Corrected VTL syntax error(s).
@
text
@d3 2
a4 6
<FORM ACTION="AuditLogList" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
 <TR>
  <TD CLASS="Header" COLSPAN="7">Audit Log</TD>
 </TR>
</TABLE>
d6 4
a9 11
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">

<TR>
  <TD bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">When</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Who</TD> 
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD bgcolor="#efefef" class="ProjectDownloadHeader">Where</TD>  
</TR>
d11 7
d20 15
a34 36
#if( $thisPage.isEmpty() )
 <TR>
  <TD COLSPAN="7" class="PlainText">
   <i>No matching audit log entries were found.</i>
  </TD>
 </TR>
#else
 #foreach( $entry in $thisPage )
  <TR>
   <TD class="PlainText">
    <a href="AuditEventDetail?auditLogEntryID=$entry.getEntryId()">Details</a>
   </TD>
   <TD></TD>
   <TD class="PlainText">$entry.getTimestamp()</TD>
   <TD></TD>
   <TD class="PlainText">
     <a href="UserEdit?userID=$entry.getUser().getID()">$entry.getUser().getLoginName()</a>
   </TD>
   <TD></TD>
   <TD class="PlainText">$entry.getWhere()</TD> 
  </TR>
  <TR>
   <TD></TD>
   <TD></TD>
   <TD colspan="5" class="PlainText">$entry.getDescription()</TD>
  </TR>

  <TR>
   <TD COLSPAN="7">
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
     <TR>
      <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
d36 3
a38 6

 <TR>
  <TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
   ${entries.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
  </TD>
 </TR>
d40 4
a43 25

<TR>
  <TD COLSPAN="7"><hr size="1" noshade></TD>
</TR>

<TR>
  <TD COLSPAN="7">
  <FORM METHOD="post" ACTION="AuditLogList">
  #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </FORM>
  </TD>
</TR>

</TABLE>

</FORM>









@


1.3
log
@fixed broken args passing in templates made by conversion program
@
text
@d22 1
a22 1
#set( $entries = ${host.getAuditLog($acl, $itemsPerPage, $filter)}
@


1.2
log
@Removed BRAND_TEMPLATE_ROOT, SERVLET_TEMPLATE_ROOT, and SANDBOX from use in #include and #parse directives (deprecated by multiple template paths).
@
text
@d22 1
a22 1
#set( $entries = ${host.getAuditLog($acl, )$itemsPerPage, $filter)}
@


1.1
log
@Adding Velocity templates.
@
text
@d1 1
a1 1
#parse( "$BRAND_TEMPLATE_ROOT/Admin_Nav.vm" )
d76 1
a76 1
  #parse( "${SERVLET_TEMPLATE_ROOT}/org/tigris/helm/tool/paginate/Filter.vm" )
@

