Icon and toolbar cleanup/consistency.

This commit is contained in:
Dave Page
2016-04-15 13:29:57 +01:00
parent 58fcbd943a
commit 4d7d3bd5e1
9 changed files with 70 additions and 49 deletions

View File

@@ -28,18 +28,21 @@ class HelpModule(PgAdminModule):
label=gettext('Online Help'),
priority=100,
target='_blank',
icon='fa fa-question',
url=url_for('help.static', filename='index.html')),
MenuItem(name='mnu_pgadmin_website',
label= gettext('pgAdmin Website'),
priority= 200,
target= '_blank',
icon='fa fa-external-link',
url= 'http://www.pgadmin.org/' ),
MenuItem(name= 'mnu_postgresql_website',
label= gettext('PostgreSQL Website'),
priority= 300,
target= '_blank',
icon='fa fa-external-link',
url= 'http://www.postgresql.org/' )]}
def get_panels(self):
@@ -48,21 +51,25 @@ class HelpModule(PgAdminModule):
name='pnl_online_help',
priority=100,
title=gettext('Online Help'),
icon='fa fa-question',
content=url_for('help.static', filename='index.html')),
Panel(name='pnl_pgadmin_website',
priority=200,
title=gettext('pgAdmin Website'),
icon='fa fa-external-link',
content='http://www.pgadmin.org/'),
Panel(name='pnl_postgresql_website',
priority=300,
title=gettext('PostgreSQL Website'),
icon='fa fa-external-link',
content='http://www.postgresql.org/'),
Panel(name='pnl_sql_help',
priority=400,
isPrivate=True,
icon='fa fa-info',
title=gettext('SQL Help'))]
def register_preferences(self):