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.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

netbox_contextmenus-1.4.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for netbox_contextmenus-1.4.4.tar.gz
Algorithm Hash digest
SHA256 6fb715b17e4bfccf3c56d2f831d2a6a7bb3666a79fa4769e182188eaf805a2ba
MD5 bd5d53b199d10321dd4525aca9ca04e7
BLAKE2b-256 38e1dc567e1916898c22b8ebb7fc9bdc48bb08308039cde5fbaf3768f65b03d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_contextmenus-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f65c63f8c0a6aa22cd163bb9959c11d42613bcba4b10282f3264ca387bbc6af9
MD5 39fdd42a12a62a133e36d464e7f8e089
BLAKE2b-256 b20c3590eba46ac810cc4729137085903f02c00166525c48fa699ec6f9f34367

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