424aa56d0a0366b806ce30c44f3129a304863f9a
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Resources / Private / Templates / Administration / Index.html
1 <f:layout name="Administration"/>
2
3 <f:section name="Content">
4 <p class="lead"><f:translate key="administration.index.description" /></p>
5
6 <div class="row">
7 <div class="col-md-6">
8 <h4><f:translate key="administration.statistics.header" /></h4>
9 <table class="table table-striped table-hover">
10 <thead>
11 <tr>
12 <th><f:translate key="administration.statistics.name" /></th>
13 <th><f:translate key="administration.statistics.count" /></th>
14 </tr>
15 </thead>
16 <tbody>
17 <f:for each="{records}" as="count" key="name">
18 <tr>
19 <td>{name}</td>
20 <td>{count}</td>
21 </tr>
22 </f:for>
23 </tbody>
24 </table>
25 </div>
26 <div class="col-md-6">
27 <h4><f:translate key="administration.statistics.headerTypes" /></h4>
28 <table class="table table-striped table-hover">
29 <thead>
30 <tr>
31 <th><f:translate key="administration.statistics.name" /></th>
32 <th><f:translate key="administration.statistics.count" /></th>
33 </tr>
34 </thead>
35 <tbody>
36 <f:for each="{phash}" as="data">
37 <tr>
38 <td>{data.name} ({data.type})</td>
39 <td>{data.count} / {data.uniqueCount}</td>
40 </tr>
41 </f:for>
42 </tbody>
43 </table>
44 </div>
45 </div>
46
47 <h3>
48 <f:translate key="administration.statistics.mostSearched.title"/>
49 </h3>
50 <p>
51 <f:translate key="administration.statistics.mostSearched.description"/>
52 </p>
53 <f:if condition="{pageUid}">
54 <f:then>
55 <f:if condition="{all}">
56 <f:then>
57 <div class="row">
58 <div class="col-md-4">
59 <f:render section="statistic" arguments="{statistic:all,title:'all'}"/>
60 </div>
61 <div class="col-md-4">
62 <f:render section="statistic" arguments="{statistic:last24hours,title:'last24hours'}"/>
63 </div>
64 <div class="col-md-4">
65 <f:render section="statistic" arguments="{statistic:last30days,title:'last30days'}"/>
66 </div>
67 </div>
68 </f:then>
69 <f:else>
70 <f:be.infobox>
71 <f:translate key="administration.statistics.noResultForPage"/>
72 </f:be.infobox>
73 </f:else>
74 </f:if>
75
76 </f:then>
77 <f:else>
78 <f:be.infobox state="-1">
79 <f:translate key="administration.statistics.selectPage"/>
80 </f:be.infobox>
81 </f:else>
82 </f:if>
83 </f:section>
84
85 <f:section name="statistic">
86 <h4>
87 <f:translate key="administration.statistics.mostSearched.{title}"/>
88 </h4>
89 <f:if condition="{statistic}">
90 <f:then>
91 <table class="table table-striped table-hover">
92 <thead>
93 <tr>
94 <th class="nowrap">&nbsp;</th>
95 <th><f:translate key="administration.statistics.mostSearched."/></th>
96 <th><f:translate key="administration.statistics.count"/></th>
97 </tr>
98 </thead>
99 <tbody>
100 <f:for each="{statistic}" as="line" iteration="i">
101 <tr>
102 <td class="nowrap"><strong>{i.cycle}.</strong></td>
103 <td>{line.word}</td>
104 <td>{line.c}</td>
105 </tr>
106 </f:for>
107 </tbody>
108 </table>
109 </f:then>
110 <f:else>
111 <f:be.infobox state="2">
112 <f:translate key="administration.statistics.noResult"/>
113 </f:be.infobox>
114 </f:else>
115 </f:if>
116 </f:section>
117
118 <f:section name="Buttons"></f:section>