generic f5 function
Posted: Friday 05 May 2023 12:55
Hi, i made a refresh block for my dashboard.
I like to use this block on more pages and it must refresh the current page and stay there,,,
With my current config (specific url) i cant reuse this block..
Is there a way to do this?
blocks['f5'] =
{
title: '',
icon: 'fas fa-light fa-arrow-rotate-right',
width: 1,
url: 'http://<ip>:83/index.html?folder=custom_fs',
hide_data: true,
switch: true,
last_update: false,
newwindow: 0,
};
I like to use this block on more pages and it must refresh the current page and stay there,,,
With my current config (specific url) i cant reuse this block..
Is there a way to do this?
blocks['f5'] =
{
title: '',
icon: 'fas fa-light fa-arrow-rotate-right',
width: 1,
url: 'http://<ip>:83/index.html?folder=custom_fs',
hide_data: true,
switch: true,
last_update: false,
newwindow: 0,
};