Improve compare styling

This commit is contained in:
Tim
2025-05-10 12:51:55 +02:00
parent ab97482ae6
commit 771f354346
3 changed files with 15 additions and 3 deletions

View File

@ -23,8 +23,12 @@
<td class="table-{{ line.type == 'insert' ? 'success' : (line.type == 'delete' ? 'danger' : 'info') }}">
{{ line.type }}
</td>
<td>{{ line.from }}</td>
<td>{{ line.to }}</td>
<td class="table-{{ line.type == 'insert' ? '' : (line.type == 'delete' ? 'danger' : 'info') }}">
{{ line.from }}
</td>
<td class="table-{{ line.type == 'insert' ? 'success' : (line.type == 'delete' ? '' : 'info') }}">
{{ line.to }}
</td>
</tr>
{% endfor %}
</tbody>