runtimepy.net.server.app.bootstrap package#
Submodules#
runtimepy.net.server.app.bootstrap.elements module#
A module for creating various bootstrap-related elements.
- runtimepy.net.server.app.bootstrap.elements.bootstrap_button(text: str, tooltip: str = None, color: str = 'secondary', **kwargs) Element[source]#
Create a bootstrap button.
- runtimepy.net.server.app.bootstrap.elements.collapse_button(target: str, tooltip: str = None, icon: str = 'arrows-collapse-vertical', toggle: str = 'collapse', **kwargs) Element[source]#
Create a collapse button.
- runtimepy.net.server.app.bootstrap.elements.flex(kind: str = 'row', **kwargs) Element[source]#
Get a flexbox row container.
- runtimepy.net.server.app.bootstrap.elements.input_box(parent: Element, label: str = 'filter', pattern: str = '.*', description: str = None, **kwargs) None[source]#
Create command input box.
runtimepy.net.server.app.bootstrap.tabs module#
A module implementing interfaces for creating tabbed content with bootstrap.
- class runtimepy.net.server.app.bootstrap.tabs.TabbedContent(name: str, parent: Element)[source]#
Bases:
objectA tabbed-content container.
Create a navigation button.
Create a navigation container element.
Module contents#
A module implementing interfaces to include Bootstrap (https://getbootstrap.com/) in an application.
- runtimepy.net.server.app.bootstrap.add_bootstrap_css(element: Element) None[source]#
Add boostrap CSS sources as a child of element.