Explorar el Código

feature: Better format for server dashboard

jamesread hace 1 año
padre
commit
1cf971c092
Se han modificado 1 ficheros con 12 adiciones y 9 borrados
  1. 12 9
      config.yaml

+ 12 - 9
config.yaml

@@ -254,16 +254,19 @@ dashboards:
   # Top level items are dashboards.
   - title: My Servers
     contents:
-      # The contents of a dashboard will try to look for an action with a
-      # 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
+      - title: All Servers
+        type: fieldset
         contents:
-          - title: Ping hypervisor1
-          - title: Ping hypervisor2
+          # The contents of a dashboard will try to look for an action with a
+          # 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
       # actions grouped together without a folder.