Procházet zdrojové kódy

feature: Better format for server dashboard

jamesread před 1 rokem
rodič
revize
1cf971c092
1 změnil soubory, kde provedl 12 přidání a 9 odebrání
  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.