public inbox for [email protected]  
help / color / mirror / Atom feed
Issue in fg_color and bg_color for connection string on query tool.
2+ messages / 2 participants
[nested] [flat]

* Issue in fg_color and bg_color for connection string on query tool.
@ 2020-10-12 05:24 Nikhil Mohite <[email protected]>
  2020-10-12 08:40 ` Re: Issue in fg_color and bg_color for connection string on query tool. Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikhil Mohite @ 2020-10-12 05:24 UTC (permalink / raw)
  To: pgadmin-hackers

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 %};">&nbsp;


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Issue in fg_color and bg_color for connection string on query tool.
  2020-10-12 05:24 Issue in fg_color and bg_color for connection string on query tool. Nikhil Mohite <[email protected]>
@ 2020-10-12 08:40 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-10-12 08:40 UTC (permalink / raw)
  To: Nikhil Mohite <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Mon, Oct 12, 2020 at 10:54 AM Nikhil Mohite <
[email protected]> wrote:

> 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.*
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-10-12 08:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 05:24 Issue in fg_color and bg_color for connection string on query tool. Nikhil Mohite <[email protected]>
2020-10-12 08:40 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox