netbox: add more shortcuts
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
9b05a5c07b
commit
a025514ca4
1 changed files with 8 additions and 4 deletions
|
@ -40,9 +40,13 @@ PLUGINS_CONFIG = {
|
||||||
}
|
}
|
||||||
|
|
||||||
shortcuts = """
|
shortcuts = """
|
||||||
## [Racks](/dcim/rack-elevations/)
|
| | |
|
||||||
## [Topology](/plugins/netbox_topology_views/topology/?filter_id=9)
|
|:---|---:|
|
||||||
## [Topology v2](/plugins/nextbox-ui/topology/?filter_id=3)
|
| [Topology](/plugins/netbox_topology_views/topology/?filter_id=9) | [Racks](/dcim/rack-elevations/) |
|
||||||
|
| [Topology v2](/plugins/nextbox-ui/topology/?filter_id=3) | [Servers](/dcim/devices/?role_id=3) |
|
||||||
|
| [Routers](/dcim/devices/?role_id=1) | [Clients](/dcim/devices/?role_id=4) |
|
||||||
|
| [Switches](/dcim/devices/?role_id=2) | [Clusters](/virtualization/clusters/) |
|
||||||
|
| [Contacts](/tenancy/contacts/) | [VMs](/virtualization/virtual-machines/) |
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# https://netboxlabs.com/docs/netbox/en/stable/configuration/default-values/#default_dashboard
|
# https://netboxlabs.com/docs/netbox/en/stable/configuration/default-values/#default_dashboard
|
||||||
|
@ -66,7 +70,7 @@ DEFAULT_DASHBOARD = [
|
||||||
{
|
{
|
||||||
"widget": "extras.ObjectListWidget",
|
"widget": "extras.ObjectListWidget",
|
||||||
"width": 12,
|
"width": 12,
|
||||||
"height": 4,
|
"height": 5,
|
||||||
"title": "Journal",
|
"title": "Journal",
|
||||||
"color": "orange",
|
"color": "orange",
|
||||||
"config": {
|
"config": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue