source: products/quintagroup.analytics/trunk/quintagroup/analytics/type_by_state.pt @ 2880

Last change on this file since 2880 was 2880, checked in by fenix, 13 years ago

wrapped views into plone layout.

File size: 1.6 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      xmlns:tal="http://xml.zope.org/namespaces/tal"
3      xmlns:metal="http://xml.zope.org/namespaces/metal"
4      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5      lang="en"
6      metal:use-macro="context/prefs_main_template/macros/master">
7
8<metal:main metal:fill-slot="prefs_configlet_main" i18n:domain="quintagroup.analytics">
9    <body>
10        <div id="wrapper">
11            <h1>Content type by state</h1>
12            <div id="navigation">
13                <a href="@@ownership_by_type">Ownership by type</a> |
14                <a href="@@ownership_by_state">Ownership by state</a> |
15                <a class="current" href="@@type_by_state">Types by state</a> |
16                <a href="@@legacy_portlets">Legacy portlets</a> |
17                <a href="@@properties_stats">Properties stats</a> |
18                <a href="@@portlets_stats">Portlets stats</a>
19            </div>
20        </div>
21        <div id="chart" tal:content="structure view/getChart">
22            Chart will be here
23        </div>
24        <table class="listing">
25            <tr>
26                <th></th>
27                <th tal:repeat="user view/getTypes" tal:content="user">User</th>
28            </tr>
29            <tr tal:repeat="type view/getStates">
30                <th tal:content="type">Document</th>
31                <td tal:repeat="count python:view.getContent(type)" tal:content="count">123</td>
32            </tr>
33            <tr>
34                <th>Total</th>
35                <td tal:repeat="total view/getTotal" tal:content="total">123</td>
36            </tr>
37        </table>
38    </body>
39  </metal:main>
40</html>
Note: See TracBrowser for help on using the repository browser.