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>Quintagroup Analytics Tool for Plone</h1> |
---|
12 | <ul class="formTabs" id="navigation"> |
---|
13 | <li class="formTab"><a href="@@qa_overview">Overview</a></li> |
---|
14 | <li class="formTab"><a class="selected" href="@@ownership_by_type">Ownership by type</a></li> |
---|
15 | <li class="formTab"><a href="@@ownership_by_state">Ownership by state</a></li> |
---|
16 | <li class="formTab"><a href="@@type_by_state">Types by state</a></li> |
---|
17 | <li class="formTab"><a href="@@portlets_stats">Portlets stats</a></li> |
---|
18 | <li class="formTab"><a href="@@legacy_portlets">Legacy portlets</a></li> |
---|
19 | <li class="formTab"><a href="@@properties_stats">Properties stats</a></li> |
---|
20 | |
---|
21 | </ul> |
---|
22 | </div> |
---|
23 | <p>The following chart displays the most frequently created content types in relation |
---|
24 | to their owners (up to 10 most active site content contributors and up to 10 most popular |
---|
25 | content types are displayed). |
---|
26 | </p> |
---|
27 | <p>The table under the chart displays number of content objects of all site's content types |
---|
28 | in relation to their owners. Besides, the total number of created objects by every contributor |
---|
29 | is provided. |
---|
30 | </p> |
---|
31 | <div id="chart" tal:content="structure view/getChart"> |
---|
32 | Chart will be here |
---|
33 | </div> |
---|
34 | |
---|
35 | <!--img tal:attributes="src view/getPNG"/--> |
---|
36 | <!--img src="@@obt.png"/--> |
---|
37 | <table class="listing"> |
---|
38 | <tr> |
---|
39 | <th></th> |
---|
40 | <th tal:repeat="user view/getUsers" tal:content="user">User</th> |
---|
41 | </tr> |
---|
42 | <tr tal:repeat="type python:view.getTypes(all=True)"> |
---|
43 | <th tal:content="type">Document</th> |
---|
44 | <td tal:repeat="count python:view.getContent(type)" tal:content="count">123</td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <th>Total</th> |
---|
48 | <td tal:repeat="total view/getTotal" tal:content="total">123</td> |
---|
49 | </tr> |
---|
50 | </table> |
---|
51 | </body> |
---|
52 | </metal:main> |
---|
53 | </html> |
---|