Open felbinger opened 4 months ago
see netbox-topology-views / netbox-qrcode plugin:
# template_content.py
from extras.plugins import PluginTemplateExtension
class CybexDevice(PluginTemplateExtension):
model = 'dcim.device'
# TODO
template_extensions = [CybexDevice]
The inline credentials card needs to be added to
virtualmachine.html
:84 anddevice.html
:159.I don't know yet how to override these templates (which are part of Netbox). Until we figured it out, you can simply overwrite them in your Netbox installation. In case you're using Docker to deploy Netbox, it's easiest can remount them.