Logic Machine Forum
Schedulers touch - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Schedulers touch (/showthread.php?tid=1804)



Schedulers touch - oyvindnordbo - 20.12.2018

Hi, when I press on schedulers on a mobil it adapts to the mobile, how do I get a link from this to pressed in touch mode?


RE: Schedulers touch - oyvindnordbo - 21.12.2018

I have seen on this:
https://forum.logicmachine.net/showthread.php?tid=487&highlight=Schedulers
I have a link butten in /scada-vis/touch to /scada-vis/schedulers?id=3, but it is psssibole to set the"Back" button on a direct schedulers link to /scada-vis/touch? And take away  the "log? out" butten


RE: Schedulers touch - admin - 21.12.2018

Try this:
Code:
$(function() {
  // hide logout button
  $('.schedulers .btn-logout').hide();
  // set home button link to /scada-vis/touch
  $('.schedulers .btn-home').attr('href', '/scada-vis/touch');
});



RE: Schedulers touch - oyvindnordbo - 21.12.2018

(21.12.2018, 07:35)admin Wrote: Try this:
Code:
$(function() {
 // hide logout button
 $('.schedulers .btn-logout').hide();
 // set home button link to /scada-vis/touch
 $('.schedulers .btn-home').attr('href', '/scada-vis/touch');
});
Do I write this in custom CSS?


RE: Schedulers touch - admin - 21.12.2018

In Custom JavaScript (Scripting > Tools)


RE: Schedulers touch - oyvindnordbo - 21.12.2018

Thank you admin, it work perfekt


RE: Schedulers touch - oyvindnordbo - 02.01.2019

I want to hide home butten and log out butten in scada-vis/touch, I try to use this, but it don`t work, what is wrong?

$(function() {
 // hide logout button
 $('.scada-vis/touch.btn-logout').hide();
 // hide home button
 $('.scada-vis/touch.btn-btn-home').hide();
});


RE: Schedulers touch - admin - 02.01.2019

Try '.touch .btn-logout' and '.touch .btn-home'


RE: Schedulers touch - Thomas - 03.01.2019

I use this solution in my custom CSS:

.touch .btn-home {
display: none !important;
}

.touch .btn-logout {
display: none !important;
}
.trends .btn-logout {
display: none !important;
}
.schedulers .btn-logout {
display: none !important;
}


RE: Schedulers touch - Auzzii - 08.09.2019

Hi,

Have someone tried to change sonos exit link from /apps to scada-vis  (javascript)

Tnx


RE: Schedulers touch - Erwin van der Zwart - 08.09.2019

Hi,

Normally not possible, custom JS is not available for the apps section.

Only thing that is possible is to use a app in a iframe under the normal visu and use custom JS to find the iframe and perform JS action on the content in the iframe.

Another option is to find the source code on the apps ftp folder and manipulate the source, downside is when you update the app your manual changes are overwritten again.

BR,

Erwin