You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ADMIN_REJSEPLANEN_APIKEY: An API key accessing Rejseplanen API used for Travel template.
432
-
See [https://labs.rejseplanen.dk/](https://labs.rejseplanen.dk/) for information about acquiring an API key.
421
+
- ADMIN_REJSEPLANEN_APIKEY: An API key accessing Rejseplanen API used for Travel template. See
422
+
[https://labs.rejseplanen.dk/](https://labs.rejseplanen.dk/) for information about acquiring an API key.
433
423
434
424
**Default**: Not set.
435
425
436
426
- ADMIN_SHOW_SCREEN_STATUS: Should the status of the screen be shown in the Admin (true|false)?
437
427
438
428
**Default**: Disabled.
439
429
440
-
- ADMIN_TOUCH_BUTTON_REGIONS: Should the option of setting a button name for a slide be enabled in the Admin?
441
-
This option is used by the Client if a region is configured to be a "touch-buttons" region.
430
+
- ADMIN_TOUCH_BUTTON_REGIONS: Should the option of setting a button name for a slide be enabled in the Admin? This
431
+
option is used by the Client if a region is configured to be a "touch-buttons" region.
442
432
443
433
**Default**: Disabled.
444
434
@@ -473,9 +463,9 @@ ADMIN_ENHANCED_PREVIEW=false
473
463
**Default**: Username and password login option is enabled.
474
464
475
465
- ADMIN_ENHANCED_PREVIEW: Should the enhanced preview mode be active (true|false)? When enabled, previews will be
476
-
handled by iFraming in the Client app. This will allow the option of previewing playlists and screens.
477
-
If disabled, only slides can be previewed. This will be with the "live" method. This preview is not as precise.
478
-
See [Preview mode in the Client](#preview-mode-in-the-client).
466
+
handled by iFraming in the Client app. This will allow the option of previewing playlists and screens. If disabled,
467
+
only slides can be previewed. This will be with the "live" method. This preview is not as precise. See [Preview mode
468
+
in the Client](#preview-mode-in-the-client).
479
469
480
470
**Default**: Disabled.
481
471
@@ -516,9 +506,8 @@ CLIENT_DEBUG=false
516
506
517
507
**Default**: 1 m. and 30 s.
518
508
519
-
- CLIENT_COLOR_SCHEME: Which colour scheme should be enabled? Should be a json object as string.
520
-
This is used to signal how changes to darkmode are handled.
521
-
Options are:
509
+
- CLIENT_COLOR_SCHEME: Which colour scheme should be enabled? Should be a json object as string. This is used to signal
510
+
how changes to darkmode are handled. Options are:
522
511
- Not set - will use the browsers prefers-color-scheme setting.
523
512
- '{"type":"library","lat":56.0,"lng":10.0}' - In this case the change to darkmode is handled with a library that
524
513
activates darkmode according to sunrise/sunset of the location given by the longitude/latitude (lat/lng).
@@ -602,10 +591,10 @@ classDiagram
602
591
603
592
## Online check for Client
604
593
605
-
If the client does not have internet when starting, it cannot load the assets needed for the Client.
606
-
The `public/client/online-check` has been added to handle this.
607
-
The folder contains an `index.html`, that checks connectivity before redirecting to `/client`.
608
-
If this index.html is cached in the browser the online check page can load without internet.
594
+
If the client does not have internet when starting, it cannot load the assets needed for the Client. The
595
+
`public/client/online-check` has been added to handle this. The folder contains an `index.html`, that checks
596
+
connectivity before redirecting to `/client`. If this index.html is cached in the browser the online check page can load
597
+
without internet.
609
598
610
599
To use this, set the starting path of the Client to `/client/online-check`.
611
600
@@ -638,8 +627,8 @@ This feature is used in the Admin for displaying previews of slides, playlists a
638
627
639
628
## Screen status
640
629
641
-
Screen status consists of 2 elements. Tracking latest request from a screen client.
642
-
This data is collected and exposed through the API.
630
+
Screen status consists of 2 elements. Tracking latest request from a screen client. This data is collected and exposed
631
+
through the API.
643
632
644
633
The other part is in the admin where the data can be exposed to the user.
645
634
@@ -659,8 +648,8 @@ ADMIN_SHOW_SCREEN_STATUS=true
659
648
660
649
In the list view of screens, there is a column called "Status".
661
650
662
-
This column shows the status of the connection of a "screen" in the administration and an
663
-
actual "machine" running the screen data.
651
+
This column shows the status of the connection of a "screen" in the administration and an actual "machine" running the
652
+
screen data.
664
653
665
654
This status can be:
666
655
@@ -671,8 +660,8 @@ This status can be:
671
660
672
661
### Screen edit view
673
662
674
-
In the screen edit view, the "Tilkobling" section shows the status of the connection between the
675
-
screen entity and a machine running the screen data.
663
+
In the screen edit view, the "Tilkobling" section shows the status of the connection between the screen entity and a
664
+
machine running the screen data.
676
665
677
666
The status can be:
678
667
@@ -688,8 +677,8 @@ Furthermore, the section "Tilkobling" will show the following data:
688
677
* Kodeudgivelsestidspunkt: 17/6 2024 17:26
689
678
```
690
679
691
-
This shows when the latest communication has occured, what client version the machine is running,
692
-
and the time of client code release.
680
+
This shows when the latest communication has occured, what client version the machine is running, and the time of client
681
+
code release.
693
682
694
683
## Feeds
695
684
@@ -802,8 +791,8 @@ It is possible to include custom templates in your installation.
802
791
803
792
### Location
804
793
805
-
Custom templates should be placed in the folder `assets/shared/custom-templates/`.
806
-
This folder is in `.gitignore` so the contents will not be added to the git repository.
794
+
Custom templates should be placed in the folder `assets/shared/custom-templates/`. This folder is in `.gitignore` so the
795
+
contents will not be added to the git repository.
807
796
808
797
How you populate this folder with your custom templates is up to you:
809
798
@@ -835,9 +824,9 @@ The `.jsx` should expose the following functions:
835
824
836
825
For an example of a custom template see `assets/shared/custom-templates-example/`.
837
826
838
-
The slide is responsible for signaling that it is done executing.
839
-
This is done by calling the slideDone() function. If the slide should just run for X milliseconds then you can use the
840
-
BaseSlideExecution class to handle this. See the example for this approach.
827
+
The slide is responsible for signaling that it is done executing. This is done by calling the slideDone() function. If
828
+
the slide should just run for X milliseconds then you can use the BaseSlideExecution class to handle this. See the
829
+
example for this approach.
841
830
842
831
#### custom-template-name.json
843
832
@@ -854,7 +843,8 @@ The `.json` should include:
854
843
855
844
##### Admin Form not set in json
856
845
857
-
It is possible to create an interactive admin form in a `.jsx`-file. As described above with renderSlide, when a template has a custom `.jsx` admin form, it needs to implement a `renderAdminForm` function in the base file.
846
+
It is possible to create an interactive admin form in a `.jsx`-file. As described above with renderSlide, when a
847
+
template has a custom `.jsx` admin form, it needs to implement a `renderAdminForm` function in the base file.
858
848
859
849
- renderAdminForm(formStateObject, onChange, handleMedia, mediaData) - Should return the JSX for the admin form.
860
850
- slideContent: The slide data object from the admin, could e.g. contain a title `slideContent["title"]`
@@ -910,8 +900,7 @@ If you think the template could be used by other, consider contributing the temp
910
900
911
901
## Screen Layouts
912
902
913
-
A screen layout is a setting that defines how a screen is divided into different regions.
914
-
A layout consists of a grid.
903
+
A screen layout is a setting that defines how a screen is divided into different regions. A layout consists of a grid.
915
904
916
905
The grid regions are created from the number of rows and columns selected for the given layout. The regions are named
0 commit comments