[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Resources / Private / Templates / Table.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <f:layout name="Default" />
3 <f:section name="Main">
4
5 <f:if condition="{table}">
6 <table class="ce-table{f:if(condition: data.table_class, then: ' ce-table-{data.table_class}')}">
7 <f:if condition="{data.table_caption}">
8 <caption>{data.table_caption}</caption>
9 </f:if>
10 <f:for each="{table}" as="row" iteration="rowIterator">
11 <f:if condition="{rowIterator.isFirst}">
12 <f:then>
13 <f:if condition="{data.table_header_position} == 1">
14 <f:then>
15 <thead>
16 </f:then>
17 <f:else>
18 <tbody>
19 </f:else>
20 </f:if>
21 </f:then>
22 <f:else>
23 <f:if condition="{rowIterator.isLast}">
24 <f:if condition="{data.table_tfoot}">
25 </tbody>
26 <tfoot>
27 </f:if>
28 </f:if>
29 </f:else>
30 </f:if>
31 <tr>
32 <f:for each="{row}" as="cell" iteration="columnIterator">
33 <f:render partial="Table/Columns" arguments="{_all}" />
34 </f:for>
35 </tr>
36 <f:if condition="{rowIterator.isFirst}">
37 <f:then>
38 <f:if condition="{data.table_header_position} == 1">
39 </thead>
40 <tbody>
41 </f:if>
42 </f:then>
43 <f:else>
44 <f:if condition="{rowIterator.isLast}">
45 <f:if condition="{data.table_tfoot}">
46 <f:then>
47 </tfoot>
48 </f:then>
49 <f:else>
50 </tbody>
51 </f:else>
52 </f:if>
53 </f:if>
54 </f:else>
55 </f:if>
56 </f:for>
57 </table>
58 </f:if>
59
60 </f:section>
61 </html>