1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move clean_html() & foreground_color() to utilities.html

This commit is contained in:
Jeremy Stretch
2024-03-21 13:11:15 -04:00
parent b92d3245c8
commit 2a3b85a32f
6 changed files with 40 additions and 35 deletions

View File

@@ -6,7 +6,7 @@ from svgwrite.text import Text
from django.conf import settings
from dcim.constants import CABLE_TRACE_SVG_DEFAULT_WIDTH
from utilities.utils import foreground_color
from utilities.html import foreground_color
__all__ = (

View File

@@ -14,7 +14,8 @@ from django.urls import reverse
from django.utils.http import urlencode
from netbox.config import get_config
from utilities.utils import foreground_color, array_to_ranges
from utilities.html import foreground_color
from utilities.utils import array_to_ranges
from dcim.constants import RACK_ELEVATION_BORDER_WIDTH