Skip to content

WEB Interface

mauricelambert edited this page Dec 9, 2022 · 5 revisions

WEB Interface

Custom interface

  • The index page path should be static/templates/index.html of the current directory, if not exist the default file will be used.
  • The script page path should be static/templates/script.html of the current directory, if not exist the default file will be used.
  • The header tag file should be static/templates/header.html of the current directory, if not exist the default file will be used.
  • The footer tag file should be static/templates/footer.html of the current directory, if not exist the default file will be used.

Static and JS paths

The static and JS paths are configured, you can change the configurations. Be careful with informations in static files because there is no authentication for these files.

  • 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).

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 sixteen 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