Ver Fonte

no message

Jonathan Starck há 3 anos atrás
pai
commit
510695fc78
1 ficheiros alterados com 43 adições e 4 exclusões
  1. 43 4
      config/config.js

+ 43 - 4
config/config.js

@@ -21,11 +21,11 @@ let config = {
                 mode: 'slides',
                 slides: {
                     Main: [
-                        { name: 'clock', position: "middle_center", carouselId: "1" }
+                        { name: 'clock', position: "top_left", carouselId: "1" },
+                        { name: 'calendar', position: "middle_center", carouselId: "1" }
                     ],
                     "Slide 2": [
-                        { name: 'clock', classes: '', position: "top_left", carouselId: "2" },
-                        { name: 'calendar', position: 'top_left' },
+                        { name: 'clock', classes: '', position: "top_left", carouselId: "2" }
                     ]
                 }
 
@@ -33,7 +33,7 @@ let config = {
         },
         {
             module: 'clock',
-            position: "middle_center",
+            position: "top_left",
             config: {
                 timeFormat: 24,
                 carouselId: '1'
@@ -46,6 +46,45 @@ let config = {
                 timeFormat: 12,
                 carouselId: '2'
             }
+        },
+        {
+            module: "calendar",
+            position: "middle_center",	// This can be any of the regions. Best results in left or right regions.
+            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,
+                    }
+                ]
+            }
         }
     ]
 }