Explorar el Código

Closes #8323: Display connector images for power port & outlet types (#23679)

Jeremy Stretch hace 8 horas
padre
commit
dd82afc39d
Se han modificado 100 ficheros con 845 adiciones y 290 borrados
  1. 2 0
      docs/plugins/development/forms.md
  2. 300 260
      netbox/dcim/choices.py
  3. 37 7
      netbox/dcim/forms/bulk_create.py
  4. 40 6
      netbox/dcim/forms/bulk_edit.py
  5. 13 12
      netbox/dcim/forms/filtersets.py
  6. 18 0
      netbox/dcim/models/device_components.py
  7. 17 0
      netbox/dcim/tests/test_models.py
  8. 21 0
      netbox/dcim/tests/test_views.py
  9. 17 3
      netbox/netbox/tests/test_ui.py
  10. 6 2
      netbox/netbox/ui/attrs.py
  11. 0 0
      netbox/project-static/dist/netbox.css
  12. 0 0
      netbox/project-static/dist/netbox.js
  13. 0 0
      netbox/project-static/dist/netbox.js.map
  14. 4 0
      netbox/project-static/img/connectors/console-port/db-25.svg
  15. 4 0
      netbox/project-static/img/connectors/console-port/de-9.svg
  16. 5 0
      netbox/project-static/img/connectors/console-port/mini-din-8.svg
  17. 4 0
      netbox/project-static/img/connectors/console-port/rj-11.svg
  18. 4 0
      netbox/project-static/img/connectors/console-port/rj-12.svg
  19. 4 0
      netbox/project-static/img/connectors/console-port/rj-45.svg
  20. 4 0
      netbox/project-static/img/connectors/console-port/usb-a.svg
  21. 4 0
      netbox/project-static/img/connectors/console-port/usb-b.svg
  22. 4 0
      netbox/project-static/img/connectors/console-port/usb-c.svg
  23. 4 0
      netbox/project-static/img/connectors/console-port/usb-micro-a.svg
  24. 4 0
      netbox/project-static/img/connectors/console-port/usb-micro-ab.svg
  25. 4 0
      netbox/project-static/img/connectors/console-port/usb-micro-b.svg
  26. 4 0
      netbox/project-static/img/connectors/console-port/usb-mini-a.svg
  27. 4 0
      netbox/project-static/img/connectors/console-port/usb-mini-b.svg
  28. 4 0
      netbox/project-static/img/connectors/port/110-punch.svg
  29. 4 0
      netbox/project-static/img/connectors/port/4p2c.svg
  30. 4 0
      netbox/project-static/img/connectors/port/4p4c.svg
  31. 4 0
      netbox/project-static/img/connectors/port/6p2c.svg
  32. 4 0
      netbox/project-static/img/connectors/port/6p4c.svg
  33. 4 0
      netbox/project-static/img/connectors/port/6p6c.svg
  34. 4 0
      netbox/project-static/img/connectors/port/8p2c.svg
  35. 4 0
      netbox/project-static/img/connectors/port/8p4c.svg
  36. 4 0
      netbox/project-static/img/connectors/port/8p6c.svg
  37. 4 0
      netbox/project-static/img/connectors/port/8p8c.svg
  38. 5 0
      netbox/project-static/img/connectors/port/bnc.svg
  39. 4 0
      netbox/project-static/img/connectors/port/cs.svg
  40. 5 0
      netbox/project-static/img/connectors/port/f.svg
  41. 5 0
      netbox/project-static/img/connectors/port/fc-apc.svg
  42. 5 0
      netbox/project-static/img/connectors/port/fc-pc.svg
  43. 5 0
      netbox/project-static/img/connectors/port/fc-upc.svg
  44. 5 0
      netbox/project-static/img/connectors/port/fc.svg
  45. 4 0
      netbox/project-static/img/connectors/port/gg45.svg
  46. 4 0
      netbox/project-static/img/connectors/port/lc-apc.svg
  47. 4 0
      netbox/project-static/img/connectors/port/lc-pc.svg
  48. 4 0
      netbox/project-static/img/connectors/port/lc-upc.svg
  49. 4 0
      netbox/project-static/img/connectors/port/lc.svg
  50. 5 0
      netbox/project-static/img/connectors/port/lsh-apc.svg
  51. 5 0
      netbox/project-static/img/connectors/port/lsh-pc.svg
  52. 5 0
      netbox/project-static/img/connectors/port/lsh-upc.svg
  53. 5 0
      netbox/project-static/img/connectors/port/lsh.svg
  54. 4 0
      netbox/project-static/img/connectors/port/lx5-apc.svg
  55. 4 0
      netbox/project-static/img/connectors/port/lx5-pc.svg
  56. 4 0
      netbox/project-static/img/connectors/port/lx5-upc.svg
  57. 4 0
      netbox/project-static/img/connectors/port/lx5.svg
  58. 5 0
      netbox/project-static/img/connectors/port/mdc.svg
  59. 5 0
      netbox/project-static/img/connectors/port/mpo.svg
  60. 5 0
      netbox/project-static/img/connectors/port/mrj21.svg
  61. 5 0
      netbox/project-static/img/connectors/port/mtrj.svg
  62. 4 0
      netbox/project-static/img/connectors/port/mu-apc.svg
  63. 4 0
      netbox/project-static/img/connectors/port/mu-pc.svg
  64. 4 0
      netbox/project-static/img/connectors/port/mu-upc.svg
  65. 4 0
      netbox/project-static/img/connectors/port/mu.svg
  66. 5 0
      netbox/project-static/img/connectors/port/n.svg
  67. 4 0
      netbox/project-static/img/connectors/port/sc-apc.svg
  68. 4 0
      netbox/project-static/img/connectors/port/sc-pc.svg
  69. 4 0
      netbox/project-static/img/connectors/port/sc-upc.svg
  70. 4 0
      netbox/project-static/img/connectors/port/sc.svg
  71. 5 0
      netbox/project-static/img/connectors/port/sma-905.svg
  72. 5 0
      netbox/project-static/img/connectors/port/sma-906.svg
  73. 4 0
      netbox/project-static/img/connectors/port/sn.svg
  74. 5 0
      netbox/project-static/img/connectors/port/st.svg
  75. 5 0
      netbox/project-static/img/connectors/port/tera-1p.svg
  76. 5 0
      netbox/project-static/img/connectors/port/tera-2p.svg
  77. 5 0
      netbox/project-static/img/connectors/port/tera-4p.svg
  78. 5 0
      netbox/project-static/img/connectors/port/urm-p2.svg
  79. 5 0
      netbox/project-static/img/connectors/port/urm-p4.svg
  80. 5 0
      netbox/project-static/img/connectors/port/urm-p8.svg
  81. 4 0
      netbox/project-static/img/connectors/port/usb-a.svg
  82. 4 0
      netbox/project-static/img/connectors/port/usb-b.svg
  83. 4 0
      netbox/project-static/img/connectors/port/usb-c.svg
  84. 4 0
      netbox/project-static/img/connectors/port/usb-micro-a.svg
  85. 4 0
      netbox/project-static/img/connectors/port/usb-micro-ab.svg
  86. 4 0
      netbox/project-static/img/connectors/port/usb-micro-b.svg
  87. 4 0
      netbox/project-static/img/connectors/port/usb-mini-a.svg
  88. 4 0
      netbox/project-static/img/connectors/port/usb-mini-b.svg
  89. 4 0
      netbox/project-static/img/connectors/power-outlet/CS6360C.svg
  90. 4 0
      netbox/project-static/img/connectors/power-outlet/CS6364C.svg
  91. 4 0
      netbox/project-static/img/connectors/power-outlet/CS8164C.svg
  92. 4 0
      netbox/project-static/img/connectors/power-outlet/CS8264C.svg
  93. 4 0
      netbox/project-static/img/connectors/power-outlet/CS8364C.svg
  94. 4 0
      netbox/project-static/img/connectors/power-outlet/CS8464C.svg
  95. 5 0
      netbox/project-static/img/connectors/power-outlet/eaton-c39.svg
  96. 4 0
      netbox/project-static/img/connectors/power-outlet/hdot-cx.svg
  97. 4 0
      netbox/project-static/img/connectors/power-outlet/iec-60309-2p-e-4h.svg
  98. 4 0
      netbox/project-static/img/connectors/power-outlet/iec-60309-2p-e-6h.svg
  99. 4 0
      netbox/project-static/img/connectors/power-outlet/iec-60309-2p-e-9h.svg
  100. 4 0
      netbox/project-static/img/connectors/power-outlet/iec-60309-3p-e-4h.svg

+ 2 - 0
docs/plugins/development/forms.md

