Bläddra i källkod

Neue Ansicht konfiguriert - test

Jonathan Starck 3 år sedan
förälder
incheckning
7a307be558
1 ändrade filer med 46 tillägg och 16 borttagningar
  1. 46 16
      config/config.js

+ 46 - 16
config/config.js

@@ -21,34 +21,64 @@ let config = {
                             name: 'clock',
                             position: "top_left",
                             carouselId: "1"
-                        }
-                    ],
-                    "Slide 2": [
+                        },
                         {
-                            name: 'clock',
-                            position: "middle_center",
-                            carouselId: "2"
+                            name: 'calendar',
+                            position: "middle_center"
                         }
-                    ]
+                    ],
                 }
             }
         },
-        /**====================== Definitonen der Uhr ========================**/
+        /**====================== Definitonen der Uhren ========================**/
         {
             module: "clock",
             position: "top_left",
             config: {
                 timeFormat: "24",
-                carouselId: "1",
+                carouselId: "1"
             }
         },
+        /**====================== Definitonen der Kalender ========================**/
         {
-            module: "clock",
-            position: "middle_center",
-            config: {
-                timeFormat: "12",
-                carouselId: "2"
-            }
-        }
+			module: "calendar",
+			position: "middle_center",
+			config: {
+				tableClass: "large wachenaufgaben",
+				fetchInterval: 600000,
+				maxTitleLength: 50,
+				displaySymbol: true,
+				showLocation: false,
+				maxTitleLines: 1,
+				maximumEntries: 9,
+				calendars: [
+					{
+						url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw/?export',
+						symbolClass: 'todo-symbol',
+						titleClass: 'todo-title',
+						timeClass: 'todotime',
+						symbol: 'clipboard-list-check',
+                        maximumNumberOfDays: 1
+					},
+					{
+						url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export',
+						symbolClass: 'clean-symbol',
+						titleClass: 'clean-title',
+						timeClass: 'clean-time',
+						symbol: 'vacuum',
+                        maximumNumberOfDays: 1
+					},
+					{
+						url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
+						symbolClass: 'info-symbol',
+						titleClass: 'info-title',
+						timeClass: 'info-time',
+						symbol: 'circle-info',
+						maximumNumberOfDays: 7
+					}
+
+				]
+			}
+		}
     ]
 }