diff --git a/packages/web/src/icons/FontIcon.svelte b/packages/web/src/icons/FontIcon.svelte
index 2ed5a29a..fa2ad659 100644
--- a/packages/web/src/icons/FontIcon.svelte
+++ b/packages/web/src/icons/FontIcon.svelte
@@ -63,8 +63,10 @@
'icon menu': 'mdi mdi-menu',
'img ok': 'mdi mdi-check-circle color-icon-green',
+ 'img ok-inv': 'mdi mdi-check-circle color-icon-inv-green',
'img alert': 'mdi mdi-alert-circle color-icon-blue',
'img error': 'mdi mdi-close-circle color-icon-red',
+ 'img error-inv': 'mdi mdi-close-circle color-icon-inv-red',
'img warn': 'mdi mdi-alert color-icon-gold',
// 'img statusbar-ok': 'mdi mdi-check-circle color-on-statusbar-green',
diff --git a/packages/web/src/plugins/ThemeDark.svelte b/packages/web/src/plugins/ThemeDark.svelte
index 9e19c1dd..1aa6722c 100644
--- a/packages/web/src/plugins/ThemeDark.svelte
+++ b/packages/web/src/plugins/ThemeDark.svelte
@@ -55,5 +55,8 @@
--theme-icon-gold: #e8b339;
--theme-icon-yellow: #e8d639;
--theme-icon-magenta: #e0529c;
+
+ --theme-icon-inv-green: #8fd460;
+ --theme-icon-inv-red: #e84749;
}
diff --git a/packages/web/src/plugins/ThemeLight.svelte b/packages/web/src/plugins/ThemeLight.svelte
index 2454255c..f959fc6b 100644
--- a/packages/web/src/plugins/ThemeLight.svelte
+++ b/packages/web/src/plugins/ThemeLight.svelte
@@ -48,5 +48,8 @@
--theme-icon-gold: #d48806; /* gold-7 */
--theme-icon-yellow: #d4b106; /* yellow-7 */
--theme-icon-magenta: #c41d7f; /* magenta-7 */
+
+ --theme-icon-inv-green: #8fd460;
+ --theme-icon-inv-red: #e84749;
}
diff --git a/packages/web/src/widgets/SqlObjectList.svelte b/packages/web/src/widgets/SqlObjectList.svelte
index d819701a..b9659b38 100644
--- a/packages/web/src/widgets/SqlObjectList.svelte
+++ b/packages/web/src/widgets/SqlObjectList.svelte
@@ -11,7 +11,7 @@
import { chevronExpandIcon } from '../icons/expandIcons';
import ErrorInfo from './ErrorInfo.svelte';
import axios from '../utility/axios';
-import LoadingInfo from './LoadingInfo.svelte';
+ import LoadingInfo from './LoadingInfo.svelte';
export let conid;
export let database;
diff --git a/packages/web/src/widgets/StatusBar.svelte b/packages/web/src/widgets/StatusBar.svelte
new file mode 100644
index 00000000..12b9f9d7
--- /dev/null
+++ b/packages/web/src/widgets/StatusBar.svelte
@@ -0,0 +1,64 @@
+
+
+
+
+ {#if databaseName}
+
+
+ {databaseName}
+
+ {/if}
+ {#if connection && (connection.displayName || connection.server)}
+
+
+ {connection.displayName || connection.server}
+
+ {/if}
+ {#if connection && connection.user}
+
+
+ {connection.user}
+
+ {/if}
+ {#if connection && $status}
+
+ {#if $status.name == 'pending'}
+ Loading
+ {:else if $status.name == 'ok'}
+ Connected
+ {:else if $status.name == 'error'}
+ Error
+ {/if}
+
+ {/if}
+ {#if !connection}
+
+ Not connected
+
+ {/if}
+
+