fix prefix table styles

This commit is contained in:
checktheroads 2021-03-19 09:38:26 -07:00
parent 1ea208ba00
commit 21d31b5747
5 changed files with 6 additions and 3 deletions

View File

@ -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 %}

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -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);
}

View File

@ -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 %}