--- a/src/pyams_alchemy/zmi/engine.py Wed Mar 04 14:10:32 2015 +0100
+++ b/src/pyams_alchemy/zmi/engine.py Wed Mar 04 14:23:39 2015 +0100
@@ -9,10 +9,6 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
-from z3c.table.column import GetAttrColumn
-from pyams_form.interfaces.form import IWidgetsSuffixViewletsManager
-from pyams_skin.table import BaseTable
-from pyams_template.template import template_config
__docformat__ = 'restructuredtext'
@@ -21,6 +17,7 @@
# import interfaces
from pyams_alchemy.interfaces import IAlchemyEngineUtility
+from pyams_form.interfaces.form import IWidgetsSuffixViewletsManager
from pyams_skin.interfaces.viewlet import IToolbarAddingMenu, ITableItemColumnActionsMenu
from pyams_skin.layer import IPyAMSLayer
from pyams_zmi.layer import IAdminLayer
@@ -32,7 +29,9 @@
from pyams_form.form import AJAXEditForm, AJAXAddForm
from pyams_form.schema import CloseButton
from pyams_pagelet.pagelet import pagelet_config
+from pyams_skin.table import BaseTable
from pyams_skin.viewlet.toolbar import ToolbarMenuItem
+from pyams_template.template import template_config
from pyams_utils.registry import query_utility
from pyams_utils.url import absolute_url
from pyams_viewlet.viewlet import viewlet_config, Viewlet
@@ -41,6 +40,7 @@
from pyramid.events import subscriber
from pyramid.view import view_config
from z3c.form import field, button
+from z3c.table.column import GetAttrColumn
from zope.interface import Interface, Invalid
from zope.schema import Text
@@ -134,6 +134,7 @@
"""SQLAlchemy engine test menu"""
label = _("Test connection...")
+ label_css_class = 'fa fa-fw fa-play'
url = 'test-sqlalchemy-engine.html'
modal_target = True
stop_propagation = True