| OLD | NEW |
| 1 <table id="{{tb_value.table_id}}"> | 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> |
| 16 {% for cell in row %} | 16 {% for cell in row %} |
| 17 <td class="{{loop.index0}} {{cell.class}}"> | 17 <td class="{{loop.index0}} {{cell.class}}"> |
| 18 {% if "is-pre" in cell.class %} | 18 {% if cell.is_pre %} |
| 19 <pre>{{cell.data}}</pre> | 19 <pre>{{cell.data}}</pre> |
| 20 {% elif cell.link %} |
| 21 <a onclick="window.open('{{cell.link}}');">{{cell.data}}</a> |
| 20 {% else %} | 22 {% else %} |
| 21 {{cell.data}} | 23 {{cell.data}} |
| 22 {% endif %} | 24 {% endif %} |
| 23 </td> | 25 </td> |
| 24 {% endfor %} | 26 {% endfor %} |
| 25 </tr> | 27 </tr> |
| 26 {% endfor %} | 28 {% endfor %} |
| 27 </tbody> | 29 </tbody> |
| 28 </table> | 30 </table> |
| OLD | NEW |