wtfs.layouts.scan_job

Module Contents

Classes

ScanJobsLayout

Extends the base layout class with methods related to chameleon

ScanJobLayout

Extends the base layout class with methods related to chameleon

AddScanJobLayout

Extends the base layout class with methods related to chameleon

EditScanJobLayout

Extends the base layout class with methods related to chameleon

DeliveryNoteLayout

Extends the base layout class with methods related to chameleon

class wtfs.layouts.scan_job.ScanJobsLayout(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]
class wtfs.layouts.scan_job.ScanJobLayout(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]
subtitle() str[source]
breadcrumbs() list[onegov.core.elements.Element][source]
class wtfs.layouts.scan_job.AddScanJobLayout(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]
cancel_url() str[source]
success_url() str[source]
class wtfs.layouts.scan_job.EditScanJobLayout(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]
cancel_url() str[source]
success_url() str[source]
class wtfs.layouts.scan_job.DeliveryNoteLayout(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]