feature: Better format for server dashboard

This commit is contained in:
jamesread 2024-07-18 15:11:06 +01:00
parent 69d1cc75a7
commit 1cf971c092
1 changed files with 12 additions and 9 deletions

View File

@ -254,16 +254,19 @@ dashboards:
# Top level items are dashboards. # Top level items are dashboards.
- title: My Servers - title: My Servers
contents: contents:
# The contents of a dashboard will try to look for an action with a - title: All Servers
# matching title IF the `contents: ` property is empty. type: fieldset
- title: Ping All Servers
# If you create an item with some "contents:", OliveTin will show that as
# directory.
- title: Hypervisors
contents: contents:
- title: Ping hypervisor1 # The contents of a dashboard will try to look for an action with a
- title: Ping hypervisor2 # matching title IF the `contents: ` property is empty.
- title: Ping All Servers
# If you create an item with some "contents:", OliveTin will show that as
# directory.
- title: Hypervisors
contents:
- title: Ping hypervisor1
- title: Ping hypervisor2
# If you specify `type: fieldset` and some `contents`, it will show your # If you specify `type: fieldset` and some `contents`, it will show your
# actions grouped together without a folder. # actions grouped together without a folder.