| OLD | NEW |
| 1 <table id="{{tb_value.table_id}}" class="info"> | 1 <table id="{{tb_value.table_id}}" class="info"> |
| 2 <thead class="heads"> | 2 <thead class="heads"> |
| 3 <tr> | 3 <tr> |
| 4 {% for item in tb_value.table_headers %} | 4 {% for item in tb_value.table_headers %} |
| 5 <th class="{{item[0]}}" data-asc-sorted=0> | 5 <th class="{{item[0]}}" data-asc-sorted=0> |
| 6 {{item[1]}} | 6 {{item[1]}} |
| 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 <tbody class="body"> | 13 <tbody class="body"> |
| 14 {% for row in tb_value.table_rows %} | 14 {% for row in tb_value.table_rows %} |
| 15 <tr> | 15 <tr class="{{tb_value.table_id}}-body-row"> |
| 16 {% for cell in row %} | 16 {% for cell in row %} |
| 17 <td class="{{loop.index0}} {{cell.class}}"> | 17 <td class="{{tb_value.table_id}}-body-column-{{loop.index0}} {{cell.cl
ass}}"> |
| 18 {% if cell.is_pre %} | 18 {% if cell.is_pre %} |
| 19 <pre>{{cell.data}}</pre> | 19 <pre>{{cell.data}}</pre> |
| 20 {% elif cell.link %} | 20 {% elif cell.link %} |
| 21 <a onclick="window.open('{{cell.link}}');">{{cell.data}}</a> | 21 <a onclick="window.open('{{cell.link}}');">{{cell.data}}</a> |
| 22 {% elif cell.action %} |
| 23 <a>{{cell.data}}</a> |
| 22 {% else %} | 24 {% else %} |
| 23 {{cell.data}} | 25 {{cell.data}} |
| 24 {% endif %} | 26 {% endif %} |
| 25 </td> | 27 </td> |
| 26 {% endfor %} | 28 {% endfor %} |
| 27 </tr> | 29 </tr> |
| 28 {% endfor %} | 30 {% endfor %} |
| 29 </tbody> | 31 </tbody> |
| 32 <tfoot> |
| 33 <tr> |
| 34 {% for cell in tb_value.summary %} |
| 35 <td class="{{tb_value.table_id}}-summary-column-{{loop.index0}} {{cell
.class}}"> |
| 36 {% if cell.action %} |
| 37 <a><b>{{cell.data}}</b></a> |
| 38 {% else %} |
| 39 <b>{{cell.data}}</b> |
| 40 {% endif %} |
| 41 </td> |
| 42 {% endfor %} |
| 43 </tr> |
| 44 </tfoot> |
| 30 </table> | 45 </table> |
| OLD | NEW |