wtfs.layouts.report

Classes

ReportLayout

Extends the base layout class with methods related to chameleon

SpecificReportBaseLayout

Extends the base layout class with methods related to chameleon

ReportBoxesLayout

Extends the base layout class with methods related to chameleon

ReportBoxesAndFormsLayout

Extends the base layout class with methods related to chameleon

ReportFormsByMunicipalityLayout

Extends the base layout class with methods related to chameleon

ReportFormsAllMunicipalitiesLayout

Extends the base layout class with methods related to chameleon

ReportBoxesAndFormsByDeliveryLayout

Extends the base layout class with methods related to chameleon

Module Contents

class wtfs.layouts.report.ReportLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.wtfs.layouts.default.DefaultLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
property dates: str[source]
class wtfs.layouts.report.SpecificReportBaseLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.wtfs.layouts.default.DefaultLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property subtitle: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
class wtfs.layouts.report.ReportBoxesLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificReportBaseLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
class wtfs.layouts.report.ReportBoxesAndFormsLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificReportBaseLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
class wtfs.layouts.report.ReportFormsByMunicipalityLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificReportBaseLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property subtitle: str[source]
class wtfs.layouts.report.ReportFormsAllMunicipalitiesLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificReportBaseLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
class wtfs.layouts.report.ReportBoxesAndFormsByDeliveryLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificReportBaseLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property subtitle: str[source]