I want to create an image carousel widgets that reads/scrolls through the contents of a (network) folder. Therefor i need to generate a list (array) of filenames from all the files of the folder. This folder-network path will be configurable in the widget (i don’t want to provide a fixed list of image sources).
So how do I generate such list of files from a folder by using:
sorry for the long text, but maybe some background information is helpfull since I am not sure if there is another solution than changing existing template widgets…
I have 3 wall-mounted tablets running HABpanel. Until now I used Kiwi Browser in kiosk mode. Yesterday, I introduced HPV since switching to another dashboard by a rule did not work with Kiwi. Auto switching from one dashboard to another works fine with HPV, but unfortunately there seems to be any difference in resolution or maybe exact size about some 0.x inches between the tablets which leads to perfect dashboard one on of them (actually everything like it was before) and chaotic dashboards on the other two (both are the same tablets).
Therefore I created a new panel configuration for the 2 tablets which were NOK and adjusted icon size, font size and so on. Except for “some” clicks, no big deal. BUT: I am using several template widgets which are just showing some item values as a text. One of those is shown below - at least a part of it:
The problem is that there is too much space between the rows which leads to text exceeding the lower border of the widget. With the help of google I tried several things like line-height, height, margin, … Some of them make the appearance even worse but some did exactly what I want - but only at my PC, the space at the tablets is still too big.
Is it just a matter of the code (but why did e.g. line-height work at the PC but nothing works at the tablet) or is there any other issue since after all my trials I am wondering why the appearance was so completely different between the tablets even though they are all 10" android tablets and everything was (and still is) fine with one panel config at Kiwi browser…
Regarding the Glyphicons I have trouble using them in my widget. Glyphicons like <i class="glyphicon glyphicon-chevron-left"></i>
work, whereas <i class="glyphicon glyphicon-check-square"></i>
does not show anything.
Hello!
i’ve tried to create a “popup slider” template where i can adjust different irrigation runtimes.
i works but i have “serious” problems with layers… this is what my panel looks like when no slider is active (red = popup slider “boxes”):
all popup-slider-boxes widget except the active widget are “over” the active popup slider… and some of “normal” buttons (Hecke 2 Automatik, Garte Auto). This is a) not very good to look at and b) not working when the active slider is “behind” another popup-slider-box.
if it’s like this f.e. i’m not able to work with the slider: