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

Replace CSS-based cable trace diagrams with SVG images

This commit is contained in:
jeremystretch
2021-07-14 15:29:04 -04:00
parent ce7fa95546
commit 9f615cde79
4 changed files with 47 additions and 126 deletions

View File

@@ -2,18 +2,15 @@ import socket
from collections import OrderedDict
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from django.db.models import F
from django.http import HttpResponseForbidden, HttpResponse
from django.shortcuts import get_object_or_404
from drf_yasg import openapi
from drf_yasg.openapi import Parameter
from drf_yasg.utils import swagger_auto_schema
from rest_framework.decorators import action
from rest_framework.mixins import ListModelMixin
from rest_framework.response import Response
from rest_framework.routers import APIRootView
from rest_framework.viewsets import GenericViewSet, ViewSet
from rest_framework.viewsets import ViewSet
from circuits.models import Circuit
from dcim import filtersets