Changeset 193
- Timestamp:
- 02/23/06 17:34:53
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webadmin/webapp/resources/default/default/default.css
r190 r193 429 429 background-color: #ff3; 430 430 } 431 #statsTable { 432 margin: 1em 0 0 4em; 433 width: 300px; 434 } 435 #statsTable th { 436 padding: 0.5em; 437 background-color: #eee; 438 color: black; 439 } 440 #statsTable td.label { 441 text-align: right; 442 padding-right: 2em; 443 } 431 444 #logoutButton { 432 445 display: inline; trunk/calendar3/deployment/webadmin/webapp/resources/default/default/default.xsl
r190 r193 238 238 <xsl:when test="/bedeworkadmin/page='uploadTimezones'"> 239 239 <xsl:call-template name="uploadTimezones"/> 240 </xsl:when> 241 <xsl:when test="/bedeworkadmin/page='showSysStats'"> 242 <xsl:apply-templates select="/bedeworkadmin/sysStats" mode="showSysStats"/> 240 243 </xsl:when> 241 244 <xsl:when test="/bedeworkadmin/page='noAccess'"> … … 2696 2699 </xsl:template> 2697 2700 2701 <!--+++++++++++++++ System Stats ++++++++++++++++++++--> 2702 2703 <xsl:template match="sysStats" mode="showSysStats"> 2704 <h2>System Statistics</h2> 2705 2706 <a href="/caladmin/stats/update.do?enable=yes">enable stats collection</a> 2707 2708 <table id="statsTable" cellpadding="0"> 2709 <xsl:for-each select="*"> 2710 <xsl:choose> 2711 <xsl:when test="name(.) = 'header'"> 2712 <tr> 2713 <th colspan="2"> 2714 <xsl:value-of select="."/> 2715 </th> 2716 </tr> 2717 </xsl:when> 2718 <xsl:otherwise> 2719 <tr> 2720 <td class="label"> 2721 <xsl:value-of select="label"/> 2722 </td> 2723 <td class="value"> 2724 <xsl:value-of select="value"/> 2725 </td> 2726 </tr> 2727 </xsl:otherwise> 2728 </xsl:choose> 2729 </xsl:for-each> 2730 </table> 2731 </xsl:template> 2732 2698 2733 <!--==== HEADER TEMPLATES and NAVIGATION ====--> 2699 2734
