winterthur.layout

Module Contents

Classes

AddressLayout

The default layout meant for the public facing parts of the site.

AddressSubsetLayout

The default layout meant for the public facing parts of the site.

RoadworkCollectionLayout

The default layout meant for the public facing parts of the site.

RoadworkLayout

The default layout meant for the public facing parts of the site.

DaycareSubsidyCalculatorLayout

The default layout meant for the public facing parts of the site.

MissionReportLayout

The default layout meant for the public facing parts of the site.

Attributes

MissionReportContext

winterthur.layout.MissionReportContext: typing_extensions.TypeAlias[source]
class winterthur.layout.AddressLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.org.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

A of onegov.org.elements.LinkGroup classes. Each of them will be shown in the top editbar, with the group title being the dropdown title.

class winterthur.layout.AddressSubsetLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.org.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

class winterthur.layout.RoadworkCollectionLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.org.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

class winterthur.layout.RoadworkLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.org.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

class winterthur.layout.DaycareSubsidyCalculatorLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.org.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

class winterthur.layout.MissionReportLayout(model: MissionReportContext, request: onegov.winterthur.request.WinterthurRequest, *suffixes: onegov.core.elements.Link)[source]

Bases: onegov.org.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

model: MissionReportContext[source]
breadcrumbs_iter() Iterator[Link][source]
breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

image_upload_url() str[source]

Returns the url to the image upload action.

image_upload_json_url() str[source]

Adds the json url for image uploads.

A of onegov.org.elements.LinkGroup classes. Each of them will be shown in the top editbar, with the group title being the dropdown title.