pgadmin4/web/pgadmin/misc
Ashesh Vashi fd3ddbeafb Implementation of the client side 'url_for(...)' function.
Created a url_for function module to be used by different javascript
modules to use the same functionality of flask at client side.

A python module can expose the list of endpoints, used by its
javascripts, by overriding the 'get_exposed_url_endpoints(self)'
function.

In this patch, we have modified all the browser modules to use this
function. It will allow us to move the majority of the javascript
modules of browser nodes from templates directory to the static
directory.

TODO::
- Move these javascripts modules to the static directory.
- Use this function in all the applicable javascript modules.
  e.g. tools, miscellaneous modules
2017-06-12 12:01:25 +05:30
..
bgprocess Using the client-side translation using the client-side 'gettext' 2017-06-07 15:53:05 +05:30
depends Using the client-side translation using the client-side 'gettext' 2017-06-07 15:53:05 +05:30
file_manager Using the client-side translation using the client-side 'gettext' 2017-06-07 15:53:05 +05:30
sql Using the client-side translation using the client-side 'gettext' 2017-06-07 15:53:05 +05:30
static/explain Fix translation extraction for new client side translations, and update catalogs. 2017-03-28 15:21:49 -04:00
statistics Using the client-side translation using the client-side 'gettext' 2017-06-07 15:53:05 +05:30
templates Fix display of graphical query plans for UPDATE/DELETE queries. Fixes #2133 2017-02-06 10:43:31 +00:00
__init__.py Implementation of the client side 'url_for(...)' function. 2017-06-12 12:01:25 +05:30