Added support to launch PSQL for the connected database server. Fixes #2341

This commit is contained in:
Nikhil Mohite
2021-05-25 20:12:57 +05:30
committed by Akshay Joshi
parent 37dece2cd8
commit 3ddf941cd7
53 changed files with 2267 additions and 27 deletions

View File

@@ -10,6 +10,11 @@ $theme-colors: (
--color-fg: #{$color-fg};
--color-bg: #{$color-bg};
--border-color: #{$border-color};
--psql-background: #{$psql-background};
--psql-foreground: #{$psql-foreground};
--psql-cursor: #{$psql-cursor};
--psql-cursorAccent: #{$psql-cursorAccent};
--psql-selection: #{$psql-selection};
}
@import "bootstrap/scss/bootstrap";

View File

@@ -371,3 +371,10 @@ $erd-link-selected-color: $color-fg !default;
$erd-bg-grid: url("data:image/svg+xml, %3Csvg width='100%25' viewBox='0 0 45 45' style='background-color:#{url-friendly-colour($erd-canvas-bg)}' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='15' height='15' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 15 0 L 0 0 0 15' fill='none' stroke='#{url-friendly-colour($erd-canvas-grid)}' stroke-width='0.5'/%3E%3C/pattern%3E%3Cpattern id='grid' width='45' height='45' patternUnits='userSpaceOnUse'%3E%3Crect width='100' height='100' fill='url(%23smallGrid)'/%3E%3Cpath d='M 100 0 L 0 0 0 100' fill='none' stroke='#{url-friendly-colour($erd-canvas-grid)}' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)' /%3E%3C/svg%3E%0A");
$select2-readonly: $color-gray-lighter !default;
// psql tool variables
$psql-background: $color-bg !default;
$psql-foreground: $color-fg !default;
$psql-cursor: $color-fg !default;
$psql-cursorAccent: $color-fg !default;
$psql-selection: #326690 !default;

View File

@@ -136,3 +136,10 @@ $erd-link-color: $color-fg;
$erd-link-selected-color: $color-fg;
$select2-readonly: $color-bg;
// psql tool variables
$psql-background: $color-bg;
$psql-foreground: $color-fg;
$psql-cursor: $color-fg;
$psql-cursorAccent: $color-fg;
$psql-selection: #d6effc;

View File

@@ -207,3 +207,10 @@ $quick-search-a-text-color: $black !default;
$quick-search-info-icon: #8A8A8A !default;
$select2-readonly: $color-gray;
// psql tool variables
$psql-background: $color-bg;
$psql-foreground: $color-fg;
$psql-cursor: $color-fg;
$psql-cursorAccent: $color-fg;
$psql-selection: $color-primary-light;