소스 검색

fix prefix table styles

checktheroads 5 년 전
부모
커밋
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 %}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
netbox/project-static/dist/netbox.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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 %}

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.