Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Aug 2, 2015
1 parent b1d009f commit b734ace
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ class ClusterModelView(ModelView, DeleteMixin):

appbuilder.add_view(
ClusterModelView,
"Clusters",
"Druid Clusters",
icon="fa-server",
category="Admin",
category_icon='fa-envelope')
category_icon='fa-cogs',)


class DatasourceModelView(ModelView, DeleteMixin):
Expand All @@ -100,7 +100,7 @@ def post_update(self, datasource):

appbuilder.add_view(
DatasourceModelView,
"Datasources",
"Druid Datasources",
icon="fa-cube",
category_icon='fa-envelope')

Expand Down Expand Up @@ -176,10 +176,11 @@ def autocomplete(self, datasource, column):

appbuilder.add_view_no_menu(Panoramix)
appbuilder.add_link(
"Refresh Metadata",
"Refresh Druid Metadata",
href='/panoramix/refresh_datasources/',
category='Admin',
icon="fa-cogs")
category_icon='fa-cogs',
icon="fa-cog")

#models.Metric.__table__.drop(db.engine)
db.create_all()

0 comments on commit b734ace

Please sign in to comment.