Selaa lähdekoodia

fix prefix table styles

checktheroads 4 vuotta sitten
vanhempi
commit
21d31b5747

+ 1 - 1
netbox/ipam/tables.py

@@ -11,7 +11,7 @@ from utilities.tables import (
 from virtualization.models import VMInterface
 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 = """
 {% load helpers %}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
netbox/project-static/dist/netbox.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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 {
   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 %}
   {% include 'ipam/inc/toggle_available.html' %}
-  {% comment %} {{ block.super }} {% endcomment %}
 {% endblock %}
 
 {% block content %}

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä