election_day.layouts.archive

Classes

ArchiveLayout

Extends the base layout class with methods related to chameleon

Module Contents

class election_day.layouts.archive.ArchiveLayout(model: onegov.election_day.collections.SearchableArchivedResultCollection, request: onegov.election_day.request.ElectionDayRequest)[source]

Bases: onegov.election_day.layouts.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.

model: onegov.election_day.collections.SearchableArchivedResultCollection[source]
property menu: list[tuple[str, str, bool]][source]
property tab_menu_title: str[source]