foundation6.integration

Module Contents

Classes

FoundationApp

Baseclass for Morepath OneGov applications.

FoundationLayout

Extends the base layout class with methods related to chameleon

Functions

get_foundation_js_path(→ str)

get_foundation_js_assets(→ Iterator[str])

class foundation6.integration.FoundationApp[source]

Bases: onegov.core.Framework

Baseclass for Morepath OneGov applications.

foundation6.integration.get_foundation_js_path() str[source]
foundation6.integration.get_foundation_js_assets() Iterator[str][source]
class foundation6.integration.FoundationLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.core.layout.ChameleonLayout

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.