@@ -218,6 +218,8 @@ These fields render a standard HTML `<select>` element (as opposed to the API-ba
 
 
 For choice set-backed fields, descriptions are defined per choice using a `Choice` object in the `ChoiceSet` and are rendered automatically. Pass `show_descriptions=False` to suppress them for a particular field.
 For choice set-backed fields, descriptions are defined per choice using a `Choice` object in the `ChoiceSet` and are rendered automatically. Pass `show_descriptions=False` to suppress them for a particular field.
 
 
+A `Choice` may also define an `image`: the path to a static file (such as a small line drawing) displayed beside the option's label. Images should be simple and render well at a small size and in both light and dark mode; SVG is preferred.
+
 ```python
 ```python
 from utilities.choices import Choice, ChoiceSet
 from utilities.choices import Choice, ChoiceSet
 from utilities.forms.fields import ChoiceField
 from utilities.forms.fields import ChoiceField

+ 300 - 260
netbox/dcim/choices.py

@@ -327,22 +327,22 @@ class ConsolePortTypeChoices(ChoiceSet):
 
 
     CHOICES = (
     CHOICES = (
         ('Serial', (
         ('Serial', (
-            Choice(TYPE_DE9, 'DE-9'),
-            Choice(TYPE_DB25, 'DB-25'),
-            Choice(TYPE_RJ11, 'RJ-11'),
-            Choice(TYPE_RJ12, 'RJ-12'),
-            Choice(TYPE_RJ45, 'RJ-45'),
-            Choice(TYPE_MINI_DIN_8, 'Mini-DIN 8'),
+            Choice(TYPE_DE9, 'DE-9', image='connectors/console-port/de-9.svg'),
+            Choice(TYPE_DB25, 'DB-25', image='connectors/console-port/db-25.svg'),
+            Choice(TYPE_RJ11, 'RJ-11', image='connectors/console-port/rj-11.svg'),
+            Choice(TYPE_RJ12, 'RJ-12', image='connectors/console-port/rj-12.svg'),
+            Choice(TYPE_RJ45, 'RJ-45', image='connectors/console-port/rj-45.svg'),
+            Choice(TYPE_MINI_DIN_8, 'Mini-DIN 8', image='connectors/console-port/mini-din-8.svg'),
         )),
         )),
         ('USB', (
         ('USB', (
-            Choice(TYPE_USB_A, 'USB Type A'),
-            Choice(TYPE_USB_B, 'USB Type B'),
-            Choice(TYPE_USB_C, 'USB Type C'),
-            Choice(TYPE_USB_MINI_A, 'USB Mini A'),
-            Choice(TYPE_USB_MINI_B, 'USB Mini B'),
-            Choice(TYPE_USB_MICRO_A, 'USB Micro A'),
-            Choice(TYPE_USB_MICRO_B, 'USB Micro B'),
-            Choice(TYPE_USB_MICRO_AB, 'USB Micro AB'),
+            Choice(TYPE_USB_A, 'USB Type A', image='connectors/console-port/usb-a.svg'),
+            Choice(TYPE_USB_B, 'USB Type B', image='connectors/console-port/usb-b.svg'),
+            Choice(TYPE_USB_C, 'USB Type C', image='connectors/console-port/usb-c.svg'),
+            Choice(TYPE_USB_MINI_A, 'USB Mini A', image='connectors/console-port/usb-mini-a.svg'),
+            Choice(TYPE_USB_MINI_B, 'USB Mini B', image='connectors/console-port/usb-mini-b.svg'),
+            Choice(TYPE_USB_MICRO_A, 'USB Micro A', image='connectors/console-port/usb-micro-a.svg'),
+            Choice(TYPE_USB_MICRO_B, 'USB Micro B', image='connectors/console-port/usb-micro-b.svg'),
+            Choice(TYPE_USB_MICRO_AB, 'USB Micro AB', image='connectors/console-port/usb-micro-ab.svg'),
         )),
         )),
         ('Other', (
         ('Other', (
             Choice(TYPE_OTHER, 'Other'),
             Choice(TYPE_OTHER, 'Other'),
@@ -500,129 +500,149 @@ class PowerPortTypeChoices(ChoiceSet):
 
 
     CHOICES = (
     CHOICES = (
         ('IEC 60320', (
         ('IEC 60320', (
-            Choice(TYPE_IEC_C6, 'C6'),
-            Choice(TYPE_IEC_C8, 'C8'),
-            Choice(TYPE_IEC_C14, 'C14'),
-            Choice(TYPE_IEC_C16, 'C16'),
-            Choice(TYPE_IEC_C18, 'C18'),
-            Choice(TYPE_IEC_C20, 'C20'),
-            Choice(TYPE_IEC_C22, 'C22'),
+            Choice(TYPE_IEC_C6, 'C6', image='connectors/power-port/iec-60320-c6.svg'),
+            Choice(TYPE_IEC_C8, 'C8', image='connectors/power-port/iec-60320-c8.svg'),
+            Choice(TYPE_IEC_C14, 'C14', image='connectors/power-port/iec-60320-c14.svg'),
+            Choice(TYPE_IEC_C16, 'C16', image='connectors/power-port/iec-60320-c16.svg'),
+            Choice(TYPE_IEC_C18, 'C18', image='connectors/power-port/iec-60320-c18.svg'),
+            Choice(TYPE_IEC_C20, 'C20', image='connectors/power-port/iec-60320-c20.svg'),
+            Choice(TYPE_IEC_C22, 'C22', image='connectors/power-port/iec-60320-c22.svg'),
         )),
         )),
         ('IEC 60309', (
         ('IEC 60309', (
-            Choice(TYPE_IEC_PNE4H, 'P+N+E 4H'),
-            Choice(TYPE_IEC_PNE6H, 'P+N+E 6H'),
-            Choice(TYPE_IEC_PNE9H, 'P+N+E 9H'),
-            Choice(TYPE_IEC_2PE4H, '2P+E 4H'),
-            Choice(TYPE_IEC_2PE6H, '2P+E 6H'),
-            Choice(TYPE_IEC_2PE9H, '2P+E 9H'),
-            Choice(TYPE_IEC_3PE4H, '3P+E 4H'),
-            Choice(TYPE_IEC_3PE6H, '3P+E 6H'),
-            Choice(TYPE_IEC_3PE9H, '3P+E 9H'),
-            Choice(TYPE_IEC_3PNE4H, '3P+N+E 4H'),
-            Choice(TYPE_IEC_3PNE6H, '3P+N+E 6H'),
-            Choice(TYPE_IEC_3PNE9H, '3P+N+E 9H'),
+            Choice(TYPE_IEC_PNE4H, 'P+N+E 4H', image='connectors/power-port/iec-60309-p-n-e-4h.svg'),
+            Choice(TYPE_IEC_PNE6H, 'P+N+E 6H', image='connectors/power-port/iec-60309-p-n-e-6h.svg'),
+            Choice(TYPE_IEC_PNE9H, 'P+N+E 9H', image='connectors/power-port/iec-60309-p-n-e-9h.svg'),
+            Choice(TYPE_IEC_2PE4H, '2P+E 4H', image='connectors/power-port/iec-60309-2p-e-4h.svg'),
+            Choice(TYPE_IEC_2PE6H, '2P+E 6H', image='connectors/power-port/iec-60309-2p-e-6h.svg'),
+            Choice(TYPE_IEC_2PE9H, '2P+E 9H', image='connectors/power-port/iec-60309-2p-e-9h.svg'),
+            Choice(TYPE_IEC_3PE4H, '3P+E 4H', image='connectors/power-port/iec-60309-3p-e-4h.svg'),
+            Choice(TYPE_IEC_3PE6H, '3P+E 6H', image='connectors/power-port/iec-60309-3p-e-6h.svg'),
+            Choice(TYPE_IEC_3PE9H, '3P+E 9H', image='connectors/power-port/iec-60309-3p-e-9h.svg'),
+            Choice(TYPE_IEC_3PNE4H, '3P+N+E 4H', image='connectors/power-port/iec-60309-3p-n-e-4h.svg'),
+            Choice(TYPE_IEC_3PNE6H, '3P+N+E 6H', image='connectors/power-port/iec-60309-3p-n-e-6h.svg'),
+            Choice(TYPE_IEC_3PNE9H, '3P+N+E 9H', image='connectors/power-port/iec-60309-3p-n-e-9h.svg'),
         )),
         )),
         ('IEC 60906-1', (
         ('IEC 60906-1', (
-            Choice(TYPE_IEC_60906_1, 'IEC 60906-1'),
-            Choice(TYPE_NBR_14136_10A, '2P+T 10A (NBR 14136)'),
-            Choice(TYPE_NBR_14136_20A, '2P+T 20A (NBR 14136)'),
+            Choice(TYPE_IEC_60906_1, 'IEC 60906-1', image='connectors/power-port/iec-60906-1.svg'),
+            Choice(TYPE_NBR_14136_10A, '2P+T 10A (NBR 14136)', image='connectors/power-port/nbr-14136-10a.svg'),
+            Choice(TYPE_NBR_14136_20A, '2P+T 20A (NBR 14136)', image='connectors/power-port/nbr-14136-20a.svg'),
         )),
         )),
         (_('NEMA (Non-locking)'), (
         (_('NEMA (Non-locking)'), (
-            Choice(TYPE_NEMA_115P, 'NEMA 1-15P'),
-            Choice(TYPE_NEMA_515P, 'NEMA 5-15P'),
-            Choice(TYPE_NEMA_520P, 'NEMA 5-20P'),
-            Choice(TYPE_NEMA_530P, 'NEMA 5-30P'),
-            Choice(TYPE_NEMA_550P, 'NEMA 5-50P'),
-            Choice(TYPE_NEMA_615P, 'NEMA 6-15P'),
-            Choice(TYPE_NEMA_620P, 'NEMA 6-20P'),
-            Choice(TYPE_NEMA_630P, 'NEMA 6-30P'),
-            Choice(TYPE_NEMA_650P, 'NEMA 6-50P'),
-            Choice(TYPE_NEMA_1030P, 'NEMA 10-30P'),
-            Choice(TYPE_NEMA_1050P, 'NEMA 10-50P'),
-            Choice(TYPE_NEMA_1420P, 'NEMA 14-20P'),
-            Choice(TYPE_NEMA_1430P, 'NEMA 14-30P'),
-            Choice(TYPE_NEMA_1450P, 'NEMA 14-50P'),
-            Choice(TYPE_NEMA_1460P, 'NEMA 14-60P'),
-            Choice(TYPE_NEMA_1515P, 'NEMA 15-15P'),
-            Choice(TYPE_NEMA_1520P, 'NEMA 15-20P'),
-            Choice(TYPE_NEMA_1530P, 'NEMA 15-30P'),
-            Choice(TYPE_NEMA_1550P, 'NEMA 15-50P'),
-            Choice(TYPE_NEMA_1560P, 'NEMA 15-60P'),
+            Choice(TYPE_NEMA_115P, 'NEMA 1-15P', image='connectors/power-port/nema-1-15p.svg'),
+            Choice(TYPE_NEMA_515P, 'NEMA 5-15P', image='connectors/power-port/nema-5-15p.svg'),
+            Choice(TYPE_NEMA_520P, 'NEMA 5-20P', image='connectors/power-port/nema-5-20p.svg'),
+            Choice(TYPE_NEMA_530P, 'NEMA 5-30P', image='connectors/power-port/nema-5-30p.svg'),
+            Choice(TYPE_NEMA_550P, 'NEMA 5-50P', image='connectors/power-port/nema-5-50p.svg'),
+            Choice(TYPE_NEMA_615P, 'NEMA 6-15P', image='connectors/power-port/nema-6-15p.svg'),
+            Choice(TYPE_NEMA_620P, 'NEMA 6-20P', image='connectors/power-port/nema-6-20p.svg'),
+            Choice(TYPE_NEMA_630P, 'NEMA 6-30P', image='connectors/power-port/nema-6-30p.svg'),
+            Choice(TYPE_NEMA_650P, 'NEMA 6-50P', image='connectors/power-port/nema-6-50p.svg'),
+            Choice(TYPE_NEMA_1030P, 'NEMA 10-30P', image='connectors/power-port/nema-10-30p.svg'),
+            Choice(TYPE_NEMA_1050P, 'NEMA 10-50P', image='connectors/power-port/nema-10-50p.svg'),
+            Choice(TYPE_NEMA_1420P, 'NEMA 14-20P', image='connectors/power-port/nema-14-20p.svg'),
+            Choice(TYPE_NEMA_1430P, 'NEMA 14-30P', image='connectors/power-port/nema-14-30p.svg'),
+            Choice(TYPE_NEMA_1450P, 'NEMA 14-50P', image='connectors/power-port/nema-14-50p.svg'),
+            Choice(TYPE_NEMA_1460P, 'NEMA 14-60P', image='connectors/power-port/nema-14-60p.svg'),
+            Choice(TYPE_NEMA_1515P, 'NEMA 15-15P', image='connectors/power-port/nema-15-15p.svg'),
+            Choice(TYPE_NEMA_1520P, 'NEMA 15-20P', image='connectors/power-port/nema-15-20p.svg'),
+            Choice(TYPE_NEMA_1530P, 'NEMA 15-30P', image='connectors/power-port/nema-15-30p.svg'),
+            Choice(TYPE_NEMA_1550P, 'NEMA 15-50P', image='connectors/power-port/nema-15-50p.svg'),
+            Choice(TYPE_NEMA_1560P, 'NEMA 15-60P', image='connectors/power-port/nema-15-60p.svg'),
         )),
         )),
         (_('NEMA (Locking)'), (
         (_('NEMA (Locking)'), (
-            Choice(TYPE_NEMA_L115P, 'NEMA L1-15P'),
-            Choice(TYPE_NEMA_L515P, 'NEMA L5-15P'),
-            Choice(TYPE_NEMA_L520P, 'NEMA L5-20P'),
-            Choice(TYPE_NEMA_L530P, 'NEMA L5-30P'),
+            Choice(TYPE_NEMA_L115P, 'NEMA L1-15P', image='connectors/power-port/nema-l1-15p.svg'),
+            Choice(TYPE_NEMA_L515P, 'NEMA L5-15P', image='connectors/power-port/nema-l5-15p.svg'),
+            Choice(TYPE_NEMA_L520P, 'NEMA L5-20P', image='connectors/power-port/nema-l5-20p.svg'),
+            Choice(TYPE_NEMA_L530P, 'NEMA L5-30P', image='connectors/power-port/nema-l5-30p.svg'),
             Choice(TYPE_NEMA_L550P, 'NEMA L5-50P'),
             Choice(TYPE_NEMA_L550P, 'NEMA L5-50P'),
-            Choice(TYPE_NEMA_L615P, 'NEMA L6-15P'),
-            Choice(TYPE_NEMA_L620P, 'NEMA L6-20P'),
-            Choice(TYPE_NEMA_L630P, 'NEMA L6-30P'),
+            Choice(TYPE_NEMA_L615P, 'NEMA L6-15P', image='connectors/power-port/nema-l6-15p.svg'),
+            Choice(TYPE_NEMA_L620P, 'NEMA L6-20P', image='connectors/power-port/nema-l6-20p.svg'),
+            Choice(TYPE_NEMA_L630P, 'NEMA L6-30P', image='connectors/power-port/nema-l6-30p.svg'),
             Choice(TYPE_NEMA_L650P, 'NEMA L6-50P'),
             Choice(TYPE_NEMA_L650P, 'NEMA L6-50P'),
-            Choice(TYPE_NEMA_L1030P, 'NEMA L10-30P'),
-            Choice(TYPE_NEMA_L1420P, 'NEMA L14-20P'),
-            Choice(TYPE_NEMA_L1430P, 'NEMA L14-30P'),
+            Choice(TYPE_NEMA_L1030P, 'NEMA L10-30P', image='connectors/power-port/nema-l10-30p.svg'),
+            Choice(TYPE_NEMA_L1420P, 'NEMA L14-20P', image='connectors/power-port/nema-l14-20p.svg'),
+            Choice(TYPE_NEMA_L1430P, 'NEMA L14-30P', image='connectors/power-port/nema-l14-30p.svg'),
             Choice(TYPE_NEMA_L1450P, 'NEMA L14-50P'),
             Choice(TYPE_NEMA_L1450P, 'NEMA L14-50P'),
             Choice(TYPE_NEMA_L1460P, 'NEMA L14-60P'),
             Choice(TYPE_NEMA_L1460P, 'NEMA L14-60P'),
-            Choice(TYPE_NEMA_L1520P, 'NEMA L15-20P'),
-            Choice(TYPE_NEMA_L1530P, 'NEMA L15-30P'),
+            Choice(TYPE_NEMA_L1520P, 'NEMA L15-20P', image='connectors/power-port/nema-l15-20p.svg'),
+            Choice(TYPE_NEMA_L1530P, 'NEMA L15-30P', image='connectors/power-port/nema-l15-30p.svg'),
             Choice(TYPE_NEMA_L1550P, 'NEMA L15-50P'),
             Choice(TYPE_NEMA_L1550P, 'NEMA L15-50P'),
             Choice(TYPE_NEMA_L1560P, 'NEMA L15-60P'),
             Choice(TYPE_NEMA_L1560P, 'NEMA L15-60P'),
-            Choice(TYPE_NEMA_L2120P, 'NEMA L21-20P'),
-            Choice(TYPE_NEMA_L2130P, 'NEMA L21-30P'),
-            Choice(TYPE_NEMA_L2220P, 'NEMA L22-20P'),
-            Choice(TYPE_NEMA_L2230P, 'NEMA L22-30P'),
+            Choice(TYPE_NEMA_L2120P, 'NEMA L21-20P', image='connectors/power-port/nema-l21-20p.svg'),
+            Choice(TYPE_NEMA_L2130P, 'NEMA L21-30P', image='connectors/power-port/nema-l21-30p.svg'),
+            Choice(TYPE_NEMA_L2220P, 'NEMA L22-20P', image='connectors/power-port/nema-l22-20p.svg'),
+            Choice(TYPE_NEMA_L2230P, 'NEMA L22-30P', image='connectors/power-port/nema-l22-30p.svg'),
         )),
         )),
         (_('California Style'), (
         (_('California Style'), (
-            Choice(TYPE_CS6361C, 'CS6361C'),
-            Choice(TYPE_CS6365C, 'CS6365C'),
-            Choice(TYPE_CS8165C, 'CS8165C'),
-            Choice(TYPE_CS8265C, 'CS8265C'),
-            Choice(TYPE_CS8365C, 'CS8365C'),
-            Choice(TYPE_CS8465C, 'CS8465C'),
+            Choice(TYPE_CS6361C, 'CS6361C', image='connectors/power-port/cs6361c.svg'),
+            Choice(TYPE_CS6365C, 'CS6365C', image='connectors/power-port/cs6365c.svg'),
+            Choice(TYPE_CS8165C, 'CS8165C', image='connectors/power-port/cs8165c.svg'),
+            Choice(TYPE_CS8265C, 'CS8265C', image='connectors/power-port/cs8265c.svg'),
+            Choice(TYPE_CS8365C, 'CS8365C', image='connectors/power-port/cs8365c.svg'),
+            Choice(TYPE_CS8465C, 'CS8465C', image='connectors/power-port/cs8465c.svg'),
         )),
         )),
         (_('International/ITA'), (
         (_('International/ITA'), (
-            Choice(TYPE_ITA_C, 'ITA Type C (CEE 7/16)'),
-            Choice(TYPE_ITA_E, 'ITA Type E (CEE 7/6)'),
-            Choice(TYPE_ITA_F, 'ITA Type F (CEE 7/4)'),
-            Choice(TYPE_ITA_EF, 'ITA Type E/F (CEE 7/7)'),
-            Choice(TYPE_ITA_G, 'ITA Type G (BS 1363)'),
-            Choice(TYPE_ITA_H, 'ITA Type H'),
-            Choice(TYPE_ITA_I, 'ITA Type I'),
-            Choice(TYPE_ITA_J, 'ITA Type J'),
-            Choice(TYPE_ITA_K, 'ITA Type K'),
-            Choice(TYPE_ITA_L, 'ITA Type L (CEI 23-50)'),
-            Choice(TYPE_ITA_M, 'ITA Type M (BS 546)'),
-            Choice(TYPE_ITA_N, 'ITA Type N'),
-            Choice(TYPE_ITA_O, 'ITA Type O'),
+            Choice(TYPE_ITA_C, 'ITA Type C (CEE 7/16)', image='connectors/power-port/ita-c.svg'),
+            Choice(TYPE_ITA_E, 'ITA Type E (CEE 7/6)', image='connectors/power-port/ita-e.svg'),
+            Choice(TYPE_ITA_F, 'ITA Type F (CEE 7/4)', image='connectors/power-port/ita-f.svg'),
+            Choice(TYPE_ITA_EF, 'ITA Type E/F (CEE 7/7)', image='connectors/power-port/ita-ef.svg'),
+            Choice(TYPE_ITA_G, 'ITA Type G (BS 1363)', image='connectors/power-port/ita-g.svg'),
+            Choice(TYPE_ITA_H, 'ITA Type H', image='connectors/power-port/ita-h.svg'),
+            Choice(TYPE_ITA_I, 'ITA Type I', image='connectors/power-port/ita-i.svg'),
+            Choice(TYPE_ITA_J, 'ITA Type J', image='connectors/power-port/ita-j.svg'),
+            Choice(TYPE_ITA_K, 'ITA Type K', image='connectors/power-port/ita-k.svg'),
+            Choice(TYPE_ITA_L, 'ITA Type L (CEI 23-50)', image='connectors/power-port/ita-l.svg'),
+            Choice(TYPE_ITA_M, 'ITA Type M (BS 546)', image='connectors/power-port/ita-m.svg'),
+            Choice(TYPE_ITA_N, 'ITA Type N', image='connectors/power-port/ita-n.svg'),
+            Choice(TYPE_ITA_O, 'ITA Type O', image='connectors/power-port/ita-o.svg'),
         )),
         )),
         ('USB', (
         ('USB', (
-            Choice(TYPE_USB_A, 'USB Type A'),
-            Choice(TYPE_USB_B, 'USB Type B'),
-            Choice(TYPE_USB_C, 'USB Type C'),
-            Choice(TYPE_USB_MINI_A, 'USB Mini A'),
-            Choice(TYPE_USB_MINI_B, 'USB Mini B'),
-            Choice(TYPE_USB_MICRO_A, 'USB Micro A'),
-            Choice(TYPE_USB_MICRO_B, 'USB Micro B'),
-            Choice(TYPE_USB_MICRO_AB, 'USB Micro AB'),
-            Choice(TYPE_USB_3_B, 'USB 3.0 Type B'),
-            Choice(TYPE_USB_3_MICROB, 'USB 3.0 Micro B'),
+            Choice(TYPE_USB_A, 'USB Type A', image='connectors/power-port/usb-a.svg'),
+            Choice(TYPE_USB_B, 'USB Type B', image='connectors/power-port/usb-b.svg'),
+            Choice(TYPE_USB_C, 'USB Type C', image='connectors/power-port/usb-c.svg'),
+            Choice(TYPE_USB_MINI_A, 'USB Mini A', image='connectors/power-port/usb-mini-a.svg'),
+            Choice(TYPE_USB_MINI_B, 'USB Mini B', image='connectors/power-port/usb-mini-b.svg'),
+            Choice(TYPE_USB_MICRO_A, 'USB Micro A', image='connectors/power-port/usb-micro-a.svg'),
+            Choice(TYPE_USB_MICRO_B, 'USB Micro B', image='connectors/power-port/usb-micro-b.svg'),
+            Choice(TYPE_USB_MICRO_AB, 'USB Micro AB', image='connectors/power-port/usb-micro-ab.svg'),
+            Choice(TYPE_USB_3_B, 'USB 3.0 Type B', image='connectors/power-port/usb-3-b.svg'),
+            Choice(TYPE_USB_3_MICROB, 'USB 3.0 Micro B', image='connectors/power-port/usb-3-micro-b.svg'),
         )),
         )),
         ('Molex', (
         ('Molex', (
-            Choice(TYPE_MOLEX_MICRO_FIT_1X2, 'Molex Micro-Fit 1x2'),
-            Choice(TYPE_MOLEX_MICRO_FIT_2X2, 'Molex Micro-Fit 2x2'),
-            Choice(TYPE_MOLEX_MICRO_FIT_2X3, 'Molex Micro-Fit 2x3'),
-            Choice(TYPE_MOLEX_MICRO_FIT_2X4, 'Molex Micro-Fit 2x4'),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_1X2, 'Molex Micro-Fit 1x2', image='connectors/power-port/molex-micro-fit-1x2.svg'
+            ),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_2X2, 'Molex Micro-Fit 2x2', image='connectors/power-port/molex-micro-fit-2x2.svg'
+            ),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_2X3, 'Molex Micro-Fit 2x3', image='connectors/power-port/molex-micro-fit-2x3.svg'
+            ),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_2X4, 'Molex Micro-Fit 2x4', image='connectors/power-port/molex-micro-fit-2x4.svg'
+            ),
         )),
         )),
         ('DC', (
         ('DC', (
             Choice(TYPE_DC, 'DC Terminal'),
             Choice(TYPE_DC, 'DC Terminal'),
         )),
         )),
         (_('Proprietary'), (
         (_('Proprietary'), (
-            Choice(TYPE_SAF_D_GRID, 'Saf-D-Grid'),
-            Choice(TYPE_NEUTRIK_POWERCON_20A, 'Neutrik powerCON (20A)'),
-            Choice(TYPE_NEUTRIK_POWERCON_32A, 'Neutrik powerCON (32A)'),
-            Choice(TYPE_NEUTRIK_POWERCON_TRUE1, 'Neutrik powerCON TRUE1'),
-            Choice(TYPE_NEUTRIK_POWERCON_TRUE1_TOP, 'Neutrik powerCON TRUE1 TOP'),
+            Choice(TYPE_SAF_D_GRID, 'Saf-D-Grid', image='connectors/power-port/saf-d-grid.svg'),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_20A, 'Neutrik powerCON (20A)',
+                image='connectors/power-port/neutrik-powercon-20.svg',
+            ),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_32A, 'Neutrik powerCON (32A)',
+                image='connectors/power-port/neutrik-powercon-32.svg',
+            ),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_TRUE1, 'Neutrik powerCON TRUE1',
+                image='connectors/power-port/neutrik-powercon-true1.svg',
+            ),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_TRUE1_TOP, 'Neutrik powerCON TRUE1 TOP',
+                image='connectors/power-port/neutrik-powercon-true1-top.svg',
+            ),
             Choice(TYPE_UBIQUITI_SMARTPOWER, 'Ubiquiti SmartPower'),
             Choice(TYPE_UBIQUITI_SMARTPOWER, 'Ubiquiti SmartPower'),
         )),
         )),
         (_('Other'), (
         (_('Other'), (
@@ -753,123 +773,143 @@ class PowerOutletTypeChoices(ChoiceSet):
 
 
     CHOICES = (
     CHOICES = (
         ('IEC 60320', (
         ('IEC 60320', (
-            Choice(TYPE_IEC_C5, 'C5'),
-            Choice(TYPE_IEC_C7, 'C7'),
-            Choice(TYPE_IEC_C13, 'C13'),
-            Choice(TYPE_IEC_C15, 'C15'),
-            Choice(TYPE_IEC_C17, 'C17'),
-            Choice(TYPE_IEC_C19, 'C19'),
-            Choice(TYPE_IEC_C21, 'C21'),
+            Choice(TYPE_IEC_C5, 'C5', image='connectors/power-outlet/iec-60320-c5.svg'),
+            Choice(TYPE_IEC_C7, 'C7', image='connectors/power-outlet/iec-60320-c7.svg'),
+            Choice(TYPE_IEC_C13, 'C13', image='connectors/power-outlet/iec-60320-c13.svg'),
+            Choice(TYPE_IEC_C15, 'C15', image='connectors/power-outlet/iec-60320-c15.svg'),
+            Choice(TYPE_IEC_C17, 'C17', image='connectors/power-outlet/iec-60320-c17.svg'),
+            Choice(TYPE_IEC_C19, 'C19', image='connectors/power-outlet/iec-60320-c19.svg'),
+            Choice(TYPE_IEC_C21, 'C21', image='connectors/power-outlet/iec-60320-c21.svg'),
         )),
         )),
         ('IEC 60309', (
         ('IEC 60309', (
-            Choice(TYPE_IEC_PNE4H, 'P+N+E 4H'),
-            Choice(TYPE_IEC_PNE6H, 'P+N+E 6H'),
-            Choice(TYPE_IEC_PNE9H, 'P+N+E 9H'),
-            Choice(TYPE_IEC_2PE4H, '2P+E 4H'),
-            Choice(TYPE_IEC_2PE6H, '2P+E 6H'),
-            Choice(TYPE_IEC_2PE9H, '2P+E 9H'),
-            Choice(TYPE_IEC_3PE4H, '3P+E 4H'),
-            Choice(TYPE_IEC_3PE6H, '3P+E 6H'),
-            Choice(TYPE_IEC_3PE9H, '3P+E 9H'),
-            Choice(TYPE_IEC_3PNE4H, '3P+N+E 4H'),
-            Choice(TYPE_IEC_3PNE6H, '3P+N+E 6H'),
-            Choice(TYPE_IEC_3PNE9H, '3P+N+E 9H'),
+            Choice(TYPE_IEC_PNE4H, 'P+N+E 4H', image='connectors/power-outlet/iec-60309-p-n-e-4h.svg'),
+            Choice(TYPE_IEC_PNE6H, 'P+N+E 6H', image='connectors/power-outlet/iec-60309-p-n-e-6h.svg'),
+            Choice(TYPE_IEC_PNE9H, 'P+N+E 9H', image='connectors/power-outlet/iec-60309-p-n-e-9h.svg'),
+            Choice(TYPE_IEC_2PE4H, '2P+E 4H', image='connectors/power-outlet/iec-60309-2p-e-4h.svg'),
+            Choice(TYPE_IEC_2PE6H, '2P+E 6H', image='connectors/power-outlet/iec-60309-2p-e-6h.svg'),
+            Choice(TYPE_IEC_2PE9H, '2P+E 9H', image='connectors/power-outlet/iec-60309-2p-e-9h.svg'),
+            Choice(TYPE_IEC_3PE4H, '3P+E 4H', image='connectors/power-outlet/iec-60309-3p-e-4h.svg'),
+            Choice(TYPE_IEC_3PE6H, '3P+E 6H', image='connectors/power-outlet/iec-60309-3p-e-6h.svg'),
+            Choice(TYPE_IEC_3PE9H, '3P+E 9H', image='connectors/power-outlet/iec-60309-3p-e-9h.svg'),
+            Choice(TYPE_IEC_3PNE4H, '3P+N+E 4H', image='connectors/power-outlet/iec-60309-3p-n-e-4h.svg'),
+            Choice(TYPE_IEC_3PNE6H, '3P+N+E 6H', image='connectors/power-outlet/iec-60309-3p-n-e-6h.svg'),
+            Choice(TYPE_IEC_3PNE9H, '3P+N+E 9H', image='connectors/power-outlet/iec-60309-3p-n-e-9h.svg'),
         )),
         )),
         ('IEC 60906-1', (
         ('IEC 60906-1', (
-            Choice(TYPE_IEC_60906_1, 'IEC 60906-1'),
-            Choice(TYPE_NBR_14136_10A, '2P+T 10A (NBR 14136)'),
-            Choice(TYPE_NBR_14136_20A, '2P+T 20A (NBR 14136)'),
+            Choice(TYPE_IEC_60906_1, 'IEC 60906-1', image='connectors/power-outlet/iec-60906-1.svg'),
+            Choice(TYPE_NBR_14136_10A, '2P+T 10A (NBR 14136)', image='connectors/power-outlet/nbr-14136-10a.svg'),
+            Choice(TYPE_NBR_14136_20A, '2P+T 20A (NBR 14136)', image='connectors/power-outlet/nbr-14136-20a.svg'),
         )),
         )),
         (_('NEMA (Non-locking)'), (
         (_('NEMA (Non-locking)'), (
-            Choice(TYPE_NEMA_115R, 'NEMA 1-15R'),
-            Choice(TYPE_NEMA_515R, 'NEMA 5-15R'),
-            Choice(TYPE_NEMA_520R, 'NEMA 5-20R'),
-            Choice(TYPE_NEMA_530R, 'NEMA 5-30R'),
-            Choice(TYPE_NEMA_550R, 'NEMA 5-50R'),
-            Choice(TYPE_NEMA_615R, 'NEMA 6-15R'),
-            Choice(TYPE_NEMA_620R, 'NEMA 6-20R'),
-            Choice(TYPE_NEMA_630R, 'NEMA 6-30R'),
-            Choice(TYPE_NEMA_650R, 'NEMA 6-50R'),
-            Choice(TYPE_NEMA_1030R, 'NEMA 10-30R'),
-            Choice(TYPE_NEMA_1050R, 'NEMA 10-50R'),
-            Choice(TYPE_NEMA_1420R, 'NEMA 14-20R'),
-            Choice(TYPE_NEMA_1430R, 'NEMA 14-30R'),
-            Choice(TYPE_NEMA_1450R, 'NEMA 14-50R'),
-            Choice(TYPE_NEMA_1460R, 'NEMA 14-60R'),
-            Choice(TYPE_NEMA_1515R, 'NEMA 15-15R'),
-            Choice(TYPE_NEMA_1520R, 'NEMA 15-20R'),
-            Choice(TYPE_NEMA_1530R, 'NEMA 15-30R'),
-            Choice(TYPE_NEMA_1550R, 'NEMA 15-50R'),
-            Choice(TYPE_NEMA_1560R, 'NEMA 15-60R'),
+            Choice(TYPE_NEMA_115R, 'NEMA 1-15R', image='connectors/power-outlet/nema-1-15r.svg'),
+            Choice(TYPE_NEMA_515R, 'NEMA 5-15R', image='connectors/power-outlet/nema-5-15r.svg'),
+            Choice(TYPE_NEMA_520R, 'NEMA 5-20R', image='connectors/power-outlet/nema-5-20r.svg'),
+            Choice(TYPE_NEMA_530R, 'NEMA 5-30R', image='connectors/power-outlet/nema-5-30r.svg'),
+            Choice(TYPE_NEMA_550R, 'NEMA 5-50R', image='connectors/power-outlet/nema-5-50r.svg'),
+            Choice(TYPE_NEMA_615R, 'NEMA 6-15R', image='connectors/power-outlet/nema-6-15r.svg'),
+            Choice(TYPE_NEMA_620R, 'NEMA 6-20R', image='connectors/power-outlet/nema-6-20r.svg'),
+            Choice(TYPE_NEMA_630R, 'NEMA 6-30R', image='connectors/power-outlet/nema-6-30r.svg'),
+            Choice(TYPE_NEMA_650R, 'NEMA 6-50R', image='connectors/power-outlet/nema-6-50r.svg'),
+            Choice(TYPE_NEMA_1030R, 'NEMA 10-30R', image='connectors/power-outlet/nema-10-30r.svg'),
+            Choice(TYPE_NEMA_1050R, 'NEMA 10-50R', image='connectors/power-outlet/nema-10-50r.svg'),
+            Choice(TYPE_NEMA_1420R, 'NEMA 14-20R', image='connectors/power-outlet/nema-14-20r.svg'),
+            Choice(TYPE_NEMA_1430R, 'NEMA 14-30R', image='connectors/power-outlet/nema-14-30r.svg'),
+            Choice(TYPE_NEMA_1450R, 'NEMA 14-50R', image='connectors/power-outlet/nema-14-50r.svg'),
+            Choice(TYPE_NEMA_1460R, 'NEMA 14-60R', image='connectors/power-outlet/nema-14-60r.svg'),
+            Choice(TYPE_NEMA_1515R, 'NEMA 15-15R', image='connectors/power-outlet/nema-15-15r.svg'),
+            Choice(TYPE_NEMA_1520R, 'NEMA 15-20R', image='connectors/power-outlet/nema-15-20r.svg'),
+            Choice(TYPE_NEMA_1530R, 'NEMA 15-30R', image='connectors/power-outlet/nema-15-30r.svg'),
+            Choice(TYPE_NEMA_1550R, 'NEMA 15-50R', image='connectors/power-outlet/nema-15-50r.svg'),
+            Choice(TYPE_NEMA_1560R, 'NEMA 15-60R', image='connectors/power-outlet/nema-15-60r.svg'),
         )),
         )),
         (_('NEMA (Locking)'), (
         (_('NEMA (Locking)'), (
-            Choice(TYPE_NEMA_L115R, 'NEMA L1-15R'),
-            Choice(TYPE_NEMA_L515R, 'NEMA L5-15R'),
-            Choice(TYPE_NEMA_L520R, 'NEMA L5-20R'),
-            Choice(TYPE_NEMA_L530R, 'NEMA L5-30R'),
+            Choice(TYPE_NEMA_L115R, 'NEMA L1-15R', image='connectors/power-outlet/nema-l1-15r.svg'),
+            Choice(TYPE_NEMA_L515R, 'NEMA L5-15R', image='connectors/power-outlet/nema-l5-15r.svg'),
+            Choice(TYPE_NEMA_L520R, 'NEMA L5-20R', image='connectors/power-outlet/nema-l5-20r.svg'),
+            Choice(TYPE_NEMA_L530R, 'NEMA L5-30R', image='connectors/power-outlet/nema-l5-30r.svg'),
             Choice(TYPE_NEMA_L550R, 'NEMA L5-50R'),
             Choice(TYPE_NEMA_L550R, 'NEMA L5-50R'),
-            Choice(TYPE_NEMA_L615R, 'NEMA L6-15R'),
-            Choice(TYPE_NEMA_L620R, 'NEMA L6-20R'),
-            Choice(TYPE_NEMA_L630R, 'NEMA L6-30R'),
+            Choice(TYPE_NEMA_L615R, 'NEMA L6-15R', image='connectors/power-outlet/nema-l6-15r.svg'),
+            Choice(TYPE_NEMA_L620R, 'NEMA L6-20R', image='connectors/power-outlet/nema-l6-20r.svg'),
+            Choice(TYPE_NEMA_L630R, 'NEMA L6-30R', image='connectors/power-outlet/nema-l6-30r.svg'),
             Choice(TYPE_NEMA_L650R, 'NEMA L6-50R'),
             Choice(TYPE_NEMA_L650R, 'NEMA L6-50R'),
-            Choice(TYPE_NEMA_L1030R, 'NEMA L10-30R'),
-            Choice(TYPE_NEMA_L1420R, 'NEMA L14-20R'),
-            Choice(TYPE_NEMA_L1430R, 'NEMA L14-30R'),
+            Choice(TYPE_NEMA_L1030R, 'NEMA L10-30R', image='connectors/power-outlet/nema-l10-30r.svg'),
+            Choice(TYPE_NEMA_L1420R, 'NEMA L14-20R', image='connectors/power-outlet/nema-l14-20r.svg'),
+            Choice(TYPE_NEMA_L1430R, 'NEMA L14-30R', image='connectors/power-outlet/nema-l14-30r.svg'),
             Choice(TYPE_NEMA_L1450R, 'NEMA L14-50R'),
             Choice(TYPE_NEMA_L1450R, 'NEMA L14-50R'),
             Choice(TYPE_NEMA_L1460R, 'NEMA L14-60R'),
             Choice(TYPE_NEMA_L1460R, 'NEMA L14-60R'),
-            Choice(TYPE_NEMA_L1520R, 'NEMA L15-20R'),
-            Choice(TYPE_NEMA_L1530R, 'NEMA L15-30R'),
+            Choice(TYPE_NEMA_L1520R, 'NEMA L15-20R', image='connectors/power-outlet/nema-l15-20r.svg'),
+            Choice(TYPE_NEMA_L1530R, 'NEMA L15-30R', image='connectors/power-outlet/nema-l15-30r.svg'),
             Choice(TYPE_NEMA_L1550R, 'NEMA L15-50R'),
             Choice(TYPE_NEMA_L1550R, 'NEMA L15-50R'),
             Choice(TYPE_NEMA_L1560R, 'NEMA L15-60R'),
             Choice(TYPE_NEMA_L1560R, 'NEMA L15-60R'),
-            Choice(TYPE_NEMA_L2120R, 'NEMA L21-20R'),
-            Choice(TYPE_NEMA_L2130R, 'NEMA L21-30R'),
-            Choice(TYPE_NEMA_L2220R, 'NEMA L22-20R'),
-            Choice(TYPE_NEMA_L2230R, 'NEMA L22-30R'),
+            Choice(TYPE_NEMA_L2120R, 'NEMA L21-20R', image='connectors/power-outlet/nema-l21-20r.svg'),
+            Choice(TYPE_NEMA_L2130R, 'NEMA L21-30R', image='connectors/power-outlet/nema-l21-30r.svg'),
+            Choice(TYPE_NEMA_L2220R, 'NEMA L22-20R', image='connectors/power-outlet/nema-l22-20r.svg'),
+            Choice(TYPE_NEMA_L2230R, 'NEMA L22-30R', image='connectors/power-outlet/nema-l22-30r.svg'),
         )),
         )),
         (_('California Style'), (
         (_('California Style'), (
-            Choice(TYPE_CS6360C, 'CS6360C'),
-            Choice(TYPE_CS6364C, 'CS6364C'),
-            Choice(TYPE_CS8164C, 'CS8164C'),
-            Choice(TYPE_CS8264C, 'CS8264C'),
-            Choice(TYPE_CS8364C, 'CS8364C'),
-            Choice(TYPE_CS8464C, 'CS8464C'),
+            Choice(TYPE_CS6360C, 'CS6360C', image='connectors/power-outlet/CS6360C.svg'),
+            Choice(TYPE_CS6364C, 'CS6364C', image='connectors/power-outlet/CS6364C.svg'),
+            Choice(TYPE_CS8164C, 'CS8164C', image='connectors/power-outlet/CS8164C.svg'),
+            Choice(TYPE_CS8264C, 'CS8264C', image='connectors/power-outlet/CS8264C.svg'),
+            Choice(TYPE_CS8364C, 'CS8364C', image='connectors/power-outlet/CS8364C.svg'),
+            Choice(TYPE_CS8464C, 'CS8464C', image='connectors/power-outlet/CS8464C.svg'),
         )),
         )),
         (_('ITA/International'), (
         (_('ITA/International'), (
-            Choice(TYPE_ITA_E, 'ITA Type E (CEE 7/5)'),
-            Choice(TYPE_ITA_F, 'ITA Type F (CEE 7/3)'),
-            Choice(TYPE_ITA_G, 'ITA Type G (BS 1363)'),
-            Choice(TYPE_ITA_H, 'ITA Type H'),
-            Choice(TYPE_ITA_I, 'ITA Type I'),
-            Choice(TYPE_ITA_J, 'ITA Type J'),
-            Choice(TYPE_ITA_K, 'ITA Type K'),
-            Choice(TYPE_ITA_L, 'ITA Type L (CEI 23-50)'),
-            Choice(TYPE_ITA_M, 'ITA Type M (BS 546)'),
-            Choice(TYPE_ITA_N, 'ITA Type N'),
-            Choice(TYPE_ITA_O, 'ITA Type O'),
+            Choice(TYPE_ITA_E, 'ITA Type E (CEE 7/5)', image='connectors/power-outlet/ita-e.svg'),
+            Choice(TYPE_ITA_F, 'ITA Type F (CEE 7/3)', image='connectors/power-outlet/ita-f.svg'),
+            Choice(TYPE_ITA_G, 'ITA Type G (BS 1363)', image='connectors/power-outlet/ita-g.svg'),
+            Choice(TYPE_ITA_H, 'ITA Type H', image='connectors/power-outlet/ita-h.svg'),
+            Choice(TYPE_ITA_I, 'ITA Type I', image='connectors/power-outlet/ita-i.svg'),
+            Choice(TYPE_ITA_J, 'ITA Type J', image='connectors/power-outlet/ita-j.svg'),
+            Choice(TYPE_ITA_K, 'ITA Type K', image='connectors/power-outlet/ita-k.svg'),
+            Choice(TYPE_ITA_L, 'ITA Type L (CEI 23-50)', image='connectors/power-outlet/ita-l.svg'),
+            Choice(TYPE_ITA_M, 'ITA Type M (BS 546)', image='connectors/power-outlet/ita-m.svg'),
+            Choice(TYPE_ITA_N, 'ITA Type N', image='connectors/power-outlet/ita-n.svg'),
+            Choice(TYPE_ITA_O, 'ITA Type O', image='connectors/power-outlet/ita-o.svg'),
             Choice(TYPE_ITA_MULTISTANDARD, 'ITA Multistandard'),
             Choice(TYPE_ITA_MULTISTANDARD, 'ITA Multistandard'),
         )),
         )),
         ('USB', (
         ('USB', (
-            Choice(TYPE_USB_A, 'USB Type A'),
-            Choice(TYPE_USB_MICROB, 'USB Micro B'),
-            Choice(TYPE_USB_C, 'USB Type C'),
+            Choice(TYPE_USB_A, 'USB Type A', image='connectors/power-outlet/usb-a.svg'),
+            Choice(TYPE_USB_MICROB, 'USB Micro B', image='connectors/power-outlet/usb-micro-b.svg'),
+            Choice(TYPE_USB_C, 'USB Type C', image='connectors/power-outlet/usb-c.svg'),
         )),
         )),
         ('Molex', (
         ('Molex', (
-            Choice(TYPE_MOLEX_MICRO_FIT_1X2, 'Molex Micro-Fit 1x2'),
-            Choice(TYPE_MOLEX_MICRO_FIT_2X2, 'Molex Micro-Fit 2x2'),
-            Choice(TYPE_MOLEX_MICRO_FIT_2X3, 'Molex Micro-Fit 2x3'),
-            Choice(TYPE_MOLEX_MICRO_FIT_2X4, 'Molex Micro-Fit 2x4'),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_1X2, 'Molex Micro-Fit 1x2', image='connectors/power-outlet/molex-micro-fit-1x2.svg'
+            ),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_2X2, 'Molex Micro-Fit 2x2', image='connectors/power-outlet/molex-micro-fit-2x2.svg'
+            ),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_2X3, 'Molex Micro-Fit 2x3', image='connectors/power-outlet/molex-micro-fit-2x3.svg'
+            ),
+            Choice(
+                TYPE_MOLEX_MICRO_FIT_2X4, 'Molex Micro-Fit 2x4', image='connectors/power-outlet/molex-micro-fit-2x4.svg'
+            ),
         )),
         )),
         ('DC', (
         ('DC', (
             Choice(TYPE_DC, 'DC Terminal'),
             Choice(TYPE_DC, 'DC Terminal'),
         )),
         )),
         (_('Proprietary'), (
         (_('Proprietary'), (
-            Choice(TYPE_EATON_C39, 'Eaton C39'),
-            Choice(TYPE_HDOT_CX, 'HDOT Cx'),
-            Choice(TYPE_SAF_D_GRID, 'Saf-D-Grid'),
-            Choice(TYPE_NEUTRIK_POWERCON_20A, 'Neutrik powerCON (20A)'),
-            Choice(TYPE_NEUTRIK_POWERCON_32A, 'Neutrik powerCON (32A)'),
-            Choice(TYPE_NEUTRIK_POWERCON_TRUE1, 'Neutrik powerCON TRUE1'),
-            Choice(TYPE_NEUTRIK_POWERCON_TRUE1_TOP, 'Neutrik powerCON TRUE1 TOP'),
+            Choice(TYPE_EATON_C39, 'Eaton C39', image='connectors/power-outlet/eaton-c39.svg'),
+            Choice(TYPE_HDOT_CX, 'HDOT Cx', image='connectors/power-outlet/hdot-cx.svg'),
+            Choice(TYPE_SAF_D_GRID, 'Saf-D-Grid', image='connectors/power-outlet/saf-d-grid.svg'),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_20A, 'Neutrik powerCON (20A)',
+                image='connectors/power-outlet/neutrik-powercon-20a.svg',
+            ),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_32A, 'Neutrik powerCON (32A)',
+                image='connectors/power-outlet/neutrik-powercon-32a.svg',
+            ),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_TRUE1, 'Neutrik powerCON TRUE1',
+                image='connectors/power-outlet/neutrik-powercon-true1.svg',
+            ),
+            Choice(
+                TYPE_NEUTRIK_POWERCON_TRUE1_TOP, 'Neutrik powerCON TRUE1 TOP',
+                image='connectors/power-outlet/neutrik-powercon-true1-top.svg',
+            ),
             Choice(TYPE_UBIQUITI_SMARTPOWER, 'Ubiquiti SmartPower'),
             Choice(TYPE_UBIQUITI_SMARTPOWER, 'Ubiquiti SmartPower'),
         )),
         )),
         (_('Other'), (
         (_('Other'), (
@@ -1740,78 +1780,78 @@ class PortTypeChoices(ChoiceSet):
         (
         (
             _('Copper'),
             _('Copper'),
             (
             (
-                Choice(TYPE_8P8C, '8P8C'),
-                Choice(TYPE_8P6C, '8P6C'),
-                Choice(TYPE_8P4C, '8P4C'),
-                Choice(TYPE_8P2C, '8P2C'),
-                Choice(TYPE_6P6C, '6P6C'),
-                Choice(TYPE_6P4C, '6P4C'),
-                Choice(TYPE_6P2C, '6P2C'),
-                Choice(TYPE_4P4C, '4P4C'),
-                Choice(TYPE_4P2C, '4P2C'),
-                Choice(TYPE_GG45, 'GG45'),
-                Choice(TYPE_TERA4P, 'TERA 4P'),
-                Choice(TYPE_TERA2P, 'TERA 2P'),
-                Choice(TYPE_TERA1P, 'TERA 1P'),
-                Choice(TYPE_110_PUNCH, '110 Punch'),
-                Choice(TYPE_BNC, 'BNC'),
-                Choice(TYPE_F, 'F Connector'),
-                Choice(TYPE_N, 'N Connector'),
-                Choice(TYPE_MRJ21, 'MRJ21'),
+                Choice(TYPE_8P8C, '8P8C', image='connectors/port/8p8c.svg'),
+                Choice(TYPE_8P6C, '8P6C', image='connectors/port/8p6c.svg'),
+                Choice(TYPE_8P4C, '8P4C', image='connectors/port/8p4c.svg'),
+                Choice(TYPE_8P2C, '8P2C', image='connectors/port/8p2c.svg'),
+                Choice(TYPE_6P6C, '6P6C', image='connectors/port/6p6c.svg'),
+                Choice(TYPE_6P4C, '6P4C', image='connectors/port/6p4c.svg'),
+                Choice(TYPE_6P2C, '6P2C', image='connectors/port/6p2c.svg'),
+                Choice(TYPE_4P4C, '4P4C', image='connectors/port/4p4c.svg'),
+                Choice(TYPE_4P2C, '4P2C', image='connectors/port/4p2c.svg'),
+                Choice(TYPE_GG45, 'GG45', image='connectors/port/gg45.svg'),
+                Choice(TYPE_TERA4P, 'TERA 4P', image='connectors/port/tera-4p.svg'),
+                Choice(TYPE_TERA2P, 'TERA 2P', image='connectors/port/tera-2p.svg'),
+                Choice(TYPE_TERA1P, 'TERA 1P', image='connectors/port/tera-1p.svg'),
+                Choice(TYPE_110_PUNCH, '110 Punch', image='connectors/port/110-punch.svg'),
+                Choice(TYPE_BNC, 'BNC', image='connectors/port/bnc.svg'),
+                Choice(TYPE_F, 'F Connector', image='connectors/port/f.svg'),
+                Choice(TYPE_N, 'N Connector', image='connectors/port/n.svg'),
+                Choice(TYPE_MRJ21, 'MRJ21', image='connectors/port/mrj21.svg'),
             ),
             ),
         ),
         ),
         (
         (
             _('Fiber Optic'),
             _('Fiber Optic'),
             (
             (
-                Choice(TYPE_FC, 'FC'),
-                Choice(TYPE_FC_PC, 'FC/PC'),
-                Choice(TYPE_FC_UPC, 'FC/UPC'),
-                Choice(TYPE_FC_APC, 'FC/APC'),
-                Choice(TYPE_LC, 'LC'),
-                Choice(TYPE_LC_PC, 'LC/PC'),
-                Choice(TYPE_LC_UPC, 'LC/UPC'),
-                Choice(TYPE_LC_APC, 'LC/APC'),
-                Choice(TYPE_MU, 'MU'),
-                Choice(TYPE_MU_PC, 'MU/PC'),
-                Choice(TYPE_MU_UPC, 'MU/UPC'),
-                Choice(TYPE_MU_APC, 'MU/APC'),
-                Choice(TYPE_LSH, 'LSH'),
-                Choice(TYPE_LSH_PC, 'LSH/PC'),
-                Choice(TYPE_LSH_UPC, 'LSH/UPC'),
-                Choice(TYPE_LSH_APC, 'LSH/APC'),
-                Choice(TYPE_LX5, 'LX.5'),
-                Choice(TYPE_LX5_PC, 'LX.5/PC'),
-                Choice(TYPE_LX5_UPC, 'LX.5/UPC'),
-                Choice(TYPE_LX5_APC, 'LX.5/APC'),
-                Choice(TYPE_MPO, 'MPO'),
-                Choice(TYPE_MTRJ, 'MTRJ'),
-                Choice(TYPE_SC, 'SC'),
-                Choice(TYPE_SC_PC, 'SC/PC'),
-                Choice(TYPE_SC_UPC, 'SC/UPC'),
-                Choice(TYPE_SC_APC, 'SC/APC'),
-                Choice(TYPE_ST, 'ST'),
-                Choice(TYPE_CS, 'CS'),
-                Choice(TYPE_SN, 'SN'),
-                Choice(TYPE_MDC, 'MDC'),
-                Choice(TYPE_SMA_905, 'SMA 905'),
-                Choice(TYPE_SMA_906, 'SMA 906'),
-                Choice(TYPE_URM_P2, 'URM-P2'),
-                Choice(TYPE_URM_P4, 'URM-P4'),
-                Choice(TYPE_URM_P8, 'URM-P8'),
+                Choice(TYPE_FC, 'FC', image='connectors/port/fc.svg'),
+                Choice(TYPE_FC_PC, 'FC/PC', image='connectors/port/fc-pc.svg'),
+                Choice(TYPE_FC_UPC, 'FC/UPC', image='connectors/port/fc-upc.svg'),
+                Choice(TYPE_FC_APC, 'FC/APC', image='connectors/port/fc-apc.svg'),
+                Choice(TYPE_LC, 'LC', image='connectors/port/lc.svg'),
+                Choice(TYPE_LC_PC, 'LC/PC', image='connectors/port/lc-pc.svg'),
+                Choice(TYPE_LC_UPC, 'LC/UPC', image='connectors/port/lc-upc.svg'),
+                Choice(TYPE_LC_APC, 'LC/APC', image='connectors/port/lc-apc.svg'),
+                Choice(TYPE_MU, 'MU', image='connectors/port/mu.svg'),
+                Choice(TYPE_MU_PC, 'MU/PC', image='connectors/port/mu-pc.svg'),
+                Choice(TYPE_MU_UPC, 'MU/UPC', image='connectors/port/mu-upc.svg'),
+                Choice(TYPE_MU_APC, 'MU/APC', image='connectors/port/mu-apc.svg'),
+                Choice(TYPE_LSH, 'LSH', image='connectors/port/lsh.svg'),
+                Choice(TYPE_LSH_PC, 'LSH/PC', image='connectors/port/lsh-pc.svg'),
+                Choice(TYPE_LSH_UPC, 'LSH/UPC', image='connectors/port/lsh-upc.svg'),
+                Choice(TYPE_LSH_APC, 'LSH/APC', image='connectors/port/lsh-apc.svg'),
+                Choice(TYPE_LX5, 'LX.5', image='connectors/port/lx5.svg'),
+                Choice(TYPE_LX5_PC, 'LX.5/PC', image='connectors/port/lx5-pc.svg'),
+                Choice(TYPE_LX5_UPC, 'LX.5/UPC', image='connectors/port/lx5-upc.svg'),
+                Choice(TYPE_LX5_APC, 'LX.5/APC', image='connectors/port/lx5-apc.svg'),
+                Choice(TYPE_MPO, 'MPO', image='connectors/port/mpo.svg'),
+                Choice(TYPE_MTRJ, 'MTRJ', image='connectors/port/mtrj.svg'),
+                Choice(TYPE_SC, 'SC', image='connectors/port/sc.svg'),
+                Choice(TYPE_SC_PC, 'SC/PC', image='connectors/port/sc-pc.svg'),
+                Choice(TYPE_SC_UPC, 'SC/UPC', image='connectors/port/sc-upc.svg'),
+                Choice(TYPE_SC_APC, 'SC/APC', image='connectors/port/sc-apc.svg'),
+                Choice(TYPE_ST, 'ST', image='connectors/port/st.svg'),
+                Choice(TYPE_CS, 'CS', image='connectors/port/cs.svg'),
+                Choice(TYPE_SN, 'SN', image='connectors/port/sn.svg'),
+                Choice(TYPE_MDC, 'MDC', image='connectors/port/mdc.svg'),
+                Choice(TYPE_SMA_905, 'SMA 905', image='connectors/port/sma-905.svg'),
+                Choice(TYPE_SMA_906, 'SMA 906', image='connectors/port/sma-906.svg'),
+                Choice(TYPE_URM_P2, 'URM-P2', image='connectors/port/urm-p2.svg'),
+                Choice(TYPE_URM_P4, 'URM-P4', image='connectors/port/urm-p4.svg'),
+                Choice(TYPE_URM_P8, 'URM-P8', image='connectors/port/urm-p8.svg'),
                 Choice(TYPE_SPLICE, 'Splice'),
                 Choice(TYPE_SPLICE, 'Splice'),
             ),
             ),
         ),
         ),
         (
         (
             _('USB'),
             _('USB'),
             (
             (
-                Choice(TYPE_USB_A, 'USB Type A'),
-                Choice(TYPE_USB_B, 'USB Type B'),
-                Choice(TYPE_USB_C, 'USB Type C'),
-                Choice(TYPE_USB_MINI_A, 'USB Mini A'),
-                Choice(TYPE_USB_MINI_B, 'USB Mini B'),
-                Choice(TYPE_USB_MICRO_A, 'USB Micro A'),
-                Choice(TYPE_USB_MICRO_B, 'USB Micro B'),
-                Choice(TYPE_USB_MICRO_AB, 'USB Micro AB'),
+                Choice(TYPE_USB_A, 'USB Type A', image='connectors/port/usb-a.svg'),
+                Choice(TYPE_USB_B, 'USB Type B', image='connectors/port/usb-b.svg'),
+                Choice(TYPE_USB_C, 'USB Type C', image='connectors/port/usb-c.svg'),
+                Choice(TYPE_USB_MINI_A, 'USB Mini A', image='connectors/port/usb-mini-a.svg'),
+                Choice(TYPE_USB_MINI_B, 'USB Mini B', image='connectors/port/usb-mini-b.svg'),
+                Choice(TYPE_USB_MICRO_A, 'USB Micro A', image='connectors/port/usb-micro-a.svg'),
+                Choice(TYPE_USB_MICRO_B, 'USB Micro B', image='connectors/port/usb-micro-b.svg'),
+                Choice(TYPE_USB_MICRO_AB, 'USB Micro AB', image='connectors/port/usb-micro-ab.svg'),
             ),
             ),
         ),
         ),
         (
         (

+ 37 - 7
netbox/dcim/forms/bulk_create.py

@@ -1,11 +1,12 @@
 from django import forms
 from django import forms
 from django.utils.translation import gettext_lazy as _
 from django.utils.translation import gettext_lazy as _
 
 
+from dcim.choices import ConsolePortTypeChoices, PortTypeChoices, PowerOutletTypeChoices, PowerPortTypeChoices
 from dcim.models import *
 from dcim.models import *
 from extras.models import Tag
 from extras.models import Tag
 from netbox.forms.mixins import ChangelogMessageMixin, CustomFieldsMixin
 from netbox.forms.mixins import ChangelogMessageMixin, CustomFieldsMixin
-from utilities.forms import form_from_model
-from utilities.forms.fields import DynamicModelMultipleChoiceField, ExpandableNameField
+from utilities.forms import add_blank_choice, form_from_model
+from utilities.forms.fields import DynamicModelMultipleChoiceField, ExpandableNameField, TypedChoiceField
 from utilities.forms.mixins import BackgroundJobMixin
 from utilities.forms.mixins import BackgroundJobMixin
 
 
 from .object_create import ComponentCreateForm
 from .object_create import ComponentCreateForm
@@ -49,34 +50,58 @@ class DeviceBulkAddComponentForm(BackgroundJobMixin, ChangelogMessageMixin, Cust
 
 
 
 
 class ConsolePortBulkCreateForm(
 class ConsolePortBulkCreateForm(
-    form_from_model(ConsolePort, ['type', 'speed', 'mark_connected']),
+    form_from_model(ConsolePort, ['speed', 'mark_connected']),
     DeviceBulkAddComponentForm
     DeviceBulkAddComponentForm
 ):
 ):
     model = ConsolePort
     model = ConsolePort
+    type = TypedChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(ConsolePortTypeChoices),
+        required=False,
+        help_text=_('Physical port type'),
+    )
     field_order = ('name', 'label', 'type', 'mark_connected', 'description', 'tags')
     field_order = ('name', 'label', 'type', 'mark_connected', 'description', 'tags')
 
 
 
 
 class ConsoleServerPortBulkCreateForm(
 class ConsoleServerPortBulkCreateForm(
-    form_from_model(ConsoleServerPort, ['type', 'speed', 'mark_connected']),
+    form_from_model(ConsoleServerPort, ['speed', 'mark_connected']),
     DeviceBulkAddComponentForm
     DeviceBulkAddComponentForm
 ):
 ):
     model = ConsoleServerPort
     model = ConsoleServerPort
+    type = TypedChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(ConsolePortTypeChoices),
+        required=False,
+        help_text=_('Physical port type'),
+    )
     field_order = ('name', 'label', 'type', 'speed', 'description', 'tags')
     field_order = ('name', 'label', 'type', 'speed', 'description', 'tags')
 
 
 
 
 class PowerPortBulkCreateForm(
 class PowerPortBulkCreateForm(
-    form_from_model(PowerPort, ['type', 'maximum_draw', 'allocated_draw', 'mark_connected']),
+    form_from_model(PowerPort, ['maximum_draw', 'allocated_draw', 'mark_connected']),
     DeviceBulkAddComponentForm
     DeviceBulkAddComponentForm
 ):
 ):
     model = PowerPort
     model = PowerPort
+    type = TypedChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PowerPortTypeChoices),
+        required=False,
+        help_text=_('Physical port type'),
+    )
     field_order = ('name', 'label', 'type', 'maximum_draw', 'allocated_draw', 'description', 'tags')
     field_order = ('name', 'label', 'type', 'maximum_draw', 'allocated_draw', 'description', 'tags')
 
 
 
 
 class PowerOutletBulkCreateForm(
 class PowerOutletBulkCreateForm(
-    form_from_model(PowerOutlet, ['type', 'status', 'color', 'feed_leg', 'mark_connected']),
+    form_from_model(PowerOutlet, ['status', 'color', 'feed_leg', 'mark_connected']),
     DeviceBulkAddComponentForm
     DeviceBulkAddComponentForm
 ):
 ):
     model = PowerOutlet
     model = PowerOutlet
+    type = TypedChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PowerOutletTypeChoices),
+        required=False,
+        help_text=_('Physical port type'),
+    )
     field_order = (
     field_order = (
         'name', 'label', 'type', 'status', 'color', 'feed_leg', 'mark_connected',
         'name', 'label', 'type', 'status', 'color', 'feed_leg', 'mark_connected',
         'description', 'tags',
         'description', 'tags',
@@ -131,10 +156,15 @@ class InterfaceBulkCreateForm(
 
 
 
 
 class RearPortBulkCreateForm(
 class RearPortBulkCreateForm(
-    form_from_model(RearPort, ['type', 'color', 'positions', 'mark_connected']),
+    form_from_model(RearPort, ['color', 'positions', 'mark_connected']),
     DeviceBulkAddComponentForm
     DeviceBulkAddComponentForm
 ):
 ):
     model = RearPort
     model = RearPort
+    type = TypedChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PortTypeChoices),
+        required=False,
+    )
     field_order = ('name', 'label', 'type', 'positions', 'mark_connected', 'description', 'tags')
     field_order = ('name', 'label', 'type', 'positions', 'mark_connected', 'description', 'tags')
 
 
 
 

+ 40 - 6
netbox/dcim/forms/bulk_edit.py

@@ -1722,8 +1722,14 @@ class ComponentBulkEditForm(OwnerMixin, NetBoxModelBulkEditForm):
 
 
 class ConsolePortBulkEditForm(
 class ConsolePortBulkEditForm(
     ComponentBulkEditForm,
     ComponentBulkEditForm,
-    form_from_model(ConsolePort, ['label', 'type', 'speed', 'mark_connected', 'description'])
+    form_from_model(ConsolePort, ['label', 'speed', 'mark_connected', 'description'])
 ):
 ):
+    type = ChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(ConsolePortTypeChoices),
+        required=False,
+        help_text=_('Physical port type')
+    )
     mark_connected = forms.NullBooleanField(
     mark_connected = forms.NullBooleanField(
         label=_('Mark connected'),
         label=_('Mark connected'),
         required=False,
         required=False,
@@ -1739,8 +1745,14 @@ class ConsolePortBulkEditForm(
 
 
 class ConsoleServerPortBulkEditForm(
 class ConsoleServerPortBulkEditForm(
     ComponentBulkEditForm,
     ComponentBulkEditForm,
-    form_from_model(ConsoleServerPort, ['label', 'type', 'speed', 'mark_connected', 'description'])
+    form_from_model(ConsoleServerPort, ['label', 'speed', 'mark_connected', 'description'])
 ):
 ):
+    type = ChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(ConsolePortTypeChoices),
+        required=False,
+        help_text=_('Physical port type')
+    )
     mark_connected = forms.NullBooleanField(
     mark_connected = forms.NullBooleanField(
         label=_('Mark connected'),
         label=_('Mark connected'),
         required=False,
         required=False,
@@ -1756,8 +1768,14 @@ class ConsoleServerPortBulkEditForm(
 
 
 class PowerPortBulkEditForm(
 class PowerPortBulkEditForm(
     ComponentBulkEditForm,
     ComponentBulkEditForm,
-    form_from_model(PowerPort, ['label', 'type', 'maximum_draw', 'allocated_draw', 'mark_connected', 'description'])
+    form_from_model(PowerPort, ['label', 'maximum_draw', 'allocated_draw', 'mark_connected', 'description'])
 ):
 ):
+    type = ChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PowerPortTypeChoices),
+        required=False,
+        help_text=_('Physical port type')
+    )
     mark_connected = forms.NullBooleanField(
     mark_connected = forms.NullBooleanField(
         label=_('Mark connected'),
         label=_('Mark connected'),
         required=False,
         required=False,
@@ -1776,9 +1794,15 @@ class PowerOutletBulkEditForm(
     ComponentBulkEditForm,
     ComponentBulkEditForm,
     form_from_model(
     form_from_model(
         PowerOutlet,
         PowerOutlet,
-        ['label', 'type', 'status', 'color', 'feed_leg', 'power_port', 'mark_connected', 'description']
+        ['label', 'status', 'color', 'feed_leg', 'power_port', 'mark_connected', 'description']
     )
     )
 ):
 ):
+    type = ChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PowerOutletTypeChoices),
+        required=False,
+        help_text=_('Physical port type')
+    )
     mark_connected = forms.NullBooleanField(
     mark_connected = forms.NullBooleanField(
         label=_('Mark connected'),
         label=_('Mark connected'),
         required=False,
         required=False,
@@ -2109,8 +2133,13 @@ class InterfaceBulkEditForm(
 
 
 class FrontPortBulkEditForm(
 class FrontPortBulkEditForm(
     ComponentBulkEditForm,
     ComponentBulkEditForm,
-    form_from_model(FrontPort, ['label', 'type', 'color', 'mark_connected', 'description'])
+    form_from_model(FrontPort, ['label', 'color', 'mark_connected', 'description'])
 ):
 ):
+    type = ChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PortTypeChoices),
+        required=False
+    )
     mark_connected = forms.NullBooleanField(
     mark_connected = forms.NullBooleanField(
         label=_('Mark connected'),
         label=_('Mark connected'),
         required=False,
         required=False,
@@ -2126,8 +2155,13 @@ class FrontPortBulkEditForm(
 
 
 class RearPortBulkEditForm(
 class RearPortBulkEditForm(
     ComponentBulkEditForm,
     ComponentBulkEditForm,
-    form_from_model(RearPort, ['label', 'type', 'color', 'mark_connected', 'description'])
+    form_from_model(RearPort, ['label', 'color', 'mark_connected', 'description'])
 ):
 ):
+    type = ChoiceField(
+        label=_('Type'),
+        choices=add_blank_choice(PortTypeChoices),
+        required=False
+    )
     mark_connected = forms.NullBooleanField(
     mark_connected = forms.NullBooleanField(
         label=_('Mark connected'),
         label=_('Mark connected'),
         required=False,
         required=False,

+ 13 - 12
netbox/dcim/forms/filtersets.py

@@ -22,6 +22,7 @@ from utilities.forms import BOOLEAN_WITH_BLANK_CHOICES, FilterForm, add_blank_ch
 from utilities.forms.fields import (
 from utilities.forms.fields import (
     ColorField,
     ColorField,
     DynamicModelMultipleChoiceField,
     DynamicModelMultipleChoiceField,
+    MultipleChoiceField,
     PositiveBigIntegerField,
     PositiveBigIntegerField,
     TagFilterField,
     TagFilterField,
 )
 )
@@ -1718,7 +1719,7 @@ class ConsolePortFilterForm(PathEndpointFilterForm, DeviceComponentFilterForm):
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=ConsolePortTypeChoices,
         choices=ConsolePortTypeChoices,
         required=False
         required=False
@@ -1738,7 +1739,7 @@ class ConsolePortTemplateFilterForm(ModularDeviceComponentTemplateFilterForm):
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=ConsolePortTypeChoices,
         choices=ConsolePortTypeChoices,
         required=False
         required=False
@@ -1758,7 +1759,7 @@ class ConsoleServerPortFilterForm(PathEndpointFilterForm, DeviceComponentFilterF
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=ConsolePortTypeChoices,
         choices=ConsolePortTypeChoices,
         required=False
         required=False
@@ -1778,7 +1779,7 @@ class ConsoleServerPortTemplateFilterForm(ModularDeviceComponentTemplateFilterFo
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=ConsolePortTypeChoices,
         choices=ConsolePortTypeChoices,
         required=False
         required=False
@@ -1798,7 +1799,7 @@ class PowerPortFilterForm(PathEndpointFilterForm, DeviceComponentFilterForm):
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PowerPortTypeChoices,
         choices=PowerPortTypeChoices,
         required=False
         required=False
@@ -1813,7 +1814,7 @@ class PowerPortTemplateFilterForm(ModularDeviceComponentTemplateFilterForm):
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PowerPortTypeChoices,
         choices=PowerPortTypeChoices,
         required=False
         required=False
@@ -1833,7 +1834,7 @@ class PowerOutletFilterForm(PathEndpointFilterForm, DeviceComponentFilterForm):
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('cabled', 'connected', 'occupied', name=_('Connection')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PowerOutletTypeChoices,
         choices=PowerOutletTypeChoices,
         required=False
         required=False
@@ -1857,7 +1858,7 @@ class PowerOutletTemplateFilterForm(ModularDeviceComponentTemplateFilterForm):
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('name', 'label', 'type', name=_('Attributes')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PowerOutletTypeChoices,
         choices=PowerOutletTypeChoices,
         required=False
         required=False
@@ -2206,7 +2207,7 @@ class FrontPortFilterForm(CabledFilterForm, DeviceComponentFilterForm):
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
     )
     )
     model = FrontPort
     model = FrontPort
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PortTypeChoices,
         choices=PortTypeChoices,
         required=False
         required=False
@@ -2225,7 +2226,7 @@ class FrontPortTemplateFilterForm(ModularDeviceComponentTemplateFilterForm):
         FieldSet('name', 'label', 'type', 'color', name=_('Attributes')),
         FieldSet('name', 'label', 'type', 'color', name=_('Attributes')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PortTypeChoices,
         choices=PortTypeChoices,
         required=False
         required=False
@@ -2249,7 +2250,7 @@ class RearPortFilterForm(CabledFilterForm, DeviceComponentFilterForm):
         FieldSet('cabled', 'occupied', name=_('Cable')),
         FieldSet('cabled', 'occupied', name=_('Cable')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
         FieldSet('owner_group_id', 'owner_id', name=_('Ownership')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PortTypeChoices,
         choices=PortTypeChoices,
         required=False
         required=False
@@ -2268,7 +2269,7 @@ class RearPortTemplateFilterForm(ModularDeviceComponentTemplateFilterForm):
         FieldSet('name', 'label', 'type', 'color', name=_('Attributes')),
         FieldSet('name', 'label', 'type', 'color', name=_('Attributes')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
         FieldSet('device_type_id', 'module_type_id', name=_('Device')),
     )
     )
-    type = forms.MultipleChoiceField(
+    type = MultipleChoiceField(
         label=_('Type'),
         label=_('Type'),
         choices=PortTypeChoices,
         choices=PortTypeChoices,
         required=False
         required=False

+ 18 - 0
netbox/dcim/models/device_components.py

@@ -469,6 +469,9 @@ class ConsolePort(ModularComponentModel, CabledObjectModel, PathEndpoint, Tracki
         verbose_name = _('console port')
         verbose_name = _('console port')
         verbose_name_plural = _('console ports')
         verbose_name_plural = _('console ports')
 
 
+    def get_type_image(self):
+        return ConsolePortTypeChoices.images.get(self.type)
+
 
 
 class ConsoleServerPort(ModularComponentModel, CabledObjectModel, PathEndpoint, TrackingModelMixin):
 class ConsoleServerPort(ModularComponentModel, CabledObjectModel, PathEndpoint, TrackingModelMixin):
     """
     """
@@ -496,6 +499,9 @@ class ConsoleServerPort(ModularComponentModel, CabledObjectModel, PathEndpoint,
         verbose_name = _('console server port')
         verbose_name = _('console server port')
         verbose_name_plural = _('console server ports')
         verbose_name_plural = _('console server ports')
 
 
+    def get_type_image(self):
+        return ConsolePortTypeChoices.images.get(self.type)
+
 
 
 #
 #
 # Power components
 # Power components
@@ -545,6 +551,9 @@ class PowerPort(ModularComponentModel, CabledObjectModel, PathEndpoint, Tracking
                     ).format(maximum_draw=self.maximum_draw)
                     ).format(maximum_draw=self.maximum_draw)
                 })
                 })
 
 
+    def get_type_image(self):
+        return PowerPortTypeChoices.images.get(self.type)
+
     def get_downstream_powerports(self, leg=None):
     def get_downstream_powerports(self, leg=None):
         """
         """
         Return a queryset of all PowerPorts connected via cable to a child PowerOutlet. For example, in the topology
         Return a queryset of all PowerPorts connected via cable to a child PowerOutlet. For example, in the topology
@@ -693,6 +702,9 @@ class PowerOutlet(ModularComponentModel, CabledObjectModel, PathEndpoint, Tracki
     def get_status_color(self):
     def get_status_color(self):
         return PowerOutletStatusChoices.colors.get(self.status)
         return PowerOutletStatusChoices.colors.get(self.status)
 
 
+    def get_type_image(self):
+        return PowerOutletTypeChoices.images.get(self.type)
+
 
 
 #
 #
 # Cooling components
 # Cooling components
@@ -1574,6 +1586,9 @@ class FrontPort(ModularComponentModel, CabledObjectModel, TrackingModelMixin):
         verbose_name = _('front port')
         verbose_name = _('front port')
         verbose_name_plural = _('front ports')
         verbose_name_plural = _('front ports')
 
 
+    def get_type_image(self):
+        return PortTypeChoices.images.get(self.type)
+
     def clean(self):
     def clean(self):
         super().clean()
         super().clean()
 
 
@@ -1616,6 +1631,9 @@ class RearPort(ModularComponentModel, CabledObjectModel, TrackingModelMixin):
         verbose_name = _('rear port')
         verbose_name = _('rear port')
         verbose_name_plural = _('rear ports')
         verbose_name_plural = _('rear ports')
 
 
+    def get_type_image(self):
+        return PortTypeChoices.images.get(self.type)
+
     def clean(self):
     def clean(self):
         super().clean()
         super().clean()
 
 

+ 17 - 0
netbox/dcim/tests/test_models.py

@@ -4280,6 +4280,23 @@ class SiteSignalTestCase(TestCase):
         site.save()
         site.save()
 
 
 
 
+class ComponentTypeImageTestCase(TestCase):
+
+    def test_get_type_image(self):
+        for model, choices, value in (
+            (ConsolePort, ConsolePortTypeChoices, ConsolePortTypeChoices.TYPE_DE9),
+            (ConsoleServerPort, ConsolePortTypeChoices, ConsolePortTypeChoices.TYPE_RJ45),
+            (FrontPort, PortTypeChoices, PortTypeChoices.TYPE_8P8C),
+            (RearPort, PortTypeChoices, PortTypeChoices.TYPE_LC),
+            (PowerPort, PowerPortTypeChoices, PowerPortTypeChoices.TYPE_IEC_C14),
+            (PowerOutlet, PowerOutletTypeChoices, PowerOutletTypeChoices.TYPE_IEC_C13),
+        ):
+            with self.subTest(model=model.__name__):
+                self.assertEqual(model(type=value).get_type_image(), choices.images[value])
+                self.assertIsNone(model(type=choices.TYPE_OTHER).get_type_image())
+                self.assertIsNone(model(type=None).get_type_image())
+
+
 class PowerPortDrawTestCase(TestCase):
 class PowerPortDrawTestCase(TestCase):
     """
     """
     Tests for PowerPort.get_power_draw() power aggregation logic.
     Tests for PowerPort.get_power_draw() power aggregation logic.

+ 21 - 0
netbox/dcim/tests/test_views.py

@@ -12,6 +12,7 @@ from django.contrib.contenttypes.models import ContentType
 from django.contrib.messages import get_messages
 from django.contrib.messages import get_messages
 from django.db import connection
 from django.db import connection
 from django.http import QueryDict, StreamingHttpResponse
 from django.http import QueryDict, StreamingHttpResponse
+from django.templatetags.static import static
 from django.test import override_settings, tag
 from django.test import override_settings, tag
 from django.test.utils import CaptureQueriesContext
 from django.test.utils import CaptureQueriesContext
 from django.urls import reverse
 from django.urls import reverse
@@ -5681,6 +5682,26 @@ class CableTestCase(
             [(1, interfaces[1]), (2, interfaces[0])]
             [(1, interfaces[1]), (2, interfaces[0])]
         )
         )
 
 
+    @override_settings(EXEMPT_VIEW_PERMISSIONS=['*'], EXEMPT_EXCLUDE_MODELS=[])
+    def test_termination_type_images(self):
+        """Each side shows its termination type, with a connector image only where one exists."""
+        power_port = PowerPort.objects.create(
+            device=Device.objects.get(name='Device 2'), name='Power Port 1', type=PowerPortTypeChoices.TYPE_IEC_C14
+        )
+        power_outlet = PowerOutlet.objects.create(
+            device=Device.objects.get(name='Device 3'), name='Power Outlet 1', type=PowerOutletTypeChoices.TYPE_DC
+        )
+        cable = Cable(a_terminations=[power_port], b_terminations=[power_outlet])
+        cable.save()
+
+        response = self.client.get(cable.get_absolute_url())
+        self.assertHttpStatus(response, 200)
+        content = response.content.decode()
+        self.assertIn(static(power_port.get_type_image()), content)
+        self.assertIn(str(power_port.get_type_display()), content)
+        self.assertIsNone(power_outlet.get_type_image())
+        self.assertIn(str(power_outlet.get_type_display()), content)
+
 
 
 #
 #
 # Connections
 # Connections

+ 17 - 3
netbox/netbox/tests/test_ui.py

@@ -91,7 +91,7 @@ class ChoiceAttrTestCase(TestCase):
         )
         )
         self.assertEqual(
         self.assertEqual(
             attr.get_context(self.termination, 'role', attr.get_value(self.termination), {}),
             attr.get_context(self.termination, 'role', attr.get_value(self.termination), {}),
-            {'bg_color': self.termination.get_role_color()},
+            {'bg_color': self.termination.get_role_color(), 'image': None},
         )
         )
 
 
     def test_choice_attr_related_accessor(self):
     def test_choice_attr_related_accessor(self):
@@ -103,7 +103,7 @@ class ChoiceAttrTestCase(TestCase):
         )
         )
         self.assertEqual(
         self.assertEqual(
             attr.get_context(self.termination, 'interface.type', attr.get_value(self.termination), {}),
             attr.get_context(self.termination, 'interface.type', attr.get_value(self.termination), {}),
-            {'bg_color': None},
+            {'bg_color': None, 'image': None},
         )
         )
 
 
     def test_choice_attr_related_accessor_with_color(self):
     def test_choice_attr_related_accessor_with_color(self):
@@ -117,9 +117,23 @@ class ChoiceAttrTestCase(TestCase):
             attr.get_context(
             attr.get_context(
                 self.termination, 'virtual_circuit.status', attr.get_value(self.termination), {}
                 self.termination, 'virtual_circuit.status', attr.get_value(self.termination), {}
             ),
             ),
-            {'bg_color': self.termination.virtual_circuit.get_status_color()},
+            {'bg_color': self.termination.virtual_circuit.get_status_color(), 'image': None},
         )
         )
 
 
+    def test_choice_attr_with_image(self):
+        attr = attrs.ChoiceAttr('type')
+        obj = SimpleNamespace(
+            type='foo',
+            get_type_display=lambda: 'Foo',
+            get_type_image=lambda: 'foo.svg',
+        )
+
+        self.assertEqual(
+            attr.get_context(obj, 'type', attr.get_value(obj), {}),
+            {'bg_color': None, 'image': 'foo.svg'},
+        )
+        self.assertIn('foo.svg', attr.render(obj, {'name': 'type'}))
+
 
 
 class RelatedObjectListAttrTestCase(TestCase):
 class RelatedObjectListAttrTestCase(TestCase):
     """
     """

+ 6 - 2
netbox/netbox/ui/attrs.py

@@ -193,7 +193,8 @@ class ChoiceAttr(ObjectAttribute):
     to retrieve the human-friendly choice label. For example, accessor="interface.type"
     to retrieve the human-friendly choice label. For example, accessor="interface.type"
     will call interface.get_type_display().
     will call interface.get_type_display().
     If a get_FOO_color() method exists on that object, it will be used to render a
     If a get_FOO_color() method exists on that object, it will be used to render a
-    background color for the attribute value.
+    background color for the attribute value. Likewise, if a get_FOO_image() method exists,
+    the static image it returns will be displayed beside the value.
     """
     """
     template_name = 'ui/attrs/choice.html'
     template_name = 'ui/attrs/choice.html'
 
 
@@ -218,13 +219,16 @@ class ChoiceAttr(ObjectAttribute):
     def get_context(self, obj, attr, value, context):
     def get_context(self, obj, attr, value, context):
         target, field_name = self._resolve_target(obj)
         target, field_name = self._resolve_target(obj)
         if target is None:
         if target is None:
-            return {'bg_color': None}
+            return {'bg_color': None, 'image': None}
 
 
         get_color = getattr(target, f'get_{field_name}_color', None)
         get_color = getattr(target, f'get_{field_name}_color', None)
         bg_color = get_color() if callable(get_color) else None
         bg_color = get_color() if callable(get_color) else None
+        get_image = getattr(target, f'get_{field_name}_image', None)
+        image = get_image() if callable(get_image) else None
 
 
         return {
         return {
             'bg_color': bg_color,
             'bg_color': bg_color,
+            'image': image,
         }
         }
 
 
 
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
netbox/project-static/dist/netbox.css


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
netbox/project-static/dist/netbox.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 4 - 0
netbox/project-static/img/connectors/console-port/db-25.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4.61 29.72A2.92 2.92 0 0 1 7.49 26.28L56.51 26.28A2.92 2.92 0 0 1 59.39 29.72L58.41 35.3A2.92 2.92 0 0 1 55.53 37.72L8.47 37.72A2.92 2.92 0 0 1 5.59 35.3Z"/></g>
+<g fill="#000"><circle cx="7.7" cy="29.92" r="1.17"/><circle cx="11.75" cy="29.92" r="1.17"/><circle cx="15.8" cy="29.92" r="1.17"/><circle cx="19.85" cy="29.92" r="1.17"/><circle cx="23.9" cy="29.92" r="1.17"/><circle cx="27.95" cy="29.92" r="1.17"/><circle cx="32" cy="29.92" r="1.17"/><circle cx="36.05" cy="29.92" r="1.17"/><circle cx="40.1" cy="29.92" r="1.17"/><circle cx="44.15" cy="29.92" r="1.17"/><circle cx="48.2" cy="29.92" r="1.17"/><circle cx="52.25" cy="29.92" r="1.17"/><circle cx="56.3" cy="29.92" r="1.17"/><circle cx="9.72" cy="34.08" r="1.17"/><circle cx="13.77" cy="34.08" r="1.17"/><circle cx="17.82" cy="34.08" r="1.17"/><circle cx="21.87" cy="34.08" r="1.17"/><circle cx="25.92" cy="34.08" r="1.17"/><circle cx="29.97" cy="34.08" r="1.17"/><circle cx="34.03" cy="34.08" r="1.17"/><circle cx="38.08" cy="34.08" r="1.17"/><circle cx="42.13" cy="34.08" r="1.17"/><circle cx="46.18" cy="34.08" r="1.17"/><circle cx="50.23" cy="34.08" r="1.17"/><circle cx="54.28" cy="34.08" r="1.17"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/de-9.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.43 26.62A6.89 6.89 0 0 1 12.21 18.53L51.79 18.53A6.89 6.89 0 0 1 58.57 26.62L56.25 39.77A6.89 6.89 0 0 1 49.47 45.47L14.53 45.47A6.89 6.89 0 0 1 7.75 39.77Z"/></g>
+<g fill="#000"><circle cx="13.13" cy="27.11" r="2.76"/><circle cx="22.56" cy="27.11" r="2.76"/><circle cx="32" cy="27.11" r="2.76"/><circle cx="41.44" cy="27.11" r="2.76"/><circle cx="50.87" cy="27.11" r="2.76"/><circle cx="17.85" cy="36.89" r="2.76"/><circle cx="27.28" cy="36.89" r="2.76"/><circle cx="36.72" cy="36.89" r="2.76"/><circle cx="46.15" cy="36.89" r="2.76"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/console-port/mini-din-8.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="28"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M36.94 10.88A21.69 21.69 0 0 1 51.01 42.43L45.73 42.43L45.73 48.79A21.69 21.69 0 0 1 18.27 48.79L18.27 42.43L12.99 42.43A21.69 21.69 0 0 1 27.06 10.88L27.06 15.53L36.94 15.53Z"/></g>
+<g fill="#000"><circle cx="21.02" cy="23.22" r="3.02"/><circle cx="32" cy="23.22" r="3.02"/><circle cx="42.98" cy="23.22" r="3.02"/><circle cx="18.27" cy="34.2" r="3.02"/><circle cx="34.2" cy="34.2" r="3.02"/><circle cx="45.73" cy="34.2" r="3.02"/><circle cx="26.51" cy="45.18" r="3.02"/><circle cx="37.49" cy="45.18" r="3.02"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/rj-11.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 5.45L60 5.45L60 44.21L50.7 44.21L50.7 53.74L43.51 53.74L43.51 58.55L20.49 58.55L20.49 53.74L13.3 53.74L13.3 44.21L4 44.21Z"/></g>
+<g fill="#000"><path d="M27.56 5.56L30.68 5.56L30.68 19.16L27.56 19.16Z"/><path d="M33.32 5.56L36.44 5.56L36.44 19.16L33.32 19.16Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/rj-12.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 5.45L60 5.45L60 44.21L50.7 44.21L50.7 53.74L43.51 53.74L43.51 58.55L20.49 58.55L20.49 53.74L13.3 53.74L13.3 44.21L4 44.21Z"/></g>
+<g fill="#000"><path d="M16.04 5.56L19.16 5.56L19.16 19.16L16.04 19.16Z"/><path d="M21.8 5.56L24.92 5.56L24.92 19.16L21.8 19.16Z"/><path d="M27.56 5.56L30.68 5.56L30.68 19.16L27.56 19.16Z"/><path d="M33.32 5.56L36.44 5.56L36.44 19.16L33.32 19.16Z"/><path d="M39.08 5.56L42.2 5.56L42.2 19.16L39.08 19.16Z"/><path d="M44.84 5.56L47.96 5.56L47.96 19.16L44.84 19.16Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/rj-45.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 9.97L60 9.97L60 42.13L46.81 42.13L46.81 50.03L41.54 50.03L41.54 54.03L22.46 54.03L22.46 50.03L17.19 50.03L17.19 42.13L4 42.13Z"/></g>
+<g fill="#000"><path d="M13.99 10.07L16.57 10.07L16.57 21.35L13.99 21.35Z"/><path d="M18.76 10.07L21.35 10.07L21.35 21.35L18.76 21.35Z"/><path d="M23.54 10.07L26.13 10.07L26.13 21.35L23.54 21.35Z"/><path d="M28.32 10.07L30.9 10.07L30.9 21.35L28.32 21.35Z"/><path d="M33.1 10.07L35.68 10.07L35.68 21.35L33.1 21.35Z"/><path d="M37.87 10.07L40.46 10.07L40.46 21.35L37.87 21.35Z"/><path d="M42.65 10.07L45.24 10.07L45.24 21.35L42.65 21.35Z"/><path d="M47.43 10.07L50.01 10.07L50.01 21.35L47.43 21.35Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-a.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.4 21.5L58.6 21.5A1.4 1.4 0 0 1 60 22.9L60 41.1A1.4 1.4 0 0 1 58.6 42.5L5.4 42.5A1.4 1.4 0 0 1 4 41.1L4 22.9A1.4 1.4 0 0 1 5.4 21.5Z"/></g>
+<g fill="#000"><path d="M8.67 23.6L55.33 23.6L55.33 32.47L8.67 32.47Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-b.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M13.22 6.31L50.78 6.31L60 15.53L60 57.69L4 57.69L4 15.53Z"/></g>
+<g fill="#000"><path d="M14.87 24.09L49.13 24.09L49.13 45.18L14.87 45.18Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M12.67 23.33L51.33 23.33A8.67 8.67 0 0 1 60 32L60 32A8.67 8.67 0 0 1 51.33 40.67L12.67 40.67A8.67 8.67 0 0 1 4 32L4 32A8.67 8.67 0 0 1 12.67 23.33Z"/></g>
+<g fill="#000"><path d="M11 29.67L53 29.67A1 1 0 0 1 54 30.67L54 33.33A1 1 0 0 1 53 34.33L11 34.33A1 1 0 0 1 10 33.33L10 30.67A1 1 0 0 1 11 29.67Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-micro-a.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.62 24.49L58.38 24.49A1.62 1.62 0 0 1 60 26.12L60 37.88A1.62 1.62 0 0 1 58.38 39.51L5.62 39.51A1.62 1.62 0 0 1 4 37.88L4 26.12A1.62 1.62 0 0 1 5.62 24.49Z"/></g>
+<g fill="#000"><path d="M11.71 26.52L52.29 26.52L52.29 30.17L11.71 30.17Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-micro-ab.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.62 24.49L58.38 24.49A1.62 1.62 0 0 1 60 26.12L60 37.88A1.62 1.62 0 0 1 58.38 39.51L5.62 39.51A1.62 1.62 0 0 1 4 37.88L4 26.12A1.62 1.62 0 0 1 5.62 24.49Z"/></g>
+<g fill="#000"><path d="M11.71 26.52L52.29 26.52L52.29 30.17L11.71 30.17Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-micro-b.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M60 24.49L60 33.83L54.32 39.51L9.68 39.51L4 33.83L4 24.49Z"/></g>
+<g fill="#000"><path d="M11.71 26.52L52.29 26.52L52.29 30.17L11.71 30.17Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-mini-a.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 20L60 20L60 34.4A9.6 9.6 0 0 1 50.4 44L13.6 44A9.6 9.6 0 0 1 4 34.4Z"/></g>
+<g fill="#000"><path d="M12 24.8L52 24.8L52 29.6L12 29.6Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/console-port/usb-mini-b.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 20L60 20L60 33.6L55.2 33.6L50.4 44L13.6 44L8.8 33.6L4 33.6Z"/></g>
+<g fill="#000"><path d="M12 24.8L52 24.8L52 29.6L12 29.6Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/110-punch.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 53.59L4 10.41L7.5 20.06L11 10.41L14.5 20.06L18 10.41L21.5 20.06L25 10.41L28.5 20.06L32 10.41L35.5 20.06L39 10.41L42.5 20.06L46 10.41L49.5 20.06L53 10.41L56.5 20.06L60 10.41L60 53.59Z"/></g>
+<g fill="#000"><path d="M6.77 20.06L8.23 20.06L8.23 31.08L6.77 31.08Z"/><path d="M13.77 20.06L15.23 20.06L15.23 31.08L13.77 31.08Z"/><path d="M20.77 20.06L22.23 20.06L22.23 31.08L20.77 31.08Z"/><path d="M27.77 20.06L29.23 20.06L29.23 31.08L27.77 31.08Z"/><path d="M34.77 20.06L36.23 20.06L36.23 31.08L34.77 31.08Z"/><path d="M41.77 20.06L43.23 20.06L43.23 31.08L41.77 31.08Z"/><path d="M48.77 20.06L50.23 20.06L50.23 31.08L48.77 31.08Z"/><path d="M55.77 20.06L57.23 20.06L57.23 31.08L55.77 31.08Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/4p2c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M11.11 4L52.89 4L52.89 40.41L46.9 40.41L46.9 48.82L40.52 48.82L40.52 60L23.48 60L23.48 48.82L17.1 48.82L17.1 40.41L11.11 40.41Z"/></g>
+<g fill="#000"><path d="M27.83 4.11L30.76 4.11L30.76 16.88L27.83 16.88Z"/><path d="M33.24 4.11L36.17 4.11L36.17 16.88L33.24 16.88Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/4p4c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M11.11 4L52.89 4L52.89 40.41L46.9 40.41L46.9 48.82L40.52 48.82L40.52 60L23.48 60L23.48 48.82L17.1 48.82L17.1 40.41L11.11 40.41Z"/></g>
+<g fill="#000"><path d="M22.42 4.11L25.35 4.11L25.35 16.88L22.42 16.88Z"/><path d="M27.83 4.11L30.76 4.11L30.76 16.88L27.83 16.88Z"/><path d="M33.24 4.11L36.17 4.11L36.17 16.88L33.24 16.88Z"/><path d="M38.65 4.11L41.58 4.11L41.58 16.88L38.65 16.88Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/6p2c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 5.45L60 5.45L60 44.21L50.7 44.21L50.7 53.74L43.51 53.74L43.51 58.55L20.49 58.55L20.49 53.74L13.3 53.74L13.3 44.21L4 44.21Z"/></g>
+<g fill="#000"><path d="M27.56 5.56L30.68 5.56L30.68 19.16L27.56 19.16Z"/><path d="M33.32 5.56L36.44 5.56L36.44 19.16L33.32 19.16Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/6p4c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 5.45L60 5.45L60 44.21L50.7 44.21L50.7 53.74L43.51 53.74L43.51 58.55L20.49 58.55L20.49 53.74L13.3 53.74L13.3 44.21L4 44.21Z"/></g>
+<g fill="#000"><path d="M21.8 5.56L24.92 5.56L24.92 19.16L21.8 19.16Z"/><path d="M27.56 5.56L30.68 5.56L30.68 19.16L27.56 19.16Z"/><path d="M33.32 5.56L36.44 5.56L36.44 19.16L33.32 19.16Z"/><path d="M39.08 5.56L42.2 5.56L42.2 19.16L39.08 19.16Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/6p6c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 5.45L60 5.45L60 44.21L50.7 44.21L50.7 53.74L43.51 53.74L43.51 58.55L20.49 58.55L20.49 53.74L13.3 53.74L13.3 44.21L4 44.21Z"/></g>
+<g fill="#000"><path d="M16.04 5.56L19.16 5.56L19.16 19.16L16.04 19.16Z"/><path d="M21.8 5.56L24.92 5.56L24.92 19.16L21.8 19.16Z"/><path d="M27.56 5.56L30.68 5.56L30.68 19.16L27.56 19.16Z"/><path d="M33.32 5.56L36.44 5.56L36.44 19.16L33.32 19.16Z"/><path d="M39.08 5.56L42.2 5.56L42.2 19.16L39.08 19.16Z"/><path d="M44.84 5.56L47.96 5.56L47.96 19.16L44.84 19.16Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/8p2c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 9.97L60 9.97L60 42.13L46.81 42.13L46.81 50.03L41.54 50.03L41.54 54.03L22.46 54.03L22.46 50.03L17.19 50.03L17.19 42.13L4 42.13Z"/></g>
+<g fill="#000"><path d="M28.32 10.07L30.9 10.07L30.9 21.35L28.32 21.35Z"/><path d="M33.1 10.07L35.68 10.07L35.68 21.35L33.1 21.35Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/8p4c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 9.97L60 9.97L60 42.13L46.81 42.13L46.81 50.03L41.54 50.03L41.54 54.03L22.46 54.03L22.46 50.03L17.19 50.03L17.19 42.13L4 42.13Z"/></g>
+<g fill="#000"><path d="M23.54 10.07L26.13 10.07L26.13 21.35L23.54 21.35Z"/><path d="M28.32 10.07L30.9 10.07L30.9 21.35L28.32 21.35Z"/><path d="M33.1 10.07L35.68 10.07L35.68 21.35L33.1 21.35Z"/><path d="M37.87 10.07L40.46 10.07L40.46 21.35L37.87 21.35Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/8p6c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 9.97L60 9.97L60 42.13L46.81 42.13L46.81 50.03L41.54 50.03L41.54 54.03L22.46 54.03L22.46 50.03L17.19 50.03L17.19 42.13L4 42.13Z"/></g>
+<g fill="#000"><path d="M18.76 10.07L21.35 10.07L21.35 21.35L18.76 21.35Z"/><path d="M23.54 10.07L26.13 10.07L26.13 21.35L23.54 21.35Z"/><path d="M28.32 10.07L30.9 10.07L30.9 21.35L28.32 21.35Z"/><path d="M33.1 10.07L35.68 10.07L35.68 21.35L33.1 21.35Z"/><path d="M37.87 10.07L40.46 10.07L40.46 21.35L37.87 21.35Z"/><path d="M42.65 10.07L45.24 10.07L45.24 21.35L42.65 21.35Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/8p8c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 9.97L60 9.97L60 42.13L46.81 42.13L46.81 50.03L41.54 50.03L41.54 54.03L22.46 54.03L22.46 50.03L17.19 50.03L17.19 42.13L4 42.13Z"/></g>
+<g fill="#000"><path d="M13.99 10.07L16.57 10.07L16.57 21.35L13.99 21.35Z"/><path d="M18.76 10.07L21.35 10.07L21.35 21.35L18.76 21.35Z"/><path d="M23.54 10.07L26.13 10.07L26.13 21.35L23.54 21.35Z"/><path d="M28.32 10.07L30.9 10.07L30.9 21.35L28.32 21.35Z"/><path d="M33.1 10.07L35.68 10.07L35.68 21.35L33.1 21.35Z"/><path d="M37.87 10.07L40.46 10.07L40.46 21.35L37.87 21.35Z"/><path d="M42.65 10.07L45.24 10.07L45.24 21.35L42.65 21.35Z"/><path d="M47.43 10.07L50.01 10.07L50.01 21.35L47.43 21.35Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/bnc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="24.56"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><circle cx="32" cy="32" r="20.62"/><circle cx="32" cy="32" r="11.71"/></g>
+<g fill="#000"><circle cx="9.09" cy="32" r="5.09"/><circle cx="54.91" cy="32" r="5.09"/><circle cx="32" cy="32" r="5.35"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/cs.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 19.16L23.44 19.16L23.44 7.03L40.56 7.03L40.56 19.16L60 19.16L60 56.97L4 56.97Z"/></g>
+<g fill="#000"><circle cx="18.45" cy="38.06" r="4.46"/><circle cx="45.55" cy="38.06" r="4.46"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/f.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M32 4L56.25 18L56.25 46L32 60L7.75 46L7.75 18Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><circle cx="32" cy="32" r="20.99"/><circle cx="32" cy="32" r="11.46"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="2.87"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/fc-apc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.6 4L54.4 4A5.6 5.6 0 0 1 60 9.6L60 54.4A5.6 5.6 0 0 1 54.4 60L9.6 60A5.6 5.6 0 0 1 4 54.4L4 9.6A5.6 5.6 0 0 1 9.6 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M36.01 17.62A14.93 14.93 0 1 1 27.99 17.62L27.99 24.41L36.01 24.41Z"/><circle cx="32" cy="32" r="8.59"/><circle cx="49.7" cy="14.3" r="4.11"/><circle cx="14.3" cy="49.7" r="4.11"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="4.67"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/fc-pc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.6 4L54.4 4A5.6 5.6 0 0 1 60 9.6L60 54.4A5.6 5.6 0 0 1 54.4 60L9.6 60A5.6 5.6 0 0 1 4 54.4L4 9.6A5.6 5.6 0 0 1 9.6 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M36.01 17.62A14.93 14.93 0 1 1 27.99 17.62L27.99 24.41L36.01 24.41Z"/><circle cx="32" cy="32" r="8.59"/><circle cx="49.7" cy="14.3" r="4.11"/><circle cx="14.3" cy="49.7" r="4.11"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="4.67"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/fc-upc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.6 4L54.4 4A5.6 5.6 0 0 1 60 9.6L60 54.4A5.6 5.6 0 0 1 54.4 60L9.6 60A5.6 5.6 0 0 1 4 54.4L4 9.6A5.6 5.6 0 0 1 9.6 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M36.01 17.62A14.93 14.93 0 1 1 27.99 17.62L27.99 24.41L36.01 24.41Z"/><circle cx="32" cy="32" r="8.59"/><circle cx="49.7" cy="14.3" r="4.11"/><circle cx="14.3" cy="49.7" r="4.11"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="4.67"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/fc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.6 4L54.4 4A5.6 5.6 0 0 1 60 9.6L60 54.4A5.6 5.6 0 0 1 54.4 60L9.6 60A5.6 5.6 0 0 1 4 54.4L4 9.6A5.6 5.6 0 0 1 9.6 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M36.01 17.62A14.93 14.93 0 1 1 27.99 17.62L27.99 24.41L36.01 24.41Z"/><circle cx="32" cy="32" r="8.59"/><circle cx="49.7" cy="14.3" r="4.11"/><circle cx="14.3" cy="49.7" r="4.11"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="4.67"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/gg45.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 9.97L60 9.97L60 42.13L46.81 42.13L46.81 50.03L41.54 50.03L41.54 54.03L22.46 54.03L22.46 50.03L17.19 50.03L17.19 42.13L4 42.13Z"/></g>
+<g fill="#000"><path d="M13.99 10.07L16.57 10.07L16.57 21.35L13.99 21.35Z"/><path d="M18.76 10.07L21.35 10.07L21.35 21.35L18.76 21.35Z"/><path d="M23.54 10.07L26.13 10.07L26.13 21.35L23.54 21.35Z"/><path d="M28.32 10.07L30.9 10.07L30.9 21.35L28.32 21.35Z"/><path d="M33.1 10.07L35.68 10.07L35.68 21.35L33.1 21.35Z"/><path d="M37.87 10.07L40.46 10.07L40.46 21.35L37.87 21.35Z"/><path d="M42.65 10.07L45.24 10.07L45.24 21.35L42.65 21.35Z"/><path d="M47.43 10.07L50.01 10.07L50.01 21.35L47.43 21.35Z"/><path d="M7.88 27.93L10.51 27.93L10.51 42.04L7.88 42.04Z"/><path d="M12.68 27.93L15.31 27.93L15.31 42.04L12.68 42.04Z"/><path d="M48.69 27.93L51.32 27.93L51.32 42.04L48.69 42.04Z"/><path d="M53.49 27.93L56.12 27.93L56.12 42.04L53.49 42.04Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lc-apc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.1 60L16.1 28.2L19.56 28.2L19.56 22.67L15.41 22.67L15.41 14.37L22.32 14.37L22.32 4L41.68 4L41.68 14.37L48.59 14.37L48.59 22.67L44.44 22.67L44.44 28.2L47.9 28.2L47.9 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="44.1" r="4.32"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lc-pc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.1 60L16.1 28.2L19.56 28.2L19.56 22.67L15.41 22.67L15.41 14.37L22.32 14.37L22.32 4L41.68 4L41.68 14.37L48.59 14.37L48.59 22.67L44.44 22.67L44.44 28.2L47.9 28.2L47.9 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="44.1" r="4.32"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lc-upc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.1 60L16.1 28.2L19.56 28.2L19.56 22.67L15.41 22.67L15.41 14.37L22.32 14.37L22.32 4L41.68 4L41.68 14.37L48.59 14.37L48.59 22.67L44.44 22.67L44.44 28.2L47.9 28.2L47.9 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="44.1" r="4.32"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.1 60L16.1 28.2L19.56 28.2L19.56 22.67L15.41 22.67L15.41 14.37L22.32 14.37L22.32 4L41.68 4L41.68 14.37L48.59 14.37L48.59 22.67L44.44 22.67L44.44 28.2L47.9 28.2L47.9 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="44.1" r="4.32"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/lsh-apc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M14.18 4L49.82 4A2.83 2.83 0 0 1 52.65 6.83L52.65 57.17A2.83 2.83 0 0 1 49.82 60L14.18 60A2.83 2.83 0 0 1 11.35 57.17L11.35 6.83A2.83 2.83 0 0 1 14.18 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.42 18.99L45.58 18.99A2.26 2.26 0 0 1 47.84 21.25L47.84 54.06A2.26 2.26 0 0 1 45.58 56.32L18.42 56.32A2.26 2.26 0 0 1 16.16 54.06L16.16 21.25A2.26 2.26 0 0 1 18.42 18.99Z"/></g>
+<g fill="#000"><path d="M23.52 6.55L40.48 6.55L40.48 13.33L23.52 13.33Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/lsh-pc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M14.18 4L49.82 4A2.83 2.83 0 0 1 52.65 6.83L52.65 57.17A2.83 2.83 0 0 1 49.82 60L14.18 60A2.83 2.83 0 0 1 11.35 57.17L11.35 6.83A2.83 2.83 0 0 1 14.18 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.42 18.99L45.58 18.99A2.26 2.26 0 0 1 47.84 21.25L47.84 54.06A2.26 2.26 0 0 1 45.58 56.32L18.42 56.32A2.26 2.26 0 0 1 16.16 54.06L16.16 21.25A2.26 2.26 0 0 1 18.42 18.99Z"/></g>
+<g fill="#000"><path d="M23.52 6.55L40.48 6.55L40.48 13.33L23.52 13.33Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/lsh-upc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M14.18 4L49.82 4A2.83 2.83 0 0 1 52.65 6.83L52.65 57.17A2.83 2.83 0 0 1 49.82 60L14.18 60A2.83 2.83 0 0 1 11.35 57.17L11.35 6.83A2.83 2.83 0 0 1 14.18 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.42 18.99L45.58 18.99A2.26 2.26 0 0 1 47.84 21.25L47.84 54.06A2.26 2.26 0 0 1 45.58 56.32L18.42 56.32A2.26 2.26 0 0 1 16.16 54.06L16.16 21.25A2.26 2.26 0 0 1 18.42 18.99Z"/></g>
+<g fill="#000"><path d="M23.52 6.55L40.48 6.55L40.48 13.33L23.52 13.33Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/lsh.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M14.18 4L49.82 4A2.83 2.83 0 0 1 52.65 6.83L52.65 57.17A2.83 2.83 0 0 1 49.82 60L14.18 60A2.83 2.83 0 0 1 11.35 57.17L11.35 6.83A2.83 2.83 0 0 1 14.18 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.42 18.99L45.58 18.99A2.26 2.26 0 0 1 47.84 21.25L47.84 54.06A2.26 2.26 0 0 1 45.58 56.32L18.42 56.32A2.26 2.26 0 0 1 16.16 54.06L16.16 21.25A2.26 2.26 0 0 1 18.42 18.99Z"/></g>
+<g fill="#000"><path d="M23.52 6.55L40.48 6.55L40.48 13.33L23.52 13.33Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lx5-apc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M17.51 4L46.49 4A2.64 2.64 0 0 1 49.13 6.64L49.13 57.36A2.64 2.64 0 0 1 46.49 60L17.51 60A2.64 2.64 0 0 1 14.87 57.36L14.87 6.64A2.64 2.64 0 0 1 17.51 4Z"/></g>
+<g fill="#000"><path d="M25.41 6.64L38.59 6.64L38.59 12.56L25.41 12.56Z"/><circle cx="32" cy="43.2" r="4.12"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lx5-pc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M17.51 4L46.49 4A2.64 2.64 0 0 1 49.13 6.64L49.13 57.36A2.64 2.64 0 0 1 46.49 60L17.51 60A2.64 2.64 0 0 1 14.87 57.36L14.87 6.64A2.64 2.64 0 0 1 17.51 4Z"/></g>
+<g fill="#000"><path d="M25.41 6.64L38.59 6.64L38.59 12.56L25.41 12.56Z"/><circle cx="32" cy="43.2" r="4.12"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lx5-upc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M17.51 4L46.49 4A2.64 2.64 0 0 1 49.13 6.64L49.13 57.36A2.64 2.64 0 0 1 46.49 60L17.51 60A2.64 2.64 0 0 1 14.87 57.36L14.87 6.64A2.64 2.64 0 0 1 17.51 4Z"/></g>
+<g fill="#000"><path d="M25.41 6.64L38.59 6.64L38.59 12.56L25.41 12.56Z"/><circle cx="32" cy="43.2" r="4.12"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/lx5.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M17.51 4L46.49 4A2.64 2.64 0 0 1 49.13 6.64L49.13 57.36A2.64 2.64 0 0 1 46.49 60L17.51 60A2.64 2.64 0 0 1 14.87 57.36L14.87 6.64A2.64 2.64 0 0 1 17.51 4Z"/></g>
+<g fill="#000"><path d="M25.41 6.64L38.59 6.64L38.59 12.56L25.41 12.56Z"/><circle cx="32" cy="43.2" r="4.12"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/mdc.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M21.85 4L42.15 4A1.85 1.85 0 0 1 44 5.85L44 58.15A1.85 1.85 0 0 1 42.15 60L21.85 60A1.85 1.85 0 0 1 20 58.15L20 5.85A1.85 1.85 0 0 1 21.85 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M32 16L32 16A8.98 8.98 0 0 1 40.98 24.98L40.98 43.94A8.98 8.98 0 0 1 32 52.92L32 52.92A8.98 8.98 0 0 1 23.02 43.94L23.02 24.98A8.98 8.98 0 0 1 32 16Z"/></g>
+<g fill="#000"><path d="M26.77 5.85L37.23 5.85L37.23 11.38L26.77 11.38Z"/><circle cx="32" cy="24.92" r="3.85"/><circle cx="32" cy="44" r="3.85"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/mpo.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.42 13.48L25.23 13.48L25.23 9.87L38.77 9.87L38.77 13.48L54.58 13.48A34.32 34.32 0 0 1 54.58 50.52L9.42 50.52A34.32 34.32 0 0 1 9.42 13.48Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.45 26.47L45.55 26.47A0.9 0.9 0 0 1 46.45 27.37L46.45 36.63A0.9 0.9 0 0 1 45.55 37.53L18.45 37.53A0.9 0.9 0 0 1 17.55 36.63L17.55 27.37A0.9 0.9 0 0 1 18.45 26.47Z"/></g>
+<g fill="#000"><circle cx="21.61" cy="32" r="1.81"/><circle cx="42.39" cy="32" r="1.81"/><path d="M25.45 31.32L38.55 31.32L38.55 32.68L25.45 32.68Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/mrj21.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.55 19.17L58.45 19.17A1.55 1.55 0 0 1 60 20.72L60 43.28A1.55 1.55 0 0 1 58.45 44.83L5.55 44.83A1.55 1.55 0 0 1 4 43.28L4 20.72A1.55 1.55 0 0 1 5.55 19.17Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M17.77 22.12L47.18 22.12L52.1 27.02L52.1 29.27L46.35 39.49L42.5 41.86L15.91 41.86L12.93 38.89L12.93 32.76A10.97 10.97 0 0 0 17.77 22.12Z"/><circle cx="9.85" cy="25.03" r="2.32"/><circle cx="54.15" cy="38.97" r="2.32"/></g>
+<g fill="#000"><path d="M19.51 24.54L49.33 24.54L49.33 30.08L19.51 30.08Z"/><path d="M14.67 33.92L44.49 33.92L44.49 39.46L14.67 39.46Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/mtrj.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 17.61L16.44 17.61L16.44 9.83L47.56 9.83L47.56 17.61L60 17.61L60 54.17L4 54.17Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M16.44 26.36L47.56 26.36A1.56 1.56 0 0 1 49.11 27.92L49.11 43.86A1.56 1.56 0 0 1 47.56 45.42L16.44 45.42A1.56 1.56 0 0 1 14.89 43.86L14.89 27.92A1.56 1.56 0 0 1 16.44 26.36Z"/></g>
+<g fill="#000"><circle cx="21.89" cy="35.89" r="2.72"/><circle cx="42.11" cy="35.89" r="2.72"/><circle cx="29.08" cy="35.89" r="1.56"/><circle cx="34.92" cy="35.89" r="1.56"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/mu-apc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M12 4L52 4L52 13.5L56.5 20L56.5 44L52 50.5L52 60L12 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="6.25"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/mu-pc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M12 4L52 4L52 13.5L56.5 20L56.5 44L52 50.5L52 60L12 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="6.25"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/mu-upc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M12 4L52 4L52 13.5L56.5 20L56.5 44L52 50.5L52 60L12 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="6.25"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/mu.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M12 4L52 4L52 13.5L56.5 20L56.5 44L52 50.5L52 60L12 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="6.25"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/n.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M7.31 4L56.69 4A3.31 3.31 0 0 1 60 7.31L60 56.69A3.31 3.31 0 0 1 56.69 60L7.31 60A3.31 3.31 0 0 1 4 56.69L4 7.31A3.31 3.31 0 0 1 7.31 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><circle cx="11.83" cy="11.83" r="3.53"/><circle cx="11.83" cy="52.17" r="3.53"/><circle cx="52.17" cy="11.83" r="3.53"/><circle cx="52.17" cy="52.17" r="3.53"/><circle cx="32" cy="32" r="17.42"/><circle cx="32" cy="32" r="9.48"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="3.31"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/sc-apc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 11.78L25.78 11.78L25.78 6.18L38.22 6.18L38.22 11.78L60 11.78L60 57.82L4 57.82Z"/></g>
+<g fill="#000"><circle cx="32" cy="34.8" r="7.78"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/sc-pc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 11.78L25.78 11.78L25.78 6.18L38.22 6.18L38.22 11.78L60 11.78L60 57.82L4 57.82Z"/></g>
+<g fill="#000"><circle cx="32" cy="34.8" r="7.78"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/sc-upc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 11.78L25.78 11.78L25.78 6.18L38.22 6.18L38.22 11.78L60 11.78L60 57.82L4 57.82Z"/></g>
+<g fill="#000"><circle cx="32" cy="34.8" r="7.78"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/sc.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 11.78L25.78 11.78L25.78 6.18L38.22 6.18L38.22 11.78L60 11.78L60 57.82L4 57.82Z"/></g>
+<g fill="#000"><circle cx="32" cy="34.8" r="7.78"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/sma-905.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="28"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><circle cx="32" cy="32" r="22.05"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="14.02"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/sma-906.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="28"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><circle cx="32" cy="32" r="22.05"/></g>
+<g fill="#000"><circle cx="32" cy="32" r="14.02"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/sn.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M20.6 4L27.26 4L27.26 8.74L36.74 8.74L36.74 4L43.4 4L43.4 60L36.74 60L36.74 55.26L27.26 55.26L27.26 60L20.6 60Z"/></g>
+<g fill="#000"><circle cx="32" cy="22.82" r="3.7"/><circle cx="32" cy="41.18" r="3.7"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/st.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M36.23 9.47A22.92 22.92 0 1 1 27.77 9.47L27.77 14.63L36.23 14.63Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><circle cx="32" cy="32" r="17.87"/></g>
+<g fill="#000"><circle cx="8.43" cy="32" r="4.23"/><circle cx="55.57" cy="32" r="4.23"/><circle cx="32" cy="32" r="8.14"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/tera-1p.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.85 4L47.15 4A2.42 2.42 0 0 1 49.58 6.42L49.58 57.58A2.42 2.42 0 0 1 47.15 60L16.85 60A2.42 2.42 0 0 1 14.42 57.58L14.42 6.42A2.42 2.42 0 0 1 16.85 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.45 24.61L28.34 24.61A1.45 1.45 0 0 1 29.79 26.06L29.79 36.17A1.45 1.45 0 0 1 28.34 37.62L18.45 37.62A1.45 1.45 0 0 1 16.99 36.17L16.99 26.06A1.45 1.45 0 0 1 18.45 24.61Z"/><path d="M18.45 39.08L28.34 39.08A1.45 1.45 0 0 1 29.79 40.53L29.79 51.81A1.45 1.45 0 0 1 28.34 53.26L18.45 53.26A1.45 1.45 0 0 1 16.99 51.81L16.99 40.53A1.45 1.45 0 0 1 18.45 39.08Z"/><path d="M35.66 24.61L45.55 24.61A1.45 1.45 0 0 1 47.01 26.06L47.01 36.17A1.45 1.45 0 0 1 45.55 37.62L35.66 37.62A1.45 1.45 0 0 1 34.21 36.17L34.21 26.06A1.45 1.45 0 0 1 35.66 24.61Z"/><path d="M35.66 39.08L45.55 39.08A1.45 1.45 0 0 1 47.01 40.53L47.01 51.81A1.45 1.45 0 0 1 45.55 53.26L35.66 53.26A1.45 1.45 0 0 1 34.21 51.81L34.21 40.53A1.45 1.45 0 0 1 35.66 39.08Z"/></g>
+<g fill="#000"><path d="M27.33 8.48L36.67 8.48A1.7 1.7 0 0 1 38.36 10.18L38.36 10.18A1.7 1.7 0 0 1 36.67 11.88L27.33 11.88A1.7 1.7 0 0 1 25.64 10.18L25.64 10.18A1.7 1.7 0 0 1 27.33 8.48Z"/><path d="M24.17 26.91L26.84 26.91L26.84 30.79L24.17 30.79Z"/><path d="M19.93 26.91L22.59 26.91L22.59 30.79L19.93 30.79Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/tera-2p.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.85 4L47.15 4A2.42 2.42 0 0 1 49.58 6.42L49.58 57.58A2.42 2.42 0 0 1 47.15 60L16.85 60A2.42 2.42 0 0 1 14.42 57.58L14.42 6.42A2.42 2.42 0 0 1 16.85 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.45 24.61L28.34 24.61A1.45 1.45 0 0 1 29.79 26.06L29.79 36.17A1.45 1.45 0 0 1 28.34 37.62L18.45 37.62A1.45 1.45 0 0 1 16.99 36.17L16.99 26.06A1.45 1.45 0 0 1 18.45 24.61Z"/><path d="M18.45 39.08L28.34 39.08A1.45 1.45 0 0 1 29.79 40.53L29.79 51.81A1.45 1.45 0 0 1 28.34 53.26L18.45 53.26A1.45 1.45 0 0 1 16.99 51.81L16.99 40.53A1.45 1.45 0 0 1 18.45 39.08Z"/><path d="M35.66 24.61L45.55 24.61A1.45 1.45 0 0 1 47.01 26.06L47.01 36.17A1.45 1.45 0 0 1 45.55 37.62L35.66 37.62A1.45 1.45 0 0 1 34.21 36.17L34.21 26.06A1.45 1.45 0 0 1 35.66 24.61Z"/><path d="M35.66 39.08L45.55 39.08A1.45 1.45 0 0 1 47.01 40.53L47.01 51.81A1.45 1.45 0 0 1 45.55 53.26L35.66 53.26A1.45 1.45 0 0 1 34.21 51.81L34.21 40.53A1.45 1.45 0 0 1 35.66 39.08Z"/></g>
+<g fill="#000"><path d="M27.33 8.48L36.67 8.48A1.7 1.7 0 0 1 38.36 10.18L38.36 10.18A1.7 1.7 0 0 1 36.67 11.88L27.33 11.88A1.7 1.7 0 0 1 25.64 10.18L25.64 10.18A1.7 1.7 0 0 1 27.33 8.48Z"/><path d="M24.17 26.91L26.84 26.91L26.84 30.79L24.17 30.79Z"/><path d="M19.93 26.91L22.59 26.91L22.59 30.79L19.93 30.79Z"/><path d="M24.17 46.79L26.84 46.79L26.84 50.67L24.17 50.67Z"/><path d="M19.93 46.79L22.59 46.79L22.59 50.67L19.93 50.67Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/tera-4p.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.85 4L47.15 4A2.42 2.42 0 0 1 49.58 6.42L49.58 57.58A2.42 2.42 0 0 1 47.15 60L16.85 60A2.42 2.42 0 0 1 14.42 57.58L14.42 6.42A2.42 2.42 0 0 1 16.85 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M18.45 24.61L28.34 24.61A1.45 1.45 0 0 1 29.79 26.06L29.79 36.17A1.45 1.45 0 0 1 28.34 37.62L18.45 37.62A1.45 1.45 0 0 1 16.99 36.17L16.99 26.06A1.45 1.45 0 0 1 18.45 24.61Z"/><path d="M18.45 39.08L28.34 39.08A1.45 1.45 0 0 1 29.79 40.53L29.79 51.81A1.45 1.45 0 0 1 28.34 53.26L18.45 53.26A1.45 1.45 0 0 1 16.99 51.81L16.99 40.53A1.45 1.45 0 0 1 18.45 39.08Z"/><path d="M35.66 24.61L45.55 24.61A1.45 1.45 0 0 1 47.01 26.06L47.01 36.17A1.45 1.45 0 0 1 45.55 37.62L35.66 37.62A1.45 1.45 0 0 1 34.21 36.17L34.21 26.06A1.45 1.45 0 0 1 35.66 24.61Z"/><path d="M35.66 39.08L45.55 39.08A1.45 1.45 0 0 1 47.01 40.53L47.01 51.81A1.45 1.45 0 0 1 45.55 53.26L35.66 53.26A1.45 1.45 0 0 1 34.21 51.81L34.21 40.53A1.45 1.45 0 0 1 35.66 39.08Z"/></g>
+<g fill="#000"><path d="M27.33 8.48L36.67 8.48A1.7 1.7 0 0 1 38.36 10.18L38.36 10.18A1.7 1.7 0 0 1 36.67 11.88L27.33 11.88A1.7 1.7 0 0 1 25.64 10.18L25.64 10.18A1.7 1.7 0 0 1 27.33 8.48Z"/><path d="M24.17 26.91L26.84 26.91L26.84 30.79L24.17 30.79Z"/><path d="M19.93 26.91L22.59 26.91L22.59 30.79L19.93 30.79Z"/><path d="M24.17 46.79L26.84 46.79L26.84 50.67L24.17 50.67Z"/><path d="M19.93 46.79L22.59 46.79L22.59 50.67L19.93 50.67Z"/><path d="M37.16 26.91L39.83 26.91L39.83 30.79L37.16 30.79Z"/><path d="M41.41 26.91L44.07 26.91L44.07 30.79L41.41 30.79Z"/><path d="M37.16 46.79L39.83 46.79L39.83 50.67L37.16 50.67Z"/><path d="M41.41 46.79L44.07 46.79L44.07 50.67L41.41 50.67Z"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/urm-p2.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M22.81 4L41.19 4A4.18 4.18 0 0 1 45.37 8.18L45.37 55.82A4.18 4.18 0 0 1 41.19 60L22.81 60A4.18 4.18 0 0 1 18.63 55.82L18.63 8.18A4.18 4.18 0 0 1 22.81 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M24.06 11.1L39.94 11.1A2.09 2.09 0 0 1 42.03 13.19L42.03 50.81A2.09 2.09 0 0 1 39.94 52.9L24.06 52.9A2.09 2.09 0 0 1 21.97 50.81L21.97 13.19A2.09 2.09 0 0 1 24.06 11.1Z"/></g>
+<g fill="#000"><path d="M28.66 11.94L35.34 11.94L35.34 15.28L28.66 15.28Z"/><path d="M28.66 48.72L35.34 48.72L35.34 52.06L28.66 52.06Z"/><circle cx="32" cy="26.15" r="2.61"/><circle cx="32" cy="37.85" r="2.61"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/urm-p4.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.43 4L54.57 4A4.18 4.18 0 0 1 58.75 8.18L58.75 55.82A4.18 4.18 0 0 1 54.57 60L9.43 60A4.18 4.18 0 0 1 5.25 55.82L5.25 8.18A4.18 4.18 0 0 1 9.43 4Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M10.69 11.1L26.57 11.1A2.09 2.09 0 0 1 28.66 13.19L28.66 50.81A2.09 2.09 0 0 1 26.57 52.9L10.69 52.9A2.09 2.09 0 0 1 8.6 50.81L8.6 13.19A2.09 2.09 0 0 1 10.69 11.1Z"/><path d="M37.43 11.1L53.31 11.1A2.09 2.09 0 0 1 55.4 13.19L55.4 50.81A2.09 2.09 0 0 1 53.31 52.9L37.43 52.9A2.09 2.09 0 0 1 35.34 50.81L35.34 13.19A2.09 2.09 0 0 1 37.43 11.1Z"/></g>
+<g fill="#000"><path d="M15.28 11.94L21.97 11.94L21.97 15.28L15.28 15.28Z"/><path d="M15.28 48.72L21.97 48.72L21.97 52.06L15.28 52.06Z"/><circle cx="18.63" cy="26.15" r="2.61"/><circle cx="18.63" cy="37.85" r="2.61"/><path d="M42.03 11.94L48.72 11.94L48.72 15.28L42.03 15.28Z"/><path d="M42.03 48.72L48.72 48.72L48.72 52.06L42.03 52.06Z"/><circle cx="45.37" cy="26.15" r="2.61"/><circle cx="45.37" cy="37.85" r="2.61"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/port/urm-p8.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M6.19 17.34L57.81 17.34A2.19 2.19 0 0 1 60 19.53L60 44.47A2.19 2.19 0 0 1 57.81 46.66L6.19 46.66A2.19 2.19 0 0 1 4 44.47L4 19.53A2.19 2.19 0 0 1 6.19 17.34Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M6.84 21.06L15.16 21.06A1.09 1.09 0 0 1 16.25 22.16L16.25 41.84A1.09 1.09 0 0 1 15.16 42.94L6.84 42.94A1.09 1.09 0 0 1 5.75 41.84L5.75 22.16A1.09 1.09 0 0 1 6.84 21.06Z"/><path d="M20.84 21.06L29.16 21.06A1.09 1.09 0 0 1 30.25 22.16L30.25 41.84A1.09 1.09 0 0 1 29.16 42.94L20.84 42.94A1.09 1.09 0 0 1 19.75 41.84L19.75 22.16A1.09 1.09 0 0 1 20.84 21.06Z"/><path d="M34.84 21.06L43.16 21.06A1.09 1.09 0 0 1 44.25 22.16L44.25 41.84A1.09 1.09 0 0 1 43.16 42.94L34.84 42.94A1.09 1.09 0 0 1 33.75 41.84L33.75 22.16A1.09 1.09 0 0 1 34.84 21.06Z"/><path d="M48.84 21.06L57.16 21.06A1.09 1.09 0 0 1 58.25 22.16L58.25 41.84A1.09 1.09 0 0 1 57.16 42.94L48.84 42.94A1.09 1.09 0 0 1 47.75 41.84L47.75 22.16A1.09 1.09 0 0 1 48.84 21.06Z"/></g>
+<g fill="#000"><path d="M9.25 21.5L12.75 21.5L12.75 23.25L9.25 23.25Z"/><path d="M9.25 40.75L12.75 40.75L12.75 42.5L9.25 42.5Z"/><circle cx="11" cy="28.94" r="1.37"/><circle cx="11" cy="35.06" r="1.37"/><path d="M23.25 21.5L26.75 21.5L26.75 23.25L23.25 23.25Z"/><path d="M23.25 40.75L26.75 40.75L26.75 42.5L23.25 42.5Z"/><circle cx="25" cy="28.94" r="1.37"/><circle cx="25" cy="35.06" r="1.37"/><path d="M37.25 21.5L40.75 21.5L40.75 23.25L37.25 23.25Z"/><path d="M37.25 40.75L40.75 40.75L40.75 42.5L37.25 42.5Z"/><circle cx="39" cy="28.94" r="1.37"/><circle cx="39" cy="35.06" r="1.37"/><path d="M51.25 21.5L54.75 21.5L54.75 23.25L51.25 23.25Z"/><path d="M51.25 40.75L54.75 40.75L54.75 42.5L51.25 42.5Z"/><circle cx="53" cy="28.94" r="1.37"/><circle cx="53" cy="35.06" r="1.37"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-a.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.4 21.5L58.6 21.5A1.4 1.4 0 0 1 60 22.9L60 41.1A1.4 1.4 0 0 1 58.6 42.5L5.4 42.5A1.4 1.4 0 0 1 4 41.1L4 22.9A1.4 1.4 0 0 1 5.4 21.5Z"/></g>
+<g fill="#000"><path d="M8.67 23.6L55.33 23.6L55.33 32.47L8.67 32.47Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-b.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M13.22 6.31L50.78 6.31L60 15.53L60 57.69L4 57.69L4 15.53Z"/></g>
+<g fill="#000"><path d="M14.87 24.09L49.13 24.09L49.13 45.18L14.87 45.18Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-c.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M12.67 23.33L51.33 23.33A8.67 8.67 0 0 1 60 32L60 32A8.67 8.67 0 0 1 51.33 40.67L12.67 40.67A8.67 8.67 0 0 1 4 32L4 32A8.67 8.67 0 0 1 12.67 23.33Z"/></g>
+<g fill="#000"><path d="M11 29.67L53 29.67A1 1 0 0 1 54 30.67L54 33.33A1 1 0 0 1 53 34.33L11 34.33A1 1 0 0 1 10 33.33L10 30.67A1 1 0 0 1 11 29.67Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-micro-a.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.62 24.49L58.38 24.49A1.62 1.62 0 0 1 60 26.12L60 37.88A1.62 1.62 0 0 1 58.38 39.51L5.62 39.51A1.62 1.62 0 0 1 4 37.88L4 26.12A1.62 1.62 0 0 1 5.62 24.49Z"/></g>
+<g fill="#000"><path d="M11.71 26.52L52.29 26.52L52.29 30.17L11.71 30.17Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-micro-ab.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M5.62 24.49L58.38 24.49A1.62 1.62 0 0 1 60 26.12L60 37.88A1.62 1.62 0 0 1 58.38 39.51L5.62 39.51A1.62 1.62 0 0 1 4 37.88L4 26.12A1.62 1.62 0 0 1 5.62 24.49Z"/></g>
+<g fill="#000"><path d="M11.71 26.52L52.29 26.52L52.29 30.17L11.71 30.17Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-micro-b.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M60 24.49L60 33.83L54.32 39.51L9.68 39.51L4 33.83L4 24.49Z"/></g>
+<g fill="#000"><path d="M11.71 26.52L52.29 26.52L52.29 30.17L11.71 30.17Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-mini-a.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 20L60 20L60 34.4A9.6 9.6 0 0 1 50.4 44L13.6 44A9.6 9.6 0 0 1 4 34.4Z"/></g>
+<g fill="#000"><path d="M12 24.8L52 24.8L52 29.6L12 29.6Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/port/usb-mini-b.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M4 20L60 20L60 33.6L55.2 33.6L50.4 44L13.6 44L8.8 33.6L4 33.6Z"/></g>
+<g fill="#000"><path d="M12 24.8L52 24.8L52 29.6L12 29.6Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/CS6360C.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="28"/></g>
+<g fill="#000"><path d="M33.49 14.98A17.08 17.08 0 0 1 46.16 22.45L42.21 25.11A12.32 12.32 0 0 0 33.07 19.73Z"/><path d="M47.22 39.75A17.08 17.08 0 0 1 30.51 49.02L30.93 44.27A12.32 12.32 0 0 0 42.98 37.59Z"/><path d="M16.28 38.67A17.08 17.08 0 0 1 17.21 23.46L21.33 25.84A12.32 12.32 0 0 0 20.66 36.81Z"/><path d="M12.15 40.42A21.56 21.56 0 0 1 10.65 35L15.36 34.34A16.8 16.8 0 0 0 16.54 38.56Z"/><circle cx="32" cy="32" r="3.92"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/CS6364C.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M30.63 7.15A24.89 24.89 0 0 1 31.06 7.13A3.11 3.11 0 1 1 37.25 7.67A24.89 24.89 0 0 1 43.62 9.99A3.11 3.11 0 1 1 48.71 13.55A24.89 24.89 0 0 1 56.89 31.57L55.14 31.6A23.15 23.15 0 0 1 41.78 52.98L42.52 54.56A24.89 24.89 0 0 1 24.38 55.69A3.11 3.11 0 1 1 18.75 53.07A24.89 24.89 0 0 1 12.7 47.72A3.11 3.11 0 1 1 9.41 42.45A24.89 24.89 0 0 1 30.63 7.15Z"/></g>
+<g fill="#000"><path d="M31.74 16.82A15.18 15.18 0 0 1 45.01 24.18L41.39 26.36A10.95 10.95 0 0 0 31.81 21.05Z"/><path d="M31.71 15.33A16.68 16.68 0 0 1 40.08 17.42L39.24 18.94A14.93 14.93 0 0 0 31.74 17.07Z"/><path d="M44.28 40.92A15.18 15.18 0 0 1 33.32 47.12L32.95 42.91A10.95 10.95 0 0 0 40.86 38.44Z"/><path d="M18.99 39.82A15.18 15.18 0 0 1 18.13 25.82L22 27.55A10.95 10.95 0 0 0 22.61 37.64Z"/><path d="M16.85 41.1A17.67 17.67 0 0 1 14.37 33.23L17.1 33.04A14.93 14.93 0 0 0 19.2 39.69Z"/><circle cx="32" cy="32" r="3.48"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/CS8164C.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M31.93 7.11A24.89 24.89 0 0 1 32.36 7.11A3.11 3.11 0 1 1 38.51 7.98A24.89 24.89 0 0 1 56.85 30.7L55.11 30.79A23.15 23.15 0 0 1 39.92 53.75L40.51 55.39A24.89 24.89 0 0 1 31.2 56.88A3.11 3.11 0 1 1 25.07 55.9A24.89 24.89 0 0 1 16.39 51.39A3.11 3.11 0 1 1 12.08 46.92A24.89 24.89 0 0 1 16.96 12.17A3.11 3.11 0 1 1 22.34 9.06A24.89 24.89 0 0 1 31.93 7.11Z"/></g>
+<g fill="#000"><path d="M32.26 16.82A15.18 15.18 0 0 1 44.88 23.95L41.29 26.2A10.95 10.95 0 0 0 32.19 21.05Z"/><path d="M32.29 15.33A16.68 16.68 0 0 1 40.34 17.56L39.47 19.07A14.93 14.93 0 0 0 32.26 17.07Z"/><path d="M44.13 41.14A15.18 15.18 0 0 1 31.74 47.18L31.81 42.95A10.95 10.95 0 0 0 40.75 38.59Z"/><path d="M20.37 41.76A15.18 15.18 0 0 1 18.24 25.58L22.07 27.37A10.95 10.95 0 0 0 23.61 39.04Z"/><path d="M18.46 43.36A17.67 17.67 0 0 1 14.5 34.46L17.21 34.08A14.93 14.93 0 0 0 20.56 41.6Z"/><circle cx="32" cy="32" r="3.48"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/CS8264C.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="28"/></g>
+<g fill="#000"><path d="M34.67 15.13A17.08 17.08 0 0 1 46.79 23.46L42.67 25.84A12.32 12.32 0 0 0 33.93 19.83Z"/><path d="M46.94 40.28A17.08 17.08 0 0 1 29.62 48.91L30.29 44.2A12.32 12.32 0 0 0 42.78 37.97Z"/><path d="M16.28 38.67A17.08 17.08 0 0 1 17.21 23.46L21.33 25.84A12.32 12.32 0 0 0 20.66 36.81Z"/><path d="M12.15 40.42A21.56 21.56 0 0 1 10.65 35L15.36 34.34A16.8 16.8 0 0 0 16.54 38.56Z"/><circle cx="32" cy="32" r="3.92"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/CS8364C.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M34.1 7.2A24.89 24.89 0 0 1 34.53 7.24A3.11 3.11 0 1 1 40.58 8.64A24.89 24.89 0 0 1 45.86 11.33A3.11 3.11 0 1 1 50.54 15.4A24.89 24.89 0 0 1 56.89 32L55.15 32A23.15 23.15 0 0 1 40.67 53.46L41.32 55.08A24.89 24.89 0 0 1 24.79 55.82A3.11 3.11 0 1 1 19.12 53.3A24.89 24.89 0 0 1 13.85 49.03A3.11 3.11 0 1 1 10.2 44A24.89 24.89 0 0 1 34.1 7.2Z"/></g>
+<g fill="#000"><path d="M32.79 16.84A15.18 15.18 0 0 1 46.36 27.06L42.35 28.43A10.95 10.95 0 0 0 32.57 21.06Z"/><path d="M32.59 20.82A11.2 11.2 0 0 1 35.46 21.35L34.15 25.37A6.97 6.97 0 0 0 32.36 25.04Z"/><path d="M44.44 40.71A15.18 15.18 0 0 1 33.06 47.15L32.76 42.92A10.95 10.95 0 0 0 40.97 38.28Z"/><path d="M20.04 41.35A15.18 15.18 0 0 1 18.72 24.64L22.42 26.69A10.95 10.95 0 0 0 23.37 38.74Z"/><path d="M23.17 38.9A11.2 11.2 0 0 1 21.69 36.38L25.36 34.82A7.22 7.22 0 0 0 26.31 36.44Z"/><circle cx="32" cy="32" r="3.48"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/CS8464C.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><circle cx="32" cy="32" r="28"/></g>
+<g fill="#000"><path d="M33.79 15.01A17.08 17.08 0 0 1 46.32 22.7L42.33 25.29A12.32 12.32 0 0 0 33.29 19.75Z"/><path d="M47.72 38.67A17.08 17.08 0 0 1 29.62 48.91L30.29 44.2A12.32 12.32 0 0 0 43.34 36.81Z"/><path d="M18.01 41.8A17.08 17.08 0 0 1 17.06 23.72L21.22 26.03A12.32 12.32 0 0 0 21.91 39.07Z"/><path d="M21.68 39.23A12.6 12.6 0 0 1 20.16 36.31L23.84 34.97A8.68 8.68 0 0 0 24.89 36.98Z"/><circle cx="32" cy="32" r="3.92"/></g>
+</svg>

+ 5 - 0
netbox/project-static/img/connectors/power-outlet/eaton-c39.svg

@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M9.6 10L54.4 10A5.6 5.6 0 0 1 60 15.6L60 48.4A5.6 5.6 0 0 1 54.4 54L9.6 54A5.6 5.6 0 0 1 4 48.4L4 15.6A5.6 5.6 0 0 1 9.6 10Z"/></g>
+<g fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"><path d="M22.8 20.8L41.2 20.8L41.2 28.8L49.6 28.8L49.6 43.2L35.84 43.2L35.84 36.8L28.16 36.8L28.16 43.2L14.4 43.2L14.4 28.8L22.8 28.8Z"/></g>
+<g fill="#000"><path d="M26.4 23.6L37.6 23.6L37.6 27.6L26.4 27.6Z"/><path d="M30 24.8L34 24.8L34 32.8L30 32.8Z"/><path d="M16.8 36.4L26.4 36.4L26.4 40.4L16.8 40.4Z"/><path d="M18.8 31.2L22.8 31.2L22.8 39.2L18.8 39.2Z"/><path d="M37.6 36.4L47.2 36.4L47.2 40.4L37.6 40.4Z"/><path d="M41.2 31.2L45.2 31.2L45.2 39.2L41.2 39.2Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/hdot-cx.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M16.08 13.83A3.65 3.65 0 0 1 18.66 12.77L45.34 12.77A3.65 3.65 0 0 1 47.92 13.83L58.93 24.84A3.65 3.65 0 0 1 60 27.43L60 43.93A7.3 7.3 0 0 1 52.7 51.23L11.3 51.23A7.3 7.3 0 0 1 4 43.93L4 27.43A3.65 3.65 0 0 1 5.07 24.84Z"/></g>
+<g fill="#000"><path d="M23.48 19.22L40.52 19.22L40.52 25.3L23.48 25.3Z"/><path d="M28.96 21.04L35.04 21.04L35.04 33.22L28.96 33.22Z"/><path d="M8.87 38.7L23.48 38.7L23.48 44.78L8.87 44.78Z"/><path d="M11.91 30.78L18 30.78L18 42.96L11.91 42.96Z"/><path d="M40.52 38.7L55.13 38.7L55.13 44.78L40.52 44.78Z"/><path d="M46 30.78L52.09 30.78L52.09 42.96L46 42.96Z"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/iec-60309-2p-e-4h.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M27.87 55.9A26.11 26.11 0 1 1 36.13 55.9A4.13 4.13 0 0 1 27.87 55.9Z"/></g>
+<g fill="#000"><circle cx="40.93" cy="35.27" r="4.72"/><circle cx="23.07" cy="35.27" r="3.54"/><circle cx="32" cy="19.8" r="3.54"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/iec-60309-2p-e-6h.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M27.87 55.9A26.11 26.11 0 1 1 36.13 55.9A4.13 4.13 0 0 1 27.87 55.9Z"/></g>
+<g fill="#000"><circle cx="32" cy="40.43" r="4.72"/><circle cx="23.07" cy="24.96" r="3.54"/><circle cx="40.93" cy="24.96" r="3.54"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/iec-60309-2p-e-9h.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M27.87 55.9A26.11 26.11 0 1 1 36.13 55.9A4.13 4.13 0 0 1 27.87 55.9Z"/></g>
+<g fill="#000"><circle cx="21.68" cy="30.11" r="4.72"/><circle cx="37.16" cy="21.18" r="3.54"/><circle cx="37.16" cy="39.05" r="3.54"/></g>
+</svg>

+ 4 - 0
netbox/project-static/img/connectors/power-outlet/iec-60309-3p-e-4h.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
+<g fill="none" stroke="#000" stroke-width="3" stroke-linejoin="round"><path d="M28.39 56.02A26.13 26.13 0 1 1 35.61 56.02A3.63 3.63 0 1 1 28.39 56.02Z"/></g>
+<g fill="#000"><circle cx="41.65" cy="35.71" r="4.15"/><circle cx="26.43" cy="39.79" r="3.11"/><circle cx="22.35" cy="24.56" r="3.11"/><circle cx="37.57" cy="20.48" r="3.11"/></g>
+</svg>

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio