Difference between revisions of "URL Keywords"

From HSYCO
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
  
 
The options field can assume one or more of the keywords listed below; multiple keywords can be separated with the "&" character:
 
The options field can assume one or more of the keywords listed below; multiple keywords can be separated with the "&" character:
 +
* '''gohome=<seconds>''': after <seconds> seconds of inactivity, go to the menu page, or the page set with the page=<page name> URL option
 
* '''landscape''': shows the landscape user interface
 
* '''landscape''': shows the landscape user interface
 
* '''nocamstream''': disables MJPEG streaming to the Web browser, even if the browser supports this format
 
* '''nocamstream''': disables MJPEG streaming to the Web browser, even if the browser supports this format
Line 16: Line 17:
 
* '''nobuttonfeedback''': disables the graphical feedback of buttons (over, pressed...). Useful for hiding button presses on the login page, for example
 
* '''nobuttonfeedback''': disables the graphical feedback of buttons (over, pressed...). Useful for hiding button presses on the login page, for example
 
* '''kiosk=true''': forces kiosk mode
 
* '''kiosk=true''': forces kiosk mode
* '''scale=N''': [[Project#Scale|scale value]]. Can be "auto", "fit" or a decimal positive number. Numbers greater than 1.0 create a magnification effect, proportionally increasing the size of the page and its content; numbers smaller than 1.0 make the page and its content smaller than the original
+
* '''scale=<value>''': [[Project#Scale|scale value]]. Can be "auto", "fit" or a decimal positive number. Numbers greater than 1.0 create a magnification effect, proportionally increasing the size of the page and its content; numbers smaller than 1.0 make the page and its content smaller than the original
 
* '''screensaver=N''': automatically enters screensaver mode after N seconds of inactivity (see the '''[[Screensaver| Screensaver]]''' page for more details)
 
* '''screensaver=N''': automatically enters screensaver mode after N seconds of inactivity (see the '''[[Screensaver| Screensaver]]''' page for more details)
 
* '''fullwindow''': toggles fullwindow mode, as opposed to fullscreen. When an object (e.g. camerapanel, datalogger) switches to fullscreen mode, it will occupy the whole browser's window instead of actually going fullscreen
 
* '''fullwindow''': toggles fullwindow mode, as opposed to fullscreen. When an object (e.g. camerapanel, datalogger) switches to fullscreen mode, it will occupy the whole browser's window instead of actually going fullscreen

Latest revision as of 14:28, 1 June 2020

The user interface supports some options that can modify its behavior. These options are activated by specifying special keywords in the page URL, they are therefore freely manageable from each Web Browser.

The complete URL format is:

https://<name server>/<URLKey>/<subdirectory name>?<options>

The options field can assume one or more of the keywords listed below; multiple keywords can be separated with the "&" character:

  • gohome=<seconds>: after <seconds> seconds of inactivity, go to the menu page, or the page set with the page=<page name> URL option
  • landscape: shows the landscape user interface
  • nocamstream: disables MJPEG streaming to the Web browser, even if the browser supports this format
  • nocache: disables the HTML5 persistent cache for the Web session, overriding the default settings
  • nopics: disables the display of the images associated to the devices, as set in the systemtopo.txt file. This option is typically used to enhance the performances in case of slow remote connections
  • page=<page name>: when the user interface is initially loaded by the browser, display the specified page instead of the menu
  • portrait: shows the portrait user interface
  • notouch: disables touch events, enabling standard mouse events. Used for touch devices that don't recognize touch events
  • nobuttonfeedback: disables the graphical feedback of buttons (over, pressed...). Useful for hiding button presses on the login page, for example
  • kiosk=true: forces kiosk mode
  • scale=<value>: scale value. Can be "auto", "fit" or a decimal positive number. Numbers greater than 1.0 create a magnification effect, proportionally increasing the size of the page and its content; numbers smaller than 1.0 make the page and its content smaller than the original
  • screensaver=N: automatically enters screensaver mode after N seconds of inactivity (see the Screensaver page for more details)
  • fullwindow: toggles fullwindow mode, as opposed to fullscreen. When an object (e.g. camerapanel, datalogger) switches to fullscreen mode, it will occupy the whole browser's window instead of actually going fullscreen