[TASK] Improve layout of service reports
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / Resources / Private / Templates / ServicesListReport.html
1 <p class="lead">
2 <f:translate key="report_explanation" />
3 </p>
4 <p class="help">
5 <f:translate key="externals_explanation" />
6 </p>
7
8 <f:for each="{servicesList}" as="serviceList">
9 <f:render section="ServiceTypeList" arguments="{serviceList: serviceList}" />
10 </f:for>
11
12 <h3><f:translate key="search_paths" /></h3>
13 <f:if condition="{searchPaths}">
14 <f:then>
15 <table class="table table-striped table-hover tx_sv_reportlist">
16 <thead>
17 <tr>
18 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:path" /></th>
19 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:valid" /></th>
20 </tr>
21 </thead>
22 <tbody>
23 <f:for each="{searchPaths}" as="searchPath">
24 <tr class="{searchPath.class}">
25 <td class="first-cell">{searchPath.path}</td>
26 <td class="last-cell"><f:translate key="{searchPath.accessible}" /></td>
27 </tr>
28 </f:for>
29 </tbody>
30 </table>
31 </f:then>
32 <f:else>
33 <p><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:no_search_paths" /></p>
34 </f:else>
35 </f:if>
36
37
38 <f:section name="ServiceTypeList">
39 <h3>{serviceList.Type}</h3>
40 <table class="table table-striped table-hover tx_sv_reportlist">
41 <thead>
42 <tr>
43 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:service" /></th>
44 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:description" /></th>
45 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:priority" /></th>
46 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:quality" /></th>
47 <th style="width: 35%"><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:subtypes" /></th>
48 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:os" /></th>
49 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:externals" /></th>
50 <th><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:available" /></th>
51 </tr>
52 </thead>
53 <tbody>
54 <f:for each="{serviceList.Services}" as="service">
55 <f:render section="ServiceRow" arguments="{service: service}" />
56 </f:for>
57 </tbody>
58 </table>
59 </f:section>
60
61 <f:section name="ServiceRow">
62 <tr class="service {service.AvailabilityClass}">
63 <td>{service.Information.title} ({service.Information.extKey})</td>
64 <td class="first-cell">{service.Description}
65 <f:if condition="{service.Information.description}">
66 <p class="service-description">{service.Information.description}</p>
67 </f:if>
68 <code>{service.Key}</code>
69 </td>
70 <td class="cell">{service.Information.priority}</td>
71 <td class="cell">{service.Information.quality}</td>
72 <td class="cell">{service.Subtypes}</td>
73 <td class="cell">{service.OperatingSystem}</td>
74 <td class="cell">{service.RequiredExecutables}</td>
75 <td class="last-cell">{service.Available}</td>
76 </tr>
77 </f:section>