iommi_demo.app.pages

Classes

IndexPage

Simple index page.

RankingPage

Ranking of cat owners by number of cats

HelpPage

Simple help page.

PrivacyPage

Simple privacy page.

Module Contents

class iommi_demo.app.pages.IndexPage(**kwargs)

Bases: iommi.Page

Simple index page.

header
p
class iommi_demo.app.pages.RankingPage(**kwargs)

Bases: iommi.Page

Ranking of cat owners by number of cats

h1
p
table
plotly
class Meta
static extra_evaluated__plotly(params: dict[str, Any], **_) str

Loads data from the database, and renders it into a plot.

Parameters:

params – The page parameters, including the load function it’s for.

Returns:

A div containing the rendered plot (or an empty string if no plot is needed).

class iommi_demo.app.pages.HelpPage(**kwargs)

Bases: iommi.Page

Simple help page.

header
paragraph
class iommi_demo.app.pages.PrivacyPage(**kwargs)

Bases: iommi.Page

Simple privacy page.

header
paragraph