Răsfoiți Sursa

fix prefix table styles

checktheroads 5 ani în urmă
părinte
comite
21d31b5747

+ 1 - 1
netbox/ipam/tables.py

@@ -11,7 +11,7 @@ from utilities.tables import (
 from virtualization.models import VMInterface
 from virtualization.models import VMInterface
 from .models import Aggregate, IPAddress, Prefix, RIR, Role, RouteTarget, Service, VLAN, VLANGroup, VRF
 from .models import Aggregate, IPAddress, Prefix, RIR, Role, RouteTarget, Service, VLAN, VLANGroup, VRF
 
 
-AVAILABLE_LABEL = mark_safe('<span class="label label-success">Available</span>')
+AVAILABLE_LABEL = mark_safe('<span class="badge bg-success">Available</span>')
 
 
 PREFIX_LINK = """
 PREFIX_LINK = """
 {% load helpers %}
 {% load helpers %}

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
netbox/project-static/dist/netbox.css


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
netbox/project-static/dist/netbox.css.map


+ 4 - 0
netbox/project-static/netbox.scss

@@ -351,3 +351,7 @@ i.bi-plus:before,
 span.bi-plus:before {
 span.bi-plus:before {
   font-weight: $font-weight-bold !important;
   font-weight: $font-weight-bold !important;
 }
 }
+
+table tbody tr.success {
+  background-color: rgba($success, 0.15);
+}

+ 0 - 1
netbox/templates/ipam/aggregate.html

@@ -12,7 +12,6 @@
 
 
 {% block extra_controls %}
 {% block extra_controls %}
   {% include 'ipam/inc/toggle_available.html' %}
   {% include 'ipam/inc/toggle_available.html' %}
-  {% comment %} {{ block.super }} {% endcomment %}
 {% endblock %}
 {% endblock %}
 
 
 {% block content %}
 {% block content %}

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff