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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_contextmenus-1.4.12-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox_contextmenus-1.4.12.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for netbox_contextmenus-1.4.12.tar.gz
Algorithm Hash digest
SHA256 6a594e80ff7f68d00647e09d4316e9d6eaa3106f4d6455c500035e3dfa40d177
MD5 301dd492ebc26999463644a346960131
BLAKE2b-256 6ccb8feb5b91c9c4ea7dc98421f04a9b3639ae55363a63f0fc1854cf264b2a05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netbox_contextmenus-1.4.12-py3-none-any.whl
Algorithm Hash digest
SHA256 5a02e711ef661b4d2a83042de92837adcdbea4cbc49c926314c102096137fe01
MD5 3d506f987fde7d058d8d078b3a4c8cd9
BLAKE2b-256 d9ed1ace675bf2006bb6734f717da41954bf91a9baf3ea1e6f6b87b40e11025d

See more details on using hashes here.

Supported by

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