Skip to main content

Add context menu to links in NetBox

Project description

netbox_contextmenus

Add context buttons to the links, making navigating in netbox less clicky

nbcm1

nbcm2

The menu items can easliy be personalised

INSTALLATION

NBCM is compatible with NetBox v3 and v4.0


IMPORTANT NOTE !

NBCM version <= 1.4.3 used the 'BOTTOM_BANNER' variable to inject the javascript.

As of v1.4.4, the javascript is injected using django middleware. Make sure to remove the setting from the ConfigRevision BOTTOM_BANNER or from your configuration.py The nbcm.js file located in /opt/netbox/netbox/netbox/scripts can be removed.

This is a preparation to create a GUI to modifiy the Contect Menu items


CONFIGURATION

These settings can be customized using the PLUGINS_CONFIG variable in 'configuration.py'

PLUGINS_CONFIG = {
    'netbox_contextmenus': {
        'nbcmopendelay': 150
    }
}
variable default function
nbcmopendelay 150 Time in milliseconds that the opening of the contextmenu will be delayed

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_contextmenus-1.4.6.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

netbox_contextmenus-1.4.6-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file netbox_contextmenus-1.4.6.tar.gz.

File metadata

  • Download URL: netbox_contextmenus-1.4.6.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for netbox_contextmenus-1.4.6.tar.gz
Algorithm Hash digest
SHA256 9231791aeb471f747dce0b972d33bcc5a51bd964ef0197511ee52ffc21adc2ed
MD5 204a7e06c3b7ac7adbcb00427e29b181
BLAKE2b-256 f195966927612dff96c3d88969b55f6940358e47192a6a2e7e1462ff305fbbc0

See more details on using hashes here.

File details

Details for the file netbox_contextmenus-1.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_contextmenus-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7bc2bbf02adc558399c9aecb106ae99b9c2ee1275eb11ae75b468cd3621d3723
MD5 0e1259cacbf9813daa96618499b656bf
BLAKE2b-256 1a364ae48d0cbcdebeb133704d29956f8efbcb2c84310752be1d026063f65295

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page