pgAdmin 4 commit: Allow to load the stylesheets of addons at runtime.

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Allow to load the stylesheets of addons at runtime.
Date: 2017-09-21 17:30:14
Message-ID: E1dv5Ik-0000kB-Aj@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Allow to load the stylesheets of addons at runtime.

- Introduced a PgAdminModule method 'get_addon_stylesheets' to get the
list of addons exposed by any addons for a particular module.
- Renamed the 'get_javascript_entries' method to 'get_addon_javascripts'
to match the name with 'get_addon_stylesheets'.

Branch
------
WEBPACK_DEVEL

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

Modified Files
--------------
web/pgadmin/__init__.py | 34 +++++++++++++++++++++---
web/pgadmin/browser/__init__.py | 3 ++-
web/pgadmin/browser/templates/browser/index.html | 7 +++++
web/pgadmin/tools/__init__.py | 4 +--
web/pgadmin/utils/__init__.py | 31 ++++++++++++++++++---
5 files changed, 68 insertions(+), 11 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-09-22 09:36:58 Re: pgAdmin 4 commit: Tree view icons
Previous Message Ashesh Vashi 2017-09-21 16:28:13 pgAdmin 4 commit: 'jquery.acitree.utils.js' is required to work the aci