diff --git a/web/pgadmin/about/static/js/about.js b/web/pgadmin/about/static/js/about.js index 1e72c917f..2aaf98f46 100644 --- a/web/pgadmin/about/static/js/about.js +++ b/web/pgadmin/about/static/js/about.js @@ -20,7 +20,8 @@ define( }, setup: function() { return { - buttons:[{ text: gettext('OK'), key: 27, className: 'btn btn-primary' }], + buttons:[{ text: gettext('OK'), key: 27, + className: 'btn btn-primary fa fa-lg fa-check pg-alertify-button' }], options: { modal: false, resizable: true, @@ -44,7 +45,7 @@ define( function(data) { alertify.aboutDialog( S(gettext('About %s')).sprintf(pgAdmin.Browser.utils.app_name).value(), data - ).resizeTo(800, 450); + ).resizeTo(pgAdmin.Browser.stdW.md, pgAdmin.Browser.stdH.md); }); }, }; diff --git a/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js b/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js index e7e2aa437..b1c76887d 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js +++ b/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js @@ -220,14 +220,14 @@ define('pgadmin.node.language', [ }, }, { id: 'lanacl', label: gettext('Privileges'), type: 'collection', - group: 'security', control: 'unique-col-collection', mode: ['edit', 'create'], + group: gettext('Security'), control: 'unique-col-collection', mode: ['edit', 'create'], model: pgBrowser.Node.PrivilegeRoleModel.extend({ privileges: ['U'], }), canAdd: true, canDelete: true, uniqueCol : ['grantee'], },{ id: 'seclabels', label: gettext('Security Labels'), mode: ['edit', 'create'], model: pgBrowser.SecLabelModel, editable: false, - type: 'collection', group: 'security', min_version: 90200, + type: 'collection', group: gettext('Security'), min_version: 90200, canAdd: true, canEdit: false, canDelete: true, control: 'unique-col-collection', }, diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js index c716f824f..8775b9fbd 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js @@ -72,7 +72,7 @@ define('pgadmin.node.schema', [ var grid = self.grid = new Backgrid.Grid({ columns: self.grid_columns, collection: self.model.get(self.field.get('name')), - className: 'backgrid table-bordered', + className: 'backgrid table-bordered table-noouter-border table-hover', }); // render grid @@ -120,6 +120,8 @@ define('pgadmin.node.schema', [ // Extend the browser's collection class for VacuumSettingsModel Backform.VacuumSettingsSchema = [{ + id: 'spacer_ctrl', group: gettext('Table'), mode: ['edit', 'create'], type: 'spacer', + },{ id: 'autovacuum_custom', label: gettext('Custom auto-vacuum?'), group: gettext('Table'), mode: ['edit', 'create'], type: 'switch', @@ -184,6 +186,8 @@ define('pgadmin.node.schema', [ ], }), deps: ['autovacuum_enabled'], + },{ + id: 'spacer_ctrl', group: gettext('Toast Table'), mode: ['edit', 'create'], type: 'spacer', },{ id: 'toast_autovacuum', label: gettext('Custom auto-vacuum?'), group: gettext('Toast Table'), mode: ['edit', 'create'], diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js index bb1986bd1..f6d8f3194 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js @@ -228,7 +228,6 @@ define('pgadmin.node.index', [ hasDepends: true, hasStatistics: true, statsPrettifyFields: ['Size', 'Index size'], - width: '45%', Init: function() { /* Avoid mulitple registration of menus */ if (this.initialized) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js index c8a092973..4185aa77d 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js @@ -44,7 +44,7 @@ define('pgadmin.node.table', [ sqlCreateHelp: 'sql-createtable.html', dialogHelp: url_for('help.static', {'filename': 'table_dialog.html'}), hasScriptTypes: ['create', 'select', 'insert', 'update', 'delete'], - width: '60%', + width: '650px', Init: function() { /* Avoid multiple registration of menus */ if (this.initialized) diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js index bcc27509e..e60f33044 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js @@ -187,6 +187,15 @@ define('pgadmin.node.pga_schedule', [ }, }); + var CustomInfoControl = Backform.Control.extend({ + template: _.template([ + '