public inbox for [email protected]
help / color / mirror / Atom feedFrom: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: Issue in fg_color and bg_color for connection string on query tool.
Date: Mon, 12 Oct 2020 10:54:18 +0530
Message-ID: <CAOBg0ANr3fQYw=+Mykm6ym2y3isUUvtQrs1goXNFi=WOT+_BbA@mail.gmail.com> (raw)
Hi Team,
I have fixed the issue of fg_color and bg_color of the connection string
for the query tool.
PFA patch. (This is related to RM-3794
<https://redmine.postgresql.org/issues/3794;)
--
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*
Attachments:
[application/octet-stream] connection_fg_and_bg_color_issue.patch (1012B, 3-connection_fg_and_bg_color_issue.patch)
download | inline diff:
diff --git a/web/pgadmin/tools/datagrid/templates/datagrid/index.html b/web/pgadmin/tools/datagrid/templates/datagrid/index.html
index 9dcd32f..d8d8781 100644
--- a/web/pgadmin/tools/datagrid/templates/datagrid/index.html
+++ b/web/pgadmin/tools/datagrid/templates/datagrid/index.html
@@ -417,7 +417,7 @@
title="" role="img">
</i>
</div>
- <div class="connection-info btn-group mr-1" role="group" aria-label="">
+ <div class="connection-info btn-group mr-1" role="group" aria-label="" style="background-color: {% if fgcolor %}{{ bgcolor or '#FFFFFF' }}{% endif %}; color: {% if fgcolor %}{{ fgcolor }}{% endif %};">
<div class="connection-data" data-toggle="dropdown">
<div class="editor-title" aria-haspopup="true" aria-expanded="false"
style="background-color: {% if fgcolor %}{{ bgcolor or '#FFFFFF' }}{% endif %}; color: {% if fgcolor %}{{ fgcolor }}{% endif %};">
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Issue in fg_color and bg_color for connection string on query tool.
In-Reply-To: <CAOBg0ANr3fQYw=+Mykm6ym2y3isUUvtQrs1goXNFi=WOT+_BbA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox