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


1.16
date	2001.08.20.22.29.21;	author tfahrner;	state Exp;
branches;
next	1.15;

1.15
date	2001.08.03.05.45.05;	author tfahrner;	state Exp;
branches;
next	1.14;

1.14
date	2001.08.03.04.44.22;	author tfahrner;	state Exp;
branches;
next	1.13;

1.13
date	2001.07.31.01.18.38;	author tfahrner;	state Exp;
branches;
next	1.12;

1.12
date	2001.07.31.00.01.54;	author tfahrner;	state Exp;
branches;
next	1.11;

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

1.10
date	2001.06.20.05.24.44;	author jefflove;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.08.21.27.21;	author beril;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.08.04.25.09;	author jefflove;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.08.00.41.45;	author jefflove;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.07.22.38.06;	author beril;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.01.20.37.01;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.01.20.31.13;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.01.19.52.47;	author leonardr;	state Exp;
branches;
next	1.2;

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

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


desc
@@


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


 <h3>Active User Sessions: $currentDomain.getName()</h3>
 <p>
  $count user session(s), $guests guest session(s) as of $currentDate.
 </p>
#if( !$activeSessions.isEmpty() )
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>Login Name</th>
   <th>Logged In at</th>
   <th>Last Servlet</th>
   <th>Last Access Time</th>
  </tr>
  #set( $sessionPage = $activeSessions.getPage($paginated_page) )
  #set ($rowClass="a")
  #foreach( $session in $sessionPage )
  #set( $user = $session.getSession().getValue("loginUser") )
  <tr class="$rowClass">
   <td>
   #if( $user.isEditableBy($acl) )
      <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
   #else
      $user.getLoginName()
   #end
   </td>
   <td>$session.getCreationTime()</td>
   <td>$session.getSession().getValue("lastAction")</td>
   <td>$session.getLastAccessedTime()</td>
  </tr>
  
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
 #end
 </table>
#else
  <p>No one is currently logged in.</p>
#end

#if( !$activeSessions.isEmpty() )
  <p class="paginate">
    $activeSessions.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)
  </p>
#end
</div>@


1.15
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.14
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.13
log
@included "task nav" below headlines
@
text
@d1 1
@


1.12
log
@pulled admin options, added headlines
@
text
@d6 4
@


1.11
log
@html usage revision to synch with scarab
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d3 3
@


1.10
log
@html usage revision
@
text
@d3 1
a3 1
<div id="sessionlist">
d10 1
a10 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.9
log
@recoded the html according to new css/html standards
@
text
@d9 1
a9 1

a16 5
#if( $activeSessions.isEmpty() )
  <tr>
    <td colspan="4">No one is currently logged in.</td>
  </tr>
#else
d20 1
a20 2
   #set( $user = $session.getSession().getValue("loginUser") )

d39 1
a39 4

  #end
 
  #end
d41 3
@


1.8
log
@general xhtml cleanup
@
text
@d52 1
a52 1
  <p>
@


1.7
log
@removed space preceding colon in heading, downcased preposition
@
text
@d5 1
a5 1
 <h4>Active User Sessions: $currentDomain.getName()</h4>
@


1.6
log
@recoded the servlet pages according to the new css/html standards
@
text
@d5 1
a5 1
 <h4>Active User Sessions : $currentDomain.getName()</h4>
d13 1
a13 1
   <th>Logged In At</th>
@


1.5
log
@Added date.
@
text
@d3 1
a3 10
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Active User Sessions: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
  </TR>
  <TR>
   <TD class="PlainText">
    $count user session(s), $guests guest session(s) as of $currentDate.
   </TD>
  </TR>
</P>
d5 4
a8 1
</TABLE>
d10 12
a21 18

<TABLE CELLPADDING="3" CELLSPACING="0" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Login Name</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Logged In At</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Servlet</TD>
    <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
    <TD class="ProjectDownloadHeader" BGCOLOR="#efefef">Last Access Time</TD>
  </TR>
 #if( $activeSessions.isEmpty() )
  <TR>
  <TD COLSPAN="8" CLASS="PlainText">
    <I>No one is currently logged in.</I>
  </TD>
  </TR>
 #else
d23 1
d26 20
a45 15
   <TR> 
    <TD class="PlainText">
    #if( $user.isEditableBy($acl) )
     <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
    #else
     $user.getLoginName()
    #end 
    </TD>
    <TD></TD>
    <TD class="PlainText"> $session.getCreationTime() </TD>
    <TD></TD>
    <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
    <TD></TD>
    <TD class="PlainText"> $session.getLastAccessedTime() </TD>
   </TR>
d47 6
a52 2
  <TR>
   <TD COLSPAN="7" ALIGN="center" CLASS="PlainText">
d54 3
a56 5
   </TD>
  </TR>

 #end
</TABLE>@


1.4
log
@Paginated session list.
@
text
@d9 1
a9 1
    $count user session(s), $guests guest session(s).
@


1.3
log
@Properly tally guests differently from regular users.
@
text
@d7 7
d27 1
a27 22
  #if( $activeSessions && !$activeSessions.isEmpty() )
   #foreach( $session in $activeSessions )
    #set( $user = $session.getSession().getValue("loginUser") )
    #if( $user.isViewableBy($acl) )
     <TR> 
      <TD class="PlainText">
      #if( $user.isEditableBy($acl) )
       <a href="/servlets/UserEdit?userID=$user.getID()">$user.getLoginName()</a>
      #else
       $user.getLoginName()
      #end 
     </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getCreationTime() </TD>
     <TD></TD>
     <TD class="PlainText"> $session.getSession().getValue("lastAction") </TD>
     <TD></TD>
     <TD class="PlainText"> ${session.getLastAccessedTime()} </TD>
    </TR>
   #end
  #end
 #else
d33 25
a57 2
#end
</TABLE>
d59 2
a60 3
<P CLASS="PlainText">
$count user session(s), $guests guest session(s).
</P>
@


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
@d5 1
a5 1
    <TD class="Header" nowrap>Active Sessions: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>  
d51 1
a51 2
There are currently:$count active session(s),
$phantoms unidentified guest(s).
@


1.1
log
@Adding Velocity templates.
@
text
@d1 1
a1 1
#parse( "$BRAND_TEMPLATE_ROOT/Admin_Nav.vm" )
@

