netbox: modify config
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
fce9c25060
commit
673794774f
1 changed files with 5 additions and 5 deletions
|
@ -41,8 +41,8 @@ PLUGINS_CONFIG = {
|
||||||
|
|
||||||
shortcuts = """
|
shortcuts = """
|
||||||
## [Racks](/dcim/rack-elevations/)
|
## [Racks](/dcim/rack-elevations/)
|
||||||
## [Topology](/plugins/netbox_topology_views/topology/)
|
## [Topology](/plugins/netbox_topology_views/topology/?filter_id=9)
|
||||||
## [Topology v2](/plugins/nextbox-ui/topology/?filter_id=1)
|
## [Topology v2](/plugins/nextbox-ui/topology/?filter_id=3)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# https://netboxlabs.com/docs/netbox/en/stable/configuration/default-values/#default_dashboard
|
# https://netboxlabs.com/docs/netbox/en/stable/configuration/default-values/#default_dashboard
|
||||||
|
@ -71,18 +71,18 @@ DEFAULT_DASHBOARD = [
|
||||||
"color": "orange",
|
"color": "orange",
|
||||||
"config": {
|
"config": {
|
||||||
"model": "extras.journalentry",
|
"model": "extras.journalentry",
|
||||||
"page_size": 3,
|
"page_size": 5,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widget": "extras.ObjectListWidget",
|
"widget": "extras.ObjectListWidget",
|
||||||
"width": 12,
|
"width": 12,
|
||||||
"height": 5,
|
"height": 6,
|
||||||
"title": "Changelog",
|
"title": "Changelog",
|
||||||
"color": "black",
|
"color": "black",
|
||||||
"config": {
|
"config": {
|
||||||
"model": "core.objectchange",
|
"model": "core.objectchange",
|
||||||
"page_size": 5,
|
"page_size": 10,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue