hawat.blueprints.design package


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


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.DesignBlueprint(name, import_name, **kwargs)[source]

Bases: vial.app.VialBlueprint

Hawat pluggable module - application design and style.

classmethod get_module_title()[source]

Implementation of vial.app.VialBlueprint.get_module_title().


Mandatory interface for vial.Vial and factory function. This function must return a valid instance of vial.app.VialBlueprint or flask.Blueprint.