Skip to content

healthonnet/ProVisu-Look

Repository files navigation

hon-provisu-extension

Build Status

Pro Visu Look – Background, text color and font size change.

Currently available on the Chrome Store.

Install

extension

$ npm install
$ bower install
$ gulp build

web service

$ npm install
$ bower install
$ gulp build-web

toolbar

$ npm install
$ bower install
$ gulp build-toolbar

Run

web

$ gulp server

A server will be launched on http://localhost:3000

extension

from google Chrome:

  • Go to Settings ==> Extensions
  • Enable Developer mode
  • load unpacked extension...
  • select /dist

toolbar

$ gulp serve-toolbar

Toolbar usage

Options

  • container : String

    container in which the toolbar is included.

  • url : String

    url to give to the service.

  • i18n : en | fr | es

    language for tooltip.

  • responsive : Boolean

    make toolbar responsive. Optional, default value is true.

  • fontSize : Boolean

    show fontSize controls. Optional, default value is true.

  • icon : white | black | blue | cyan | false

    show only one icon. Optional, default value is false.

Blue icon with font size controls in French

<script src="https://provisu.ch/toolbar/latest/toolbar.js" type="text/javascript"></script>
<script>
  loadProvisuToolbar({
    container: 'oneB',
    url: document.URL,
    i18n: 'fr',
    icon: 'blue',
    fontSize: true,
  });
</script>

Documentation

Original documentation for extension preparation.

$ gulp doc

Developers

License

Apache License 2.0