Loading Lite Client |
Lite Client |
 |
Trail: PROIV
Documentation > Developer
> Lite Client >
Lite Client
and the Browser > Loading Lite Client
The Lite Client is a JavaScript library file that can be put on any
web server to be loaded into the page. It does not need to be loaded from
the PROIV web server but does connect to it using AJAX for accessing PROIV
sessions. This may have security implications if the page is loaded from
another server.
The Lite Client library file (proiv-lite-client.js) is also available
in a minimised version (proiv-lite-client.min.js). Both versions hold
the same JavaScript but the minimised version has had all white space
and comments removed so it is much smaller. If any debugging is required
in the browser then use the standard version, not the minimised version.
In addition to the Lite Client JavaScript library the following files
must also be loaded for a default Lite Client.
- bootstrap.css – This file holds the Bootstrap CSS that is used
to display the Responsive layout. The Lite Client will work with
Bootstrap 4.
- PROIVDefault.css – This file holds some basic CSS used by the Lite
Client where Bootstrap does not have suitable classes.
- PROIVDefault.js – This file holds the default component templates
(see the section on Component Templates).
- PROIVPropertyMap.js – This holds mappings for properties in the
component templates that convert the properties to be suitable for
Bootstrap and other CSS classes (PROIVPropertyMap_bootstrap4.js).
- fonts/fontawesome-webfont.woff2
– These hold the icons used in Bootstrap 4 (fontawesome).
- font-awesome.min.css – This CSS must be included when using Bootstrap 4.
Comment
on this topic
Topic ID: 870023