town6.layout
Attributes
Classes
Contains methods to render a page inheriting from layout.pt. |
|
The default layout meant for the public facing parts of the site. |
|
A special layout for creating HTML E-Mails. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
For steps registered on layouts. |
|
For steps registered on layouts. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
For steps registered on layouts. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
For steps registered on layouts. |
|
The default layout meant for the public facing parts of the site. |
|
Same as the resource layout, but with different editbar links, because |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
For steps registered on layouts. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
For steps registered on layouts. |
|
For steps registered on layouts. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
Module Contents
- class town6.layout.Layout(model: Any, request: onegov.town6.request.TownRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.LayoutContains methods to render a page inheriting from layout.pt.
All pages inheriting from layout.pt rely on this class being present as ‘layout’ variable:
@OrgApp.html(model=Example, template='example.pt', permission=Public) def view_example(self, request): return { 'layout': DefaultLayout(self, request) }
It is meant to be extended for different parts of the site. For example, the
DefaultLayoutincludes the top navigation defined by onegov.page.It’s possible though to have a different part of the website use a completely different top navigation. For that, a new Layout class inheriting from this one should be added.
- property partners: list[PartnerCard][source]
- class town6.layout.DefaultLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.DefaultLayout,LayoutThe default layout meant for the public facing parts of the site.
Returns a list of
onegov.org.elements.Linkobjects. Those links are used for the top navigation.If nothing is returned, no top navigation is displayed.
- class town6.layout.DefaultMailLayout(model: Any, request: onegov.core.request.CoreRequest)[source]
Bases:
onegov.org.layout.DefaultMailLayout,LayoutA special layout for creating HTML E-Mails.
- class town6.layout.AdjacencyListLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.AdjacencyListLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.SettingsLayout(model: Any, request: onegov.org.request.OrgRequest, setting: str | None = None)[source]
Bases:
onegov.org.layout.SettingsLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PageLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.PageLayout,AdjacencyListLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.NewsLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.NewsLayout,AdjacencyListLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.EditorLayout(model: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, site_title: str | None)[source]
Bases:
onegov.org.layout.EditorLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.FormEditorLayout(model: AnyFormDefinitionOrCollection, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.FormEditorLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.FormSubmissionLayout(model: onegov.form.FormSubmission | onegov.form.FormDefinition, request: onegov.town6.request.TownRequest, title: str | None = None, *, hide_steps: bool = False)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.FormSubmissionLayout,DefaultLayoutFor steps registered on layouts.
- class town6.layout.SurveySubmissionLayout(model: onegov.form.models.submission.SurveySubmission | onegov.form.models.definition.SurveyDefinition, request: onegov.town6.request.TownRequest, title: str | None = None, *, hide_steps: bool = False)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.SurveySubmissionLayout,DefaultLayoutFor steps registered on layouts.
- class town6.layout.FormDocumentLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.FormDocumentLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.FormCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.FormCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.SurveySubmissionWindowLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.SurveySubmissionWindowLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.SurveyCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.SurveyCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PersonCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.PersonCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PersonLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.PersonLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TicketsLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.TicketsLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ArchivedTicketsLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.ArchivedTicketsLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TicketLayout(model: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.TicketLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TicketNoteLayout(model: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest, title: str, ticket: None = None)[source]
- class town6.layout.TicketNoteLayout(model: Any, request: onegov.org.request.OrgRequest, title: str, ticket: onegov.ticket.Ticket)
Bases:
onegov.org.layout.TicketNoteLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TicketInvoiceLayout(model: onegov.ticket.Ticket, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.TicketInvoiceLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TicketChatMessageLayout(model: onegov.ticket.Ticket, request: onegov.town6.request.TownRequest, internal: bool = False, *, hide_steps: bool = False)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.TicketChatMessageLayout,DefaultLayoutFor steps registered on layouts.
- class town6.layout.TextModulesLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.TextModulesLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TextModuleLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.TextModuleLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ResourcesLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.ResourcesLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.FindYourSpotLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.FindYourSpotLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ResourceRecipientsLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.ResourceRecipientsLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ResourceRecipientsFormLayout(model: Any, request: onegov.org.request.OrgRequest, title: str)[source]
Bases:
onegov.org.layout.ResourceRecipientsFormLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ResourceLayout(model: onegov.reservation.Resource, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.ResourceLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ReservationLayout(model: onegov.reservation.Resource, request: onegov.town6.request.TownRequest, *, hide_steps: bool = False)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.ReservationLayout,ResourceLayoutFor steps registered on layouts.
- class town6.layout.AllocationRulesLayout(model: onegov.reservation.Resource, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.AllocationRulesLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.AllocationEditFormLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.AllocationEditFormLayout,DefaultLayoutSame as the resource layout, but with different editbar links, because there’s not really an allocation view, but there are allocation forms.
- class town6.layout.OccurrencesLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.OccurrencesLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.OccurrenceLayout(model: onegov.event.Occurrence, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.OccurrenceLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.EventLayout(model: onegov.event.Event, request: onegov.town6.request.TownRequest, *, hide_steps: bool = False)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.EventLayout,DefaultLayoutFor steps registered on layouts.
- class town6.layout.NewsletterLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.NewsletterLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RecipientLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.RecipientLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ImageSetCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.ImageSetCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ImageSetLayout(model: onegov.org.models.ImageSet, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.ImageSetLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.UserManagementLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.UserManagementLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.UserLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.UserLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.UserGroupCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.UserGroupCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.UserGroupLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.UserGroupLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ExportCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.ExportCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PaymentProviderLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.PaymentProviderLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PaymentCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.PaymentCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.TicketInvoiceCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.TicketInvoiceCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.MessageCollectionLayout(model: Any, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.MessageCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.DirectoryCollectionLayout(model: onegov.directory.DirectoryCollection[Any] | onegov.directory.DirectoryEntryCollection[Any], request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.DirectoryCollectionLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.DirectoryEntryCollectionLayout(*args: Any, hide_steps: bool = False, **kwargs: Any)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.DirectoryEntryCollectionLayout,DefaultLayoutFor steps registered on layouts.
- class town6.layout.DirectoryEntryLayout(model: onegov.org.models.ExtendedDirectoryEntry, request: onegov.town6.request.TownRequest, *, hide_steps: bool = False)[source]
Bases:
onegov.stepsequence.extension.StepsLayoutExtension,onegov.org.layout.DirectoryEntryLayout,DefaultLayoutFor steps registered on layouts.
- class town6.layout.PublicationLayout(model: Any, request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.layout.PublicationLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.DashboardLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.DashboardLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.GeneralFileCollectionLayout(model: Any, request: onegov.town6.request.TownRequest)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ImageFileCollectionLayout(model: Any, request: onegov.town6.request.TownRequest)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ExternalLinkLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.ExternalLinkLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.HomepageLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
onegov.org.layout.HomepageLayout,DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ChatLayout(model: Any, request: onegov.town6.request.TownRequest)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.StaffChatLayout(model: Any, request: onegov.town6.request.TownRequest)[source]
Bases:
ChatLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ClientChatLayout(model: Any, request: onegov.town6.request.TownRequest)[source]
Bases:
ChatLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ChatInitiationFormLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.ArchivedChatsLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.MeetingCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.MeetingLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISParliamentarianCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISParliamentarianLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISParliamentarianRoleLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISParliamentaryGroupCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISParliamentaryGroupLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISPartyCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISCommissionCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISCommissionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PoliticalBusinessCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.PoliticalBusinessLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.
- class town6.layout.RISCommissionMembershipLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
DefaultLayoutThe default layout meant for the public facing parts of the site.