Обсуждение: pgAdmin 4 commit: Using bootstrap-swtich for creating a custom backform

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

pgAdmin 4 commit: Using bootstrap-swtich for creating a custom backform

От
Ashesh Vashi
Дата:
Using bootstrap-swtich for creating a custom backform control for
boolean values. (Modified quite a lot by Ashesh, before committing).

This patch also allow to set the header class in the backgrid through
setting  'cellHeaderClass' property of the schema object for any of the
node. It will allow us to set the different behaviour of the cell in the
list. One of the test case for it is: this will allow us to set the
different width of each column in the list using CSS class(es).

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c3b517cb91de4288de9a4762b89ce4ffff4b7ebe
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>

Modified Files
--------------
libraries.txt                                      |    1 +
.../servers/templates/servers/servers.js           |   15 +-
.../browser/templates/browser/js/collection.js     |    2 +-
web/pgadmin/browser/templates/browser/js/node.js   |   16 +-
web/pgadmin/static/css/bootstrap-switch.css        |  195 +++++
web/pgadmin/static/css/bootstrap-switch.min.css    |   22 +
web/pgadmin/static/css/overrides.css               |   18 +
web/pgadmin/static/js/backform.pgadmin.js          |   80 ++-
web/pgadmin/static/js/backgrid/backgrid.pgadmin.js |   11 +
web/pgadmin/static/js/bootstrap-switch.js          |  744 ++++++++++++++++++++
web/pgadmin/static/js/bootstrap-switch.min.js      |   22 +
web/pgadmin/templates/base.html                    |    8 +-
12 files changed, 1122 insertions(+), 12 deletions(-)