wtfs.layouts.report

Module Contents

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

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.

title() str[source]
breadcrumbs() list[onegov.core.elements.Element][source]
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.

subtitle() str[source]
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.

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.

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.

title() str[source]
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.

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.

title() str[source]
subtitle() str[source]