Beispiel #1
0
__title__ = 'fobi.contrib.themes.foundation5.widgets.form_handlers.db_store_foundation5_widget.fobi_form_elements'
__author__ = 'Artur Barseghyan <*****@*****.**>'
__copyright__ = 'Copyright (c) 2014 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = ('DbStorePluginWidget', )

from fobi.base import form_handler_plugin_widget_registry
from fobi.contrib.themes.foundation5 import UID
from fobi.contrib.plugins.form_handlers.db_store.widgets import (
    BaseDbStorePluginWidget)


class DbStorePluginWidget(BaseDbStorePluginWidget):
    """
    DbStore plugin widget for Foundation 5.
    """
    theme_uid = UID
    view_entries_icon_class = 'fi-list'
    export_entries_icon_class = 'fi-page-export'
    view_saved_form_data_entries_template_name = \
        'db_store_foundation5_widget/view_saved_form_data_entries.html'


# Registering the widget
form_handler_plugin_widget_registry.register(DbStorePluginWidget)
__title__ = 'fobi.contrib.themes.djangocms_admin_style_theme.widgets.form_handlers.db_store.fobi_form_elements'
__author__ = 'Artur Barseghyan <*****@*****.**>'
__copyright__ = 'Copyright (c) 2015 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = ('DbStorePluginWidget',)

from fobi.base import form_handler_plugin_widget_registry
from fobi.contrib.themes.djangocms_admin_style_theme import UID
from fobi.contrib.plugins.form_handlers.db_store.widgets import (
    BaseDbStorePluginWidget
)

class DbStorePluginWidget(BaseDbStorePluginWidget):
    """
    DbStore plugin widget for djangocms_admin_style_theme theme.
    """
    theme_uid = UID
    view_entries_icon_class = ''
    export_entries_icon_class = ''


# Registering the widget
form_handler_plugin_widget_registry.register(DbStorePluginWidget)