EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

Scaling html UI view on mobile browser


Author Message
Written on: 06. 02. 2024 [22:28]
jurdome
Jurgen Meyer
Topic creator
registered since: 27.10.2023
Posts: 4
Is there any way to inser HTML meta tag in to www mainframe of the VCA project page?
Faced a problem that on mobile phones the www view is loaded in 1:1 pixel scale which is way to small to view.
For the start and login page this was easily solved by adding HTML Templates in HTTP modules with inserted line
<meta name="viewport" content="width-device-width, initial-scale=1.0, maximum-scale=1, user-scale=0"/>
This worked ok there. Now login dialog fits to full phone screen width.

But is there any way to insert such line in to actual project view HTML generator?
Written on: 07. 02. 2024 [09:30]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3743
You can deeply customise main interface of the module overriding and adding the HTML and JavaScript code by placing to folder of your OpenSCADA project files WebVisionVCA.html and WebVisionVCA.js which initially you can obtain from the module source code — UI.WebVision.

Learn, learn and learn better than work, work and work.



44446