Tayrakit

HTML. CSS. Widgets

tayrakit.interfaces – Widget Interfaces

Module contents

class tayrakit.interfaces.ITTLBreadCrumbs[source]

Bases: pluggdapps.plugin.Interface

Interface for template plugins providing breadcrumb navigation.

render(navigate, crumbsmenu, **kwargs)[source]

Generate and return HTML for breadcrumb widget.

navigate,
List of tuples (name, url) providing the name of the bread-crumb and optional url.
breadmenu,
Map of breadcrumb name, provided in navigate attribute, and a list of tuple (name, url). Each tuple is rendered as a menu-item.

Optional keyword arguments,

id,
If specified will be used as id attribute for the widget node.
class tayrakit.interfaces.ITTLFooter[source]

Bases: pluggdapps.plugin.Interface

Interface to render pluggdapps official footer.

render(counts, **kwargs)[source]

Generate and return HTML pluggdapps footer.

counts,
A dictionary of, number of interfaces and number plugin count.

Optional keyword arguments,

id,
If specified will be used as id attribute for the widget node.

Table Of Contents

Related Topics

This Page