OLD | NEW |
1 <table id="{{tb_value.table_id}}" class="info" style="display:none;"> | 1 <table id="{{tb_value.table_id}}" class="info" style="display:none;"> |
2 <thead class="heads"> | 2 <thead class="heads"> |
3 <tr> | 3 <tr> |
4 {% for cell in tb_value.table_headers -%} | 4 {% for cell in tb_value.table_headers -%} |
5 <th class="{{cell.class}}" data-asc-sorted=0> | 5 <th class="{{cell.class}}" data-asc-sorted=0> |
6 {{cell.data}} | 6 {{cell.data}} |
7 <span class="up" style="display:none;"> ↑</span> | 7 <span class="up" style="display:none;"> ↑</span> |
8 <span class="down" style="display:none;"> ↓</span> | 8 <span class="down" style="display:none;"> ↓</span> |
9 </th> | 9 </th> |
10 {%- endfor %} | 10 {%- endfor %} |
11 </tr> | 11 </tr> |
12 </thead> | 12 </thead> |
13 {% for block in tb_value.table_row_blocks -%} | 13 {% for block in tb_value.table_row_blocks -%} |
14 <tbody class="row_block"> | 14 <tbody class="row_block"> |
15 {% for row in block -%} | 15 {% for row in block -%} |
16 <tr class="{{tb_value.table_id}}-body-row"> | 16 <tr class="{{tb_value.table_id}}-body-row"> |
17 {% for cell in row -%} | 17 {% for cell in row -%} |
18 {% if cell.rowspan -%} | 18 {% if cell.rowspan -%} |
19 <td rowspan="{{cell.rowspan}}" class="{{tb_value.table_id}}-body-c
olumn-{{loop.index0}} {{cell.class}}"> | 19 <td rowspan="{{cell.rowspan}}" class="{{tb_value.table_id}}-body-c
olumn-{{loop.index0}} {{cell.class}}"> |
20 {%- else -%} | 20 {%- else -%} |
21 <td rowspan="1" class="{{tb_value.table_id}}-body-column-{{loop.in
dex0}} {{cell.class}}"> | 21 <td rowspan="1" class="{{tb_value.table_id}}-body-column-{{loop.in
dex0}} {{cell.class}}"> |
22 {%- endif %} | 22 {%- endif %} |
23 {% if cell.cell_type == 'pre' -%} | 23 {% if cell.cell_type == 'pre' -%} |
24 <pre>{{cell.data}}</pre> | 24 <pre>{{cell.data}}</pre> |
25 {%- elif cell.cell_type == 'links' -%} | 25 {%- elif cell.cell_type == 'links' -%} |
26 {% for link in cell.links %} | 26 {% for link in cell.links %} |
27 <a href="{{link.href}}" target="{{link.target}}">{{link.data}}</
a> | 27 <a href="{{link.href}}" target="{{link.target}}">{{link.data}}</
a> |
| 28 {% if not loop.last -%} |
| 29 <br /> |
| 30 {%- endif %} |
28 {% endfor %} | 31 {% endfor %} |
29 {%- elif cell.cell_type == 'action' -%} | 32 {%- elif cell.cell_type == 'action' -%} |
30 <a onclick="{{cell.action}}">{{cell.data}}</a> | 33 <a onclick="{{cell.action}}">{{cell.data}}</a> |
31 {%- else -%} | 34 {%- else -%} |
32 {{cell.data}} | 35 {{cell.data}} |
33 {%- endif %} | 36 {%- endif %} |
34 </td> | 37 </td> |
35 {%- endfor %} | 38 {%- endfor %} |
36 </tr> | 39 </tr> |
37 {%- endfor %} | 40 {%- endfor %} |
(...skipping 10 matching lines...) Expand all Loading... |
48 {%- elif cell.cell_type == 'action' -%} | 51 {%- elif cell.cell_type == 'action' -%} |
49 <a onclick="{{cell.action}}">{{cell.data}}</a> | 52 <a onclick="{{cell.action}}">{{cell.data}}</a> |
50 {%- else -%} | 53 {%- else -%} |
51 <b>{{cell.data}}</b> | 54 <b>{{cell.data}}</b> |
52 {%- endif %} | 55 {%- endif %} |
53 </td> | 56 </td> |
54 {%- endfor %} | 57 {%- endfor %} |
55 </tr> | 58 </tr> |
56 </tfoot> | 59 </tfoot> |
57 </table> | 60 </table> |
OLD | NEW |