Files

565 B

Testmodule

This module is a minimal module implementation to be used as a template to work off of.

Backend

  • A module.py file in the module's root, exposing a child class of BaseModule via the MODULE_CLASS variable
  • Example API endpoint at /modules/testmodule/api/status using a Flask Blueprint

Frontend

  • Embeddable HTML fragment at /static/_page.html
  • Loading a custom stylesheet and script from within the HTML fragment
  • Using layout CSS classes from /base/static/style.css to create a minimal grid of cards
  • Using fontawesome icons