pgAdmin 4 commit: Introduced a mechanism to load required javascripts a
От | Ashesh Vashi |
---|---|
Тема | pgAdmin 4 commit: Introduced a mechanism to load required javascripts a |
Дата | |
Msg-id | E1Z9oYM-0004zc-5r@gothos.postgresql.org обсуждение исходный текст |
Список | pgadmin-hackers |
Introduced a mechanism to load required javascripts at runtime (lazy loading) using the require.js. This allows us to load the javascript required for any node, only when it was loaded in the browser tree. Also, introduced the mechanism to show/edit/create of any node in a tab panel (wcDocker.Panel). Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=aa150030eb672a78b0344b8a1e9f7e376a5007ec Modified Files -------------- .gitignore | 1 + web/config.py | 3 +- web/pgAdmin4.py | 20 +- web/pgadmin/__init__.py | 18 +- web/pgadmin/about/__init__.py | 23 +- web/pgadmin/about/templates/about/about.js | 67 +- web/pgadmin/about/templates/about/index.html | 4 +- web/pgadmin/browser/__init__.py | 186 +- web/pgadmin/browser/server_groups/__init__.py | 132 +- .../browser/server_groups/servers/__init__.py | 321 +- .../servers/templates/servers/servers.js | 243 +- .../templates/server_groups/server_groups.js | 209 +- .../browser/static/js/aciTree/jquery.aciTree.js | 6985 ++++++++++++++++++++ web/pgadmin/browser/static/js/frame.js | 49 + web/pgadmin/browser/static/js/menu.js | 127 + web/pgadmin/browser/static/js/panel.js | 51 + web/pgadmin/browser/templates/browser/css/node.css | 4 + web/pgadmin/browser/templates/browser/index.html | 78 +- .../browser/templates/browser/js/browser.js | 875 ++- web/pgadmin/browser/templates/browser/js/error.js | 46 + web/pgadmin/browser/templates/browser/js/node.js | 846 +++ web/pgadmin/browser/utils.py | 119 +- web/pgadmin/help/__init__.py | 6 +- web/pgadmin/redirects/__init__.py | 10 + web/pgadmin/settings/__init__.py | 2 - web/pgadmin/settings/settings_model.py | 14 +- web/pgadmin/static/css/bootstrap-datepicker3.css | 751 +++ web/pgadmin/static/css/bootstrap-theme.css | 10 +- web/pgadmin/static/css/bootstrap-theme.css.map | 2 +- web/pgadmin/static/css/bootstrap-theme.min.css | 6 +- web/pgadmin/static/css/bootstrap.css | 326 +- web/pgadmin/static/css/bootstrap.css.map | 2 +- web/pgadmin/static/css/bootstrap.min.css | 6 +- web/pgadmin/static/css/font-awesome.css | 1801 +++++ web/pgadmin/static/css/font-awesome.min.css | 4 + web/pgadmin/static/css/font-mfizz.css | 318 + web/pgadmin/static/css/overrides.css | 268 +- web/pgadmin/static/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes web/pgadmin/static/fonts/font-mfizz.eot | Bin 0 -> 43154 bytes web/pgadmin/static/fonts/font-mfizz.svg | 1344 ++++ web/pgadmin/static/fonts/font-mfizz.ttf | Bin 0 -> 45324 bytes web/pgadmin/static/fonts/font-mfizz.woff | Bin 0 -> 29056 bytes web/pgadmin/static/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes web/pgadmin/static/fonts/fontawesome-webfont.svg | 565 ++ web/pgadmin/static/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes web/pgadmin/static/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes web/pgadmin/static/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../static/fonts/glyphicons-halflings-regular.eot | Bin 20335 -> 20127 bytes .../static/fonts/glyphicons-halflings-regular.svg | 485 +- .../static/fonts/glyphicons-halflings-regular.ttf | Bin 41280 -> 45404 bytes .../static/fonts/glyphicons-halflings-regular.woff | Bin 23320 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes .../static/js/alertifyjs/pgadmin.defaults.js | 12 +- web/pgadmin/static/js/backbone-min.js | 2 + web/pgadmin/static/js/backbone.js | 1608 +++++ web/pgadmin/static/js/backform.js | 584 ++ web/pgadmin/static/js/backform.pgadmin.js | 192 + web/pgadmin/static/js/bootstrap-datepicker.js | 1813 +++++ web/pgadmin/static/js/bootstrap-datepicker.min.js | 8 + web/pgadmin/static/js/bootstrap.js | 285 +- web/pgadmin/static/js/bootstrap.min.js | 8 +- web/pgadmin/static/js/codemirror/mode/sql.js | 4 +- web/pgadmin/static/js/pgadmin.js | 16 + web/pgadmin/static/js/require.js | 2083 ++++++ web/pgadmin/static/js/require.min.js | 36 + web/pgadmin/static/js/underscore-min.js | 6 + web/pgadmin/static/js/underscore.js | 1548 +++++ web/pgadmin/static/js/underscore.string.js | 1065 +++ web/pgadmin/static/js/underscore.string.min.js | 1 + web/pgadmin/templates/base.html | 58 +- web/pgadmin/templates/security/fields.html | 2 +- web/pgadmin/test/__init__.py | 38 +- web/pgadmin/test/static/js/test.js | 131 +- web/pgadmin/utils/__init__.py | 10 +- web/pgadmin/utils/ajax.py | 24 +- web/pgadmin/utils/menu.py | 16 +- web/setup.py | 50 +- 77 files changed, 24518 insertions(+), 1409 deletions(-)
В списке pgadmin-hackers по дате отправления:
Предыдущее
От: Ashesh VashiДата:
Сообщение: pgAdmin 4 commit: Inherited the test, about & help module from PgAdminM
Следующее
От: Ashesh VashiДата:
Сообщение: pgAdmin 4 commit: Fixed the letter case of the javascript file names.