pgadmin4/web/pgadmin
Ronan Dunklau eb6580b43a Introduced a PgAdmin class inherited from the Flask, which looks for
submodules inherited from the PgAdminModule instead of regular
Blueprint. This allows us to load the module automatically from the
under the pgadmin directory, and will work to extend the pgAdmin
extension module.

PgAdminModule is inherited from the Blueprint, and bring several
methods:
-  get_own_stylesheets, which returns the stylesheets used by the module
   (excluding its submodules stylesheets)
- get_own_javascripts
- menu_items, which returns a dictionray mapping the old hook names
  (context_items etc) to a list of MenuItem instances

For more specialized modules (as for now, any module that should be part
of the browser tree construction), one can define an abstract base class
defining additional methods.

For example, the BrowserPluginModule abstract base class defines the
following methods:
- jssnippets
- csssnipeets
- node_type
- get_nodes
2015-06-29 12:28:41 +05:30
..
about Handle standard menu items defined by Nodes in the browser. 2015-03-13 10:35:12 +00:00
browser Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
help Handle standard menu items defined by Nodes in the browser. 2015-03-13 10:35:12 +00:00
misc Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
redirects Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
settings Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
static Handle standard menu items defined by Nodes in the browser. 2015-03-13 10:35:12 +00:00
templates Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
test More misc fixes. 2015-02-25 20:30:09 +00:00
translations/fr/LC_MESSAGES Fix i18n for the docking system. 2015-03-03 10:51:29 +00:00
utils Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
__init__.py Introduced a PgAdmin class inherited from the Flask, which looks for 2015-06-29 12:28:41 +05:30
messages.pot Fix i18n for the docking system. 2015-03-03 10:51:29 +00:00