hawat.blueprints.design_bs3 package

This pluggable module provides default application design and style. Currently, there are no views provided by this module.

Note

To completely change the design of the whole application you can implement your own custom _design_ module and replace this one. However, this requires that you thoroughly study the design of this module and provide your own implementation for all API hooks, otherwise you may break the whole application.

Module content

  1. Base Jinja2 template providing application layout.

  2. Common macros for Jinja2 templates.

  3. Common forms (delete, disable, enable).

  4. HTML error pages (400, 403, 404, 410, 500).

  5. Various images

  6. Application CSS styles

  7. Application Javascripts

class hawat.blueprints.design_bs3.DesignBlueprint(name, import_name, **kwargs)[source]

Bases: HawatBlueprint

Pluggable module - application design and style (design).

classmethod get_module_title()[source]

Get human readable name for this blueprint/module.

Returns

Name (short summary) of the blueprint/module.

Return type

str

hawat.blueprints.design_bs3.get_blueprint()[source]

Mandatory interface for hawat.Hawat and factory function. This function must return a valid instance of hawat.app.HawatBlueprint or flask.Blueprint.