Ashesh Vashi
52aa32a4d2
background-position-x and background-position-y are not supported on the
...
browser, using background-position instead which is supported in all the
supported browsers.
2016-04-25 13:45:54 +05:30
Murtuza Zabuawala
973e2b1b4a
Match the border style of the inline-fieldset with the other control.
2016-04-25 13:34:51 +05:30
Ashesh Vashi
0e50f4b1f3
Fixed the issue - preferences were saved.
...
It was regression of the commit-id:
533aaa2fa3
.
2016-04-25 11:54:02 +05:30
Ashesh Vashi
a5aa6d159a
Updated the CodeMirror to the latest stable version (5.14.2).
...
It has now the 'sql/x-pgsql' mode, which will make the queries more
familiar, and lot more improved addons.
2016-04-22 15:28:34 +05:30
Ashesh Vashi
9aee9794c1
Fix the properties toolbar at the top of the panel so it's always
...
visible.
This patch also introduce a callback 'onCreate' for each panel, and
frame, which will be called whenever a panel/frame is being created.
2016-04-18 12:38:56 +05:30
Ashesh Vashi
7522d89890
We would not like to make the overflow hidden for the main panel class
...
''pg-panel-content'.
This reverts commit 8dd8fc57a4
.
2016-04-18 12:12:47 +05:30
Ashesh Vashi
8dd8fc57a4
Revert "Revert "Fix the properties toolbar at the top of the panel so it's always visible.""
...
This reverts commit e210d2b580
.
2016-04-18 12:10:19 +05:30
Dave Page
e210d2b580
Revert "Fix the properties toolbar at the top of the panel so it's always visible."
...
This reverts commit 6e42e48244
.
2016-04-15 15:47:14 +01:00
Arun Kollan
533aaa2fa3
Restyle alertify dialogues so they look like the rest of the app. Still some tweaks needed, but we're 95% of the way there.
2016-04-15 15:30:50 +01:00
Ashesh Vashi
6e42e48244
Fix the properties toolbar at the top of the panel so it's always visible.
2016-04-15 14:44:09 +01:00
Dave Page
4d7d3bd5e1
Icon and toolbar cleanup/consistency.
2016-04-15 13:32:17 +01:00
Dave Page
cf80db66a6
Confine whitespace prewrap to the SQL Editor's output grid to prevent it breaking subnode forms.
2016-04-15 11:11:32 +01:00
Akshay Joshi
c6acbcb5ad
Query tool/data editor initial version
2016-04-14 15:04:03 +01:00
Surinder Kumar
40c592a988
Grant wizard.
2016-04-13 16:11:43 +01:00
Arun Kollan
0fb0820c64
Fix CodeMirror borders on dialogues.
2016-04-13 12:24:46 +01:00
Seçkin Alan
de2e7bf8f1
Fix the mouse pointer on the top-level menus.
2016-04-13 09:58:38 +01:00
Dave Page
d53ab31eb8
Button bar styling:
...
- Left justify the top button bar and match the style of the query tool
- Allow buttons to have tooltips and optional labels
2016-04-08 11:58:47 +01:00
Ashesh Vashi
66441e673a
The icons in the Select2Cell, and Select2Control were not visible due to
...
some CSS change.
2016-04-08 11:10:34 +05:30
Dave Page
4ec4b4f43e
Improve dialog title bar colouring.
2016-04-07 22:05:55 +01:00
Arun Kollan
22841f8664
Cleanup styling of wcDocker tab control buttons.
2016-04-07 13:40:16 +01:00
Murtuza Zabuawala
3914f5095a
Fix sub-node error display.
2016-04-07 11:51:16 +01:00
Dave Page
01d6b46838
Minor adjustment to the menu font sizing.
2016-04-05 17:10:12 +01:00
Dave Page
34ef5790ba
Revert style change introduced in commit f7e4e8bea0
as it's removing padding from all grids.
2016-04-05 16:45:38 +01:00
Murtuza Zabuawala
f7e4e8bea0
Use separate editor for Select2Cell.
...
This allows us to use the Backgrid key navigation as expected.
This has also resulted into an issue - related unresponsive scrollbar
issue in the SubNodeControl.
2016-04-04 15:36:31 +05:30
Ashesh Vashi
0654bae816
Adding the font used by jQuery-contextmenu (v2.1.0)
2016-04-01 11:57:55 +05:30
Ashesh Vashi
d70535385b
Upgraded the jQuery-contextMenu to v2.1.0 (latest stable version) in
...
order to fix the issue rendering the context menu for longer text.
Needs to do some modification in the existing pgAdmin4 CSS theme to make
it looks like/near the existing look and feel.
2016-03-30 19:08:27 +05:30
Harshal Dhumal
ddd4768937
Backform control for selecting multiple columns.
...
Usage:
{
id: 'columns', label: '{{ _('Columns') }}',
type: 'collection', group: '{{ _('Definition') }}', editable:true,
canDelete: true, canAdd: true, control: Backform.MultiColumnSelectControl,
deps: ['index'], node: 'column',
model: pgBrowser.Node.Model.extend({
keys: ['column'],
defaults: {
column: undefined
}
})
}
Note: When using this control model should have column attribute. And node property should be column.
2016-03-22 16:52:34 +00:00
Surinder Kumar
03349f4af6
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']
}
2016-03-22 16:36:54 +00:00
Arun Kollan
06c0cf607d
Make tabsets look consistent, and square off the properties sections a little.
2016-03-22 13:31:48 +00:00
Murtuza Zabuawala
530f58e66b
Add support for inline fieldsets.
2016-03-18 16:54:43 +00:00
Ashesh Vashi
0fcfaa4ff2
Updated the font-awesome to 4.5 (latest) version.
2016-03-18 01:34:45 +05:30
Ashesh Vashi
96b33d1aa8
Updated the jQuery-contextMenu to 1.9.2 (latest stable) version.
...
Also, added the missing license information about it in the libraries.txt.
2016-03-18 01:11:22 +05:30
Arun Kollan
05e527505d
First pass at improving the dialogue borders.
2016-03-16 17:12:41 +00:00
Khushboo Vashi
3df180831f
Support textareas in backgrid.
2016-03-16 14:48:09 +00:00
Dave Page
62bd1a21cc
Improve message display.
2016-03-15 15:45:40 +00:00
Dave Page
2711d3492d
Reduce column header letter spacing a touch.
2016-03-15 14:12:54 +00:00
Arun Kollan
cdd7a1f637
Subnode collection layout improvements, with additional tweaks from me.
2016-03-15 12:30:01 +00:00
Murtuza Zabuawala
9220dcaa97
Fix an issue with uneditable text fields containing large amounts of data,
2016-03-14 09:31:36 +00:00
Arun Kollan
17ed27fbcd
Make the dialogue control sizing slightly more compact and properly control textarea resizing.
2016-03-10 15:31:43 +00:00
Arun Kollan
5d6c5bc74d
Improve display of error messages on dialogues.
2016-03-09 16:03:24 +00:00
Ashesh Vashi
18d767b107
Updated the wcDocker to make use of wcSplitter (new functionalities),
...
which will be used by the debugger tool.
Updating the wcDocker from the repository -
'https://github.com/WebCabin/wcDocker ' up to commit-id:
0f5690318ce0bf457fdd374dcec7418d22b72e22
2016-02-29 19:36:51 +05:30
Akshay Joshi
b3ff96d2db
Add backgrid extensions for use in various tools: select-all, paginator and filter
2016-02-26 11:08:45 +00:00
Ashesh Vashi
6a071292aa
Adding two new controls tab and fieldset for better layout management
...
used in some of the nodes.
2016-01-17 22:21:05 +05:30
Ashesh Vashi
65f70b46ce
Remove the objects from the session while JSONify the objects, sent to
...
the server.
Also - set width of the select2 container to 100% under backgrid.
2016-01-09 21:55:21 +05:30
Ashesh Vashi
429f585a62
Resolved an issue found generating the URL for some other node from some
...
other.
i.e.
While fetching the database nodes from the role nodes, it was generating
the wrong URL.
Used the parent_type in each node to identify maximum node URL level
using the priority set in the tree node hearachy information, and
generate URL up to that level only.
2016-01-09 19:54:53 +05:30
Ashesh Vashi
1ba9067c60
Introduced the VariableControl, which will be used in role(s),
...
database(s), and tablespace(s).
Thanks Harshal Dhumal for sharing the original patch.
I've modified a lot to work by fetching the variables later by giving a
url.
Also,
- Introduced the template macros for SECURITY LABELS and VARIABLES.
- Improvised the Backform.Control with better syntactic approach.
- Introduced a jquery function pgMakeVisible(..) to make it visible
under any obj which can be identified by unique class.
2016-01-09 18:00:02 +05:30
Ashesh Vashi
3a261b429a
Added select2 as dependency
2016-01-04 23:23:16 +05:30
Harshal Dhumal
6057259bdc
Create the status-bar in the properties dialog, and it will listen for
...
on-status event from the model.
2016-01-04 13:35:11 +05:30
Ashesh Vashi
c51ecc69e4
Resolved few intialization issue with Node model data, moved the
...
privileges functionality out of the backform.pgadmin.js to make it more
modular. Now - privileges will expect the privileges data in following
format:
<name_of_the_property> : [{
"privileges": [{
"privilege_type": <privilege_type>,
"privilege": true,
"with_grant": false
},
...
],
"grantee": <grantee>,
"grantor": <grantor>
},
...
]
Example:
acl": [{
"privileges": [{
"privilege_type": "CONNECT",
"privilege": true,
"with_grant": false
}],
"grantee": '',
"grantor": 'ashesh'
},{
"privileges": [{
"privilege_type": "CREATE",
"privilege": true,
"with_grant": false
},{
"privilege": true,
"privilege_type": "TEMPORARY",
"with_grant": false
}],
"grantee": test,
"grantor": ashesh
}]
2015-12-23 12:10:23 +05:30
Ashesh Vashi
1391003e03
Added the backgrid cell for bootstrap switch for representing the
...
boolean properties.
2015-12-17 19:19:59 +05:30