Difference between revisions of "Project"

From HSYCO
Jump to navigation Jump to search
Line 3: Line 3:
 
Each project defines one or more pages that can contain [[UI Objects]].
 
Each project defines one or more pages that can contain [[UI Objects]].
  
=== Parameters ===
+
== Parameters ==
*'''skin''': defines the graphical appearance of the project
+
*'''skin'''
 
*'''language''': the language used for the default texts
 
*'''language''': the language used for the default texts
 
*'''header''': the label appearing as page title on the browser
 
*'''header''': the label appearing as page title on the browser
Line 18: Line 18:
 
*'''style''':
 
*'''style''':
 
*'''uiset''':
 
*'''uiset''':
 +
 +
== skin ==
 +
Defines the graphical appearance of the project.
 +
 +
=== Values ===
 +
*'''skin name''': the name of the skin. The standard skin provided with HSYCO is "blue".
 +
 +
=== Syntax ===
 +
(#skin <skin name>)
 +
 +
== language ==
 +
Defines the language used for all standard text messages of the Web interface.
 +
 +
=== Values ===
 +
*'''language id''': the language used for the project (it | en | fr | cn).
  
 
=== Syntax ===
 
=== Syntax ===
 +
(#language <language id>)
 +
 +
 +
 +
 
The project's parameter are defined through [[meta]] objects.
 
The project's parameter are defined through [[meta]] objects.
 
After all the meta and before the declaration of [[Page|pages] and [[UI Objects]], a header object is declared that specifies the project's header.
 
After all the meta and before the declaration of [[Page|pages] and [[UI Objects]], a header object is declared that specifies the project's header.

Revision as of 11:06, 8 January 2014

A project defines a custom user interface, that allows the user to interact with the system. Each project defines one or more pages that can contain UI Objects.

Parameters

  • skin
  • language: the language used for the default texts
  • header: the label appearing as page title on the browser
  • size: the project size: width and height. If the orientation mode is enabled, a second set of width and height is required. The first set refers to landscape mode, while the second to portrait mode
  • device image:enables or disables the camera or image pop-ups associated to devices in the interface, as configured in the systemtopo.txt file
  • kiosk:
  • scale:
  • locked:
  • background:
  • camera list:
  • camera overlay:
  • camera grid headers:
  • style:
  • uiset:

skin

Defines the graphical appearance of the project.

Values

  • skin name: the name of the skin. The standard skin provided with HSYCO is "blue".

Syntax

(#skin <skin name>)

language

Defines the language used for all standard text messages of the Web interface.

Values

  • language id: the language used for the project (it | en | fr | cn).

Syntax

(#language <language id>)



The project's parameter are defined through meta objects. After all the meta and before the declaration of [[Page|pages] and UI Objects, a header object is declared that specifies the project's header.

(#skin <skin>)
(#language <language>)
(#size <width>x<height>; <width>x<height>)
(#scale 2)
(#cameralist "london","officeopenspace")
(#cameragridlist "123")
(#cameraoverlay "123","","","","")
(#style body-background-color=)
(#uiset autoreload=false)
(header All)

E.g.

(#skin blue)
(#language cn)
(#size 890x640; 1000x2000)
(#scale 2)
(#cameralist "london","officeopenspace")
(#cameragridlist "123")
(#cameraoverlay "123","","","","")
(#style body-background-color=)
(#uiset autoreload=false)
(header All)