[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser - stats.pt:1.1
Albertas Agejevas
alga@codeworks.lt
Tue, 3 Dec 2002 03:36:34 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv489
Added Files:
stats.pt
Log Message:
Ooops. Should have been added yesterday evening.
=== Added File Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/stats.pt ===
<html metal:use-macro="views/standard_macros/page">
<body>
<div metal:fill-slot="body">
<p><span tal:replace="context/@@object_name"/> RAMCache statistics</p>
<div tal:condition="python: options.has_key('errors') and
options['errors']">
<span style="font-weight: bold">Errors:</span>
<div tal:repeat="error options/errors | nothing">
<span tal:replace="python: error[0].title" />:
<span tal:replace="python: error[1].error_name" />
</div>
</div>
<br />
<table id="sortable" class="listing" summary="Content listing"
cellpadding="2" cellspacing="0" >
<thead>
<th>Path</th>
<th>Hits</th>
<th>Misses</th>
<th>Size, bytes</th>
<th>Entries</th>
</thead>
<tbody>
<tr tal:repeat="data context/getStatistics">
<td><span tal:content="data/path"> </span></td>
<td><span tal:content="data/hits"> </span></td>
<td><span tal:content="data/misses"> </span></td>
<td><span tal:content="data/size"> </span></td>
<td><span tal:content="data/entries"> </span></td>
</tr>
</tbody>
</table>
<div tal:replace="options/message|nothing" />
</div>
</body>
</html>