mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-23 01:08:45 +02:00
refactor(ui): Improve object change diff styling and layout
Update change data diff styling with CSS custom properties, better color contrast, and consistent borders. Replace btn-group with card-actions for navigation buttons and improve spacing.
This commit is contained in:
committed by
Jeremy Stretch
parent
0923a3dec8
commit
c99d8481b2
@@ -3,11 +3,11 @@
|
||||
<div class="card">
|
||||
<h2 class="card-header d-flex justify-content-between">
|
||||
{% trans "Difference" %}
|
||||
<div class="btn-group btn-group-sm d-print-none">
|
||||
<a {% if prev_change %}href="{% url 'core:objectchange' pk=prev_change.pk %}"{% else %}disabled{% endif %} class="btn btn-outline-secondary">
|
||||
<div class="card-actions">
|
||||
<a {% if prev_change %}href="{% url 'core:objectchange' pk=prev_change.pk %}"{% else %}disabled{% endif %} class="btn btn-ghost-primary btn-sm">
|
||||
<i class="mdi mdi-chevron-left" aria-hidden="true"></i> {% trans "Previous" %}
|
||||
</a>
|
||||
<a {% if next_change %}href="{% url 'core:objectchange' pk=next_change.pk %}"{% else %}disabled{% endif %} class="btn btn-outline-secondary">
|
||||
<a {% if next_change %}href="{% url 'core:objectchange' pk=next_change.pk %}"{% else %}disabled{% endif %} class="btn btn-ghost-primary btn-sm">
|
||||
{% trans "Next" %} <i class="mdi mdi-chevron-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user