dash.contrib.layouts.bootstrap2 package

Submodules

dash.contrib.layouts.bootstrap2.apps module

class dash.contrib.layouts.bootstrap2.apps.Config(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

Config.

label = 'dash_contrib_layouts_bootstrap2'
name = 'dash.contrib.layouts.bootstrap2'

dash.contrib.layouts.bootstrap2.conf module

dash.contrib.layouts.bootstrap2.conf.get_setting(setting, override=None)[source]

Get setting.

Get a setting from dash.contrib.layouts.bootstrap2 conf module, falling back to the default.

If override is not None, it will be used instead of the setting.

Parameters:
  • setting – String with setting name
  • override – Value to use when no setting is available. Defaults to None.
Returns:

Setting value.

dash.contrib.layouts.bootstrap2.dash_layouts module

class dash.contrib.layouts.bootstrap2.dash_layouts.Bootstrap2FluidLayout(user=None)[source]

Bases: dash.base.BaseDashboardLayout

Bootstrap 2 Fluid layout.

cell_units = 'px'
edit_template_name = 'bootstrap2/fluid_edit_layout.html'
form_snippet_template_name = 'bootstrap2/snippets/generic_form_snippet.html'
get_view_template_name(request=None, origin=None)[source]

Override the master view template for public dashboard app.

media_css = ('bootstrap2/css/bootstrap.css', 'bootstrap2/css/dash_layout_bootstap2_fluid.css')
media_js = ('bootstrap2/js/bootstrap.js', 'bootstrap2/js/dash_layout_bootstap2_fluid.js')
name = 'Bootstrap 2 Fluid'
placeholders = [<class 'dash.contrib.layouts.bootstrap2.dash_layouts.Bootstrap2FluidMainPlaceholder'>]
plugin_widgets_template_name_ajax = 'bootstrap2/plugin_widgets_ajax.html'
uid = 'bootstrap2_fluid'
view_template_name = 'bootstrap2/fluid_view_layout.html'

dash.contrib.layouts.bootstrap2.dash_plugins module

dash.contrib.layouts.bootstrap2.dash_widgets module

class dash.contrib.layouts.bootstrap2.dash_widgets.BaseBookmarkBootstrapTwoWidget(plugin)[source]

Bases: dash.contrib.plugins.url.dash_widgets.BaseBookmarkWidget

Base Bookmark plugin widget for Bootstrap 2 Fluid layout.

media_css = ('css/dash_plugin_bookmark_bootstrap2.css',)
class dash.contrib.layouts.bootstrap2.dash_widgets.URLBootstrapTwo1x1Bootstrap2FluidMainWidget(plugin)[source]

Bases: dash.contrib.plugins.url.dash_widgets.BaseURLWidget

URL plugin 1x1 widget for Bootstrap 2 Fluid layout.

Placeholder main widget.

layout_uid = 'bootstrap2_fluid'
media_css = ('css/dash_plugin_url_bootstrap2.css',)
placeholder_uid = 'main'
plugin_uid = 'url_bootstrap_two_1x1'
class dash.contrib.layouts.bootstrap2.dash_widgets.URLBootstrapTwo2x2Bootstrap2FluidMainWidget(plugin)[source]

Bases: dash.contrib.layouts.bootstrap2.dash_widgets.URLBootstrapTwo1x1Bootstrap2FluidMainWidget

URL2x2 plugin widget for Bootstrap 2 Fluid layout.

Placeholder main widget.

cols = 2
plugin_uid = 'url_bootstrap_two_2x2'
rows = 2

dash.contrib.layouts.bootstrap2.defaults module

dash.contrib.layouts.bootstrap2.forms module

dash.contrib.layouts.bootstrap2.settings module

Module contents