Jonathan Starck 3 жил өмнө
parent
commit
618931dad2
1 өөрчлөгдсөн 49 нэмэгдсэн , 50 устгасан
  1. 49 50
      config/config.js

+ 49 - 50
config/config.js

@@ -1,16 +1,15 @@
 let config = {
-	address: "0.0.0.0",
-	port: 8080,
-	basePath: "/",
-	ipWhitelist: [],
-	useHttps: false,
-	language: "de",
-	locale: "de-DE",
-	logLevel: ["INFO", "LOG", "WARN", "ERROR"],
-	timeFormat: 24,
-	units: "metric",
+    address: "0.0.0.0",
+    port: 8080,
+    basePath: "/",
+    ipWhitelist: [],
+    useHttps: false,
+    language: "de",
+    locale: "de-DE",
+    logLevel: ["INFO", "LOG", "WARN", "ERROR"],
+    timeFormat: 24,
+    units: "metric",
     modules: [
-        /**====================== Definiton des Carousels ========================**/
         {
             module: 'MMM-Carousel',
             position: 'bottom_bar',
@@ -34,13 +33,13 @@ let config = {
                         },
                         {
                             name: 'calendar',
-                            position: "middle_center"
+                            position: "middle_center",
+                            carouselId: "1"
                         }
                     ]
                 }
             }
         },
-        /**====================== Definitonen der Uhren ========================**/
         {
             module: "clock",
             position: "top_left",
@@ -57,44 +56,44 @@ let config = {
                 carouselId: "2"
             }
         },
-        /**====================== Definitonen der Kalender ========================**/
         {
-			module: "calendar",
-			position: "middle_center",
-			config: {
-				tableClass: "large wachenaufgaben",
-				fetchInterval: 600000,
-				maxTitleLength: 50,
-				displaySymbol: true,
+            module: "calendar",
+            position: "middle_center",
+            config: {
+                carouselId: "1",
+                tableClass: "large wachenaufgaben",
+                fetchInterval: 600000,
+                maxTitleLength: 50,
+                displaySymbol: true,
                 maximumNumberOfDays: 1,
-				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'
-					},
-					{
-						url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export',
-						symbolClass: 'clean-symbol',
-						titleClass: 'clean-title',
-						timeClass: 'clean-time',
-						symbol: 'vacuum'
-					},
-					{
-						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
-					}
-				]
-			}
-		}
+                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'
+                    },
+                    {
+                        url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export',
+                        symbolClass: 'clean-symbol',
+                        titleClass: 'clean-title',
+                        timeClass: 'clean-time',
+                        symbol: 'vacuum'
+                    },
+                    {
+                        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
+                    }
+                ]
+            }
+        }
     ]
 }