| 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 {% endfor %} | 28 {% endfor %} |
| 29 {%- elif cell.cell_type == 'action' -%} |
| 30 <a onclick="{{cell.action}}">{{cell.data}}</a> |
| 29 {%- else -%} | 31 {%- else -%} |
| 30 {{cell.data}} | 32 {{cell.data}} |
| 31 {%- endif %} | 33 {%- endif %} |
| 32 </td> | 34 </td> |
| 33 {%- endfor %} | 35 {%- endfor %} |
| 34 </tr> | 36 </tr> |
| 35 {%- endfor %} | 37 {%- endfor %} |
| 36 </tbody> | 38 </tbody> |
| 37 {%- endfor %} | 39 {%- endfor %} |
| 38 <tfoot> | 40 <tfoot> |
| 39 <tr> | 41 <tr> |
| 40 {% for cell in tb_value.table_footer -%} | 42 {% for cell in tb_value.table_footer -%} |
| 41 <td class="{{tb_value.table_id}}-summary-column-{{loop.index0}} {{cell
.class}}"> | 43 <td class="{{tb_value.table_id}}-summary-column-{{loop.index0}} {{cell
.class}}"> |
| 42 {% if cell.cell_type == 'links' -%} | 44 {% if cell.cell_type == 'links' -%} |
| 43 {% for link in cell.links %} | 45 {% for link in cell.links %} |
| 44 <a href="{{link.href}}" target="{{link.target}}"><b>{{link.data}
}</b></a> | 46 <a href="{{link.href}}" target="{{link.target}}"><b>{{link.data}
}</b></a> |
| 45 {% endfor %} | 47 {% endfor %} |
| 48 {%- elif cell.cell_type == 'action' -%} |
| 49 <a onclick="{{cell.action}}">{{cell.data}}</a> |
| 46 {%- else -%} | 50 {%- else -%} |
| 47 <b>{{cell.data}}</b> | 51 <b>{{cell.data}}</b> |
| 48 {%- endif %} | 52 {%- endif %} |
| 49 </td> | 53 </td> |
| 50 {%- endfor %} | 54 {%- endfor %} |
| 51 </tr> | 55 </tr> |
| 52 </tfoot> | 56 </tfoot> |
| 53 </table> | 57 </table> |
| OLD | NEW |