mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Resolved couple of small bugs introduced during database server
connection management implementation.
This commit is contained in:
@@ -493,7 +493,7 @@ class ServerNode(NodeView):
|
||||
"""Check and return the connection status."""
|
||||
from pgadmin.utils.driver import get_driver
|
||||
manager = get_driver(PG_DEFAULT_DRIVER).connection_manager(sid)
|
||||
conn = manager.get_connection()
|
||||
conn = manager.connection()
|
||||
|
||||
return make_json_response(data={'connected': conn.connected()})
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
.icon-server {
|
||||
background-image: url('{{ url_for('NODE-server.static', filename='img/server.png') }}') !important;
|
||||
border-radius: 10px
|
||||
border-radius: 10px;
|
||||
background-repeat: no-repeat;
|
||||
align-content: center;
|
||||
vertical-align: middle;
|
||||
height: 1.3em;
|
||||
}
|
||||
|
||||
.icon-server-not-connected {
|
||||
|
||||
Reference in New Issue
Block a user