565 B
565 B
Testmodule
This module is a minimal module implementation to be used as a template to work off of.
Backend
- A
module.pyfile in the module's root, exposing a child class ofBaseModulevia theMODULE_CLASSvariable - Example API endpoint at
/modules/testmodule/api/statususing 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.cssto create a minimal grid of cards - Using fontawesome icons