Beispiel #1
0
    def get_panels(self):
        return [
            Panel(
                name='pnl_online_help',
                priority=100,
                isPrivate=True,
                title=gettext('Online Help'),
                icon='fa fa-question').__dict__,

            Panel(
                name='pnl_pgadmin_website',
                priority=200,
                title=gettext('pgAdmin Website'),
                icon='fa fa-external-link',
                content='https://www.pgadmin.org/').__dict__,

            Panel(
                name='pnl_postgresql_website',
                priority=300,
                title=gettext('PostgreSQL Website'),
                icon='fa fa-external-link',
                content='http://www.postgresql.org/').__dict__,

            Panel(
                name='pnl_sql_help',
                priority=400,
                isPrivate=True,
                icon='fa fa-info',
                title=gettext('SQL Help')).__dict__]
Beispiel #2
0
 def get_panels(self):
     return [
         Panel(name='pnl_online_help',
               priority=100,
               isPrivate=True,
               title=gettext('Online Help'),
               icon='fa fa-question').__dict__,
         Panel(name='pnl_sql_help',
               priority=200,
               isPrivate=True,
               icon='fa fa-info',
               title=gettext('SQL Help')).__dict__
     ]
Beispiel #3
0
 def get_panels(self):
     return [
         Panel(name='dashboard',
               priority=1,
               title=gettext('Dashboard'),
               icon='fa fa-tachometer',
               content='',
               isCloseable=False,
               isPrivate=True,
               isIframe=False)
     ]
Beispiel #4
0
 def get_panels(self):
     return [
         Panel(name='dashboard',
               priority=1,
               title=gettext('Dashboard'),
               icon='',
               content='',
               is_closeable=True,
               is_private=False,
               limit=1,
               is_iframe=False,
               can_hide=True).__dict__
     ]