Kaynağa Gözat

fix prefix table styles

checktheroads 5 yıl önce
ebeveyn
işleme
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 %}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
netbox/project-static/dist/netbox.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 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 %}

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor