swissvotes.layouts.mail

Classes

MailLayout

A special layout for creating HTML E-Mails.

Module Contents

class swissvotes.layouts.mail.MailLayout(model: Any, request: onegov.swissvotes.request.SwissvotesRequest)[source]

Bases: onegov.swissvotes.layouts.default.DefaultLayout

A special layout for creating HTML E-Mails.

property base: chameleon.PageTemplateFile[source]

Returns the layout, which defines the base layout of all pages.

See templates/layout.pt.

property primary_color: str[source]