diff --git a/web/pgadmin/browser/server_groups/servers/templates/servers/password.html b/web/pgadmin/browser/server_groups/servers/templates/servers/password.html index 7086c383e..3bae7c1da 100644 --- a/web/pgadmin/browser/server_groups/servers/templates/servers/password.html +++ b/web/pgadmin/browser/server_groups/servers/templates/servers/password.html @@ -1,9 +1,9 @@
-
{{ _('Please enter the password for the user \'{0}\' to connect the server - "{1}"').format(username, - server_label) }}
+
- +
@@ -24,7 +24,7 @@
-
{{ errmsg }}
+
{{ errmsg }}
diff --git a/web/pgadmin/browser/server_groups/servers/templates/servers/tunnel_password.html b/web/pgadmin/browser/server_groups/servers/templates/servers/tunnel_password.html index 1ad1a1138..ed7df8664 100644 --- a/web/pgadmin/browser/server_groups/servers/templates/servers/tunnel_password.html +++ b/web/pgadmin/browser/server_groups/servers/templates/servers/tunnel_password.html @@ -2,9 +2,9 @@
{% if prompt_tunnel_password %} {% if tunnel_identity_file %} -
{{ _('SSH Tunnel password for the identity file \'{0}\' to connect the server "{1}"').format(tunnel_identity_file, tunnel_host) }}
+
{% else %} -
{{ _('SSH Tunnel password for the user \'{0}\' to connect the server "{1}"').format(tunnel_username, tunnel_host) }}
+
{% endif %}
@@ -21,7 +21,7 @@
{% endif %} {% if prompt_password %} -
{{ _('Database server password for the user \'{0}\' to connect the server "{1}"').format(username, server_label) }}
+
@@ -44,7 +44,7 @@
-
{{ errmsg }}
+
{{ errmsg }}
diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index 205f2c122..1dc9c24e1 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -226,7 +226,7 @@ define('pgadmin.browser', [ width: 500, isCloseable: false, isPrivate: true, - content: '
', + content: '
', }), // Dependencies of the object 'dependencies': new pgAdmin.Browser.Panel({ @@ -357,7 +357,6 @@ define('pgadmin.browser', [ // enabled/disabled. _.each([ {m: 'file', id: '#mnu_file'}, - {m: 'edit', id: '#mnu_edit'}, {m: 'management', id: '#mnu_management'}, {m: 'tools', id: '#mnu_tools'}, {m: 'help', id:'#mnu_help'}], function(o) { @@ -827,7 +826,6 @@ define('pgadmin.browser', [ _.each([ {menu: 'file', id: '#mnu_file'}, - {menu: 'edit', id: '#mnu_edit'}, {menu: 'management', id: '#mnu_management'}, {menu: 'tools', id: '#mnu_tools'}, {menu: 'help', id:'#mnu_help'}], diff --git a/web/pgadmin/browser/static/js/menu.js b/web/pgadmin/browser/static/js/menu.js index de95490bc..3f3dba411 100644 --- a/web/pgadmin/browser/static/js/menu.js +++ b/web/pgadmin/browser/static/js/menu.js @@ -72,6 +72,7 @@ define([ 'href': this.url, 'target': this.target, 'data-toggle': 'pg-menu', + 'role': 'menuitem', }).data('pgMenu', { module: this.module || pgAdmin.Browser, cb: this.callback, diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index fbce346f0..a1493cd20 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -1129,7 +1129,8 @@ define('pgadmin.browser.node', [ tmpl = _.template([ '', ].join(' ')); if (location == 'header') { diff --git a/web/pgadmin/browser/templates/browser/index.html b/web/pgadmin/browser/templates/browser/index.html index 76e222f5e..b2e0a8151 100644 --- a/web/pgadmin/browser/templates/browser/index.html +++ b/web/pgadmin/browser/templates/browser/index.html @@ -100,8 +100,8 @@ window.onload = function(e){