Обсуждение: pgAdmin 4 commit: Add automatic browser menu integration for modules.

Поиск
Список
Период
Сортировка

pgAdmin 4 commit: Add automatic browser menu integration for modules.

От
Dave Page
Дата:
Add automatic browser menu integration for modules.

Modules may now include functions that return lists of menu items
that will be included on the main browser window menu. While we're
at it, move the test views into a separate module.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d492da3ca100ef082f7e2376c33e3b28a422194e

Modified Files
--------------
web/pgadmin/__init__.py                          |   18 +++++++---
web/pgadmin/about/browser.py                     |   18 ++++++++++
web/pgadmin/about/templates/about/index.html     |    1 +
web/pgadmin/about/views.py                       |   27 ++++++++++++++
web/pgadmin/browser/templates/browser/index.html |   28 +++++++++++++--
web/pgadmin/browser/views.py                     |   42 ++++++++++++++++++++--
web/pgadmin/test/browser.py                      |   16 +++++++++
web/pgadmin/test/views.py                        |   35 ++++++++++++++++++
web/pgadmin/utils/views.py                       |   16 ---------
9 files changed, 176 insertions(+), 25 deletions(-)