| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | pgadmin-hackers(at)postgresql(dot)org |
| Subject: | pgAdmin 4 commit: Update the backform control to support sql-fields. |
| Date: | 2016-03-22 16:36:59 |
| Message-ID: | E1aiPIh-0004n1-J9@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Update the backform control to support sql-fields.
Following are the enhancements:
1. Added border to control which was missing earlier.
2. Allows user to provide height to sql-field control by specifying extraClasses field in model schema.
3. Defined new classes for sql-field control height in overrides.css
4. Added scrollbar to the control.
Usage:
{
id: 'definition', label:'{{ _("Definition") }}', cell: 'string',
type: 'text', mode: ['create', 'edit'], group: 'Definition',
control: Backform.SqlFieldControl, extraClasses:['custom_height_css_class']
}
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=03349f4af65e2e4bbf4a24e278b4cc7affd44167
Author: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Modified Files
--------------
web/pgadmin/static/css/overrides.css | 42 ++++++++++++++++++++++++++++++-
web/pgadmin/static/js/backform.pgadmin.js | 17 ++++++++++++-
2 files changed, 57 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2016-03-22 16:41:37 | Re: [PATCH] Enhancement in sql-field control [pgAdmin4] |
| Previous Message | Dave Page | 2016-03-22 15:35:26 | Re: On restarting/reloading the server establish the connections with database server smoothly |