Skip to content

WEB Interface

Maurice LAMBERT edited this page Sep 28, 2021 · 5 revisions

WEB Interface

Custom interface

  • The index page path must be static/templates/index.html of the current directory, if not exist the default value will be used.
  • The script page path must be static/templates/script.html of the current directory, if not exist the default value will be used.

Static and JS paths

The static and JS paths is configured, you can change the configurations.

  • js_path: a list of glob syntax to get javascript files.
  • statics_path: a list of glob syntax to get files (HTML, JPG, PDF, CSS, or other). Be careful with static files because there is no protection for these files.

URLs

The URL to get javascript files is: /js/<filename>. With the default install on localhost:8000, you can request three files:

The URL to get static files is: /static/<filename>. With the default install on localhost:8000, you can request ten files:

To customize these files, you can create files with the same relative path and name from the current directory.

Icons and images

Images and icons are static files:

Create a file with this path and name to replace the default icon:

  • static/images/webscripts_icon.jpg

Create a file with this path and name to replace the default image (on the top right of the interface):

  • static/images/webscripts_header.jpg

Clone this wiki locally