Please make sure our servers are able to access your database.
Rocketadmin uses the IP address
diff --git a/frontend/src/app/components/connection-settings/connection-settings.component.css b/frontend/src/app/components/connection-settings/connection-settings.component.css
index 3468578f1..ab3cdcad6 100644
--- a/frontend/src/app/components/connection-settings/connection-settings.component.css
+++ b/frontend/src/app/components/connection-settings/connection-settings.component.css
@@ -1,13 +1,14 @@
-.zapier-page {
- padding: 32px max(calc(50vw - 325px), 10%);
+:host app-alert:not(:empty) {
+ --alert-margin: 24px;
}
.settings-page {
+ height: 100%;
+ margin: var(--top-margin) 0;
padding: 0 max(calc(50vw - 325px), 10%);
}
.mat-h1 {
- margin-top: 2em !important;
margin-bottom: 1.5em !important;
}
@@ -163,8 +164,9 @@
margin-left: 20px;
}
-.settings-banner ::ng-deep .banner-wrapper {
- margin-top: 60px;
+.settings-banner {
+ margin: -124px calc(max(calc(50vw - 325px), 10%) * -1) 0;
+ width: 100vw;
}
.error-details {
diff --git a/frontend/src/app/components/connections-list/connections-list.component.css b/frontend/src/app/components/connections-list/connections-list.component.css
index d1a03e4f3..bc3253c96 100644
--- a/frontend/src/app/components/connections-list/connections-list.component.css
+++ b/frontend/src/app/components/connections-list/connections-list.component.css
@@ -1,3 +1,7 @@
+:host app-alert:not(:empty) {
+ --alert-margin: 24px;
+}
+
.wrapper {
display: flex;
flex-direction: column;
diff --git a/frontend/src/app/components/connections-list/connections-list.component.ts b/frontend/src/app/components/connections-list/connections-list.component.ts
index f97fcd671..552fc0ea9 100644
--- a/frontend/src/app/components/connections-list/connections-list.component.ts
+++ b/frontend/src/app/components/connections-list/connections-list.component.ts
@@ -38,6 +38,11 @@ import { take } from 'rxjs/operators';
})
export class ConnectionsListComponent implements OnInit {
+ public testAlert = {
+ type: 'info' as const,
+ message: 'These connections are for demonstration purposes only. To create your own connections, please use the "Add Connection" button above.',
+ };
+
public connections: Connection[] = null;
// public testConnections: Connection[] = null;
public titles: Object;
diff --git a/frontend/src/app/components/dashboard/dashboard.component.css b/frontend/src/app/components/dashboard/dashboard.component.css
index 55bfbcf55..1f50c8bf6 100644
--- a/frontend/src/app/components/dashboard/dashboard.component.css
+++ b/frontend/src/app/components/dashboard/dashboard.component.css
@@ -1,7 +1,3 @@
-:host {
- margin-bottom: -60px;
-}
-
.mat-sidenav-container {
height: 100%;
/* height: calc(100vh - 56px); */
@@ -91,17 +87,13 @@
.alerts {
display: flex;
flex-direction: column;
+ gap: 8px;
margin-top: 24px;
+ margin-bottom: 16px;
}
-.server-alert {
- display: block;
- margin-top: 24px;
-}
-
-.alerts:empty,
-.server-alert:empty {
- margin-top: 0;
+.alerts app-alert {
+ position: initial;
}
.error-details {
diff --git a/frontend/src/app/components/dashboard/dashboard.component.html b/frontend/src/app/components/dashboard/dashboard.component.html
index 4990d2469..7d9e0eae5 100644
--- a/frontend/src/app/components/dashboard/dashboard.component.html
+++ b/frontend/src/app/components/dashboard/dashboard.component.html
@@ -80,8 +80,8 @@
Rocketadmin can not find any tables
-
+
diff --git a/frontend/src/app/components/dashboard/db-table-view/db-table-actions/db-table-actions.component.css b/frontend/src/app/components/dashboard/db-table-view/db-table-actions/db-table-actions.component.css
index 81d1971f2..f8547187b 100644
--- a/frontend/src/app/components/dashboard/db-table-view/db-table-actions/db-table-actions.component.css
+++ b/frontend/src/app/components/dashboard/db-table-view/db-table-actions/db-table-actions.component.css
@@ -1,3 +1,10 @@
+:host app-alert:not(:empty) {
+ --alert-margin: 0;
+
+ top: 0;
+ margin-bottom: 16px;
+}
+
.drawer {
height: 100%;
}
diff --git a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css
index fa12f4272..fde57c8b3 100644
--- a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css
+++ b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css
@@ -1,8 +1,12 @@
+:host app-alert:not(:empty) {
+ --alert-margin: 24px;
+}
+
.settings-page {
display: flex;
flex-direction: column;
align-items: center;
- padding: 36px 0 0;
+ margin: 2.5em 0 0;
}
.settings-page .mat-mdc-form-field-bottom-align::before {
diff --git a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.ts b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.ts
index 7fe2cbe3f..9cc36b4e2 100644
--- a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.ts
+++ b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.ts
@@ -51,7 +51,6 @@ import { normalizeTableName } from 'src/app/lib/normalize';
]
})
export class DbTableSettingsComponent implements OnInit {
-
public connectionID: string | null = null;
public tableName: string | null = null;
public displayTableName: string | null = null;
diff --git a/frontend/src/app/components/dashboard/db-table-view/db-table-widgets/db-table-widgets.component.css b/frontend/src/app/components/dashboard/db-table-view/db-table-widgets/db-table-widgets.component.css
index f88fa9c1b..501c07724 100644
--- a/frontend/src/app/components/dashboard/db-table-view/db-table-widgets/db-table-widgets.component.css
+++ b/frontend/src/app/components/dashboard/db-table-view/db-table-widgets/db-table-widgets.component.css
@@ -1,3 +1,7 @@
+:host app-alert:not(:empty) {
+ --alert-margin: 24px;
+}
+
.wrapper {
min-width: 300px;
margin: 0 auto 16px;
@@ -7,7 +11,7 @@
.header {
display: flex;
justify-content: space-between;
- margin: 36px 70px 24px 0;
+ margin: 2.5em 70px 24px 0;
}
.header-actions-box {
diff --git a/frontend/src/app/components/dashboard/db-tables-data-source.ts b/frontend/src/app/components/dashboard/db-tables-data-source.ts
index 87062b140..ea8852f62 100644
--- a/frontend/src/app/components/dashboard/db-tables-data-source.ts
+++ b/frontend/src/app/components/dashboard/db-tables-data-source.ts
@@ -298,6 +298,10 @@ export class TablesDataSource implements DataSource
-->
-
-
-
\ No newline at end of file
diff --git a/frontend/src/app/components/upgrade/upgrade.component.ts b/frontend/src/app/components/upgrade/upgrade.component.ts
index f94e259fb..981cd27d8 100644
--- a/frontend/src/app/components/upgrade/upgrade.component.ts
+++ b/frontend/src/app/components/upgrade/upgrade.component.ts
@@ -28,6 +28,10 @@ import plans from '../../consts/plans';
styleUrls: ['./upgrade.component.css']
})
export class UpgradeComponent implements OnInit {
+ public testAlert = {
+ type: 'info' as const,
+ message: 'This is a demo alert for the upgrade page.'
+ };
public currentPlan = {
key: PlanKey.Free,
price: 0,
diff --git a/frontend/src/app/components/user-settings/user-settings.component.css b/frontend/src/app/components/user-settings/user-settings.component.css
index c88f52132..7706a72f6 100644
--- a/frontend/src/app/components/user-settings/user-settings.component.css
+++ b/frontend/src/app/components/user-settings/user-settings.component.css
@@ -1,7 +1,11 @@
+:host app-alert:not(:empty) {
+ --alert-margin: 24px;
+}
+
.page {
display: flex;
flex-direction: column;
- margin: 3em auto;
+ margin: var(--top-margin) auto;
max-width: 520px;
min-width: 300px;
width: 96%;
diff --git a/frontend/src/app/components/users/permissions-add-dialog/permissions-add-dialog.component.css b/frontend/src/app/components/users/permissions-add-dialog/permissions-add-dialog.component.css
index 51f8d0f71..44a869288 100644
--- a/frontend/src/app/components/users/permissions-add-dialog/permissions-add-dialog.component.css
+++ b/frontend/src/app/components/users/permissions-add-dialog/permissions-add-dialog.component.css
@@ -10,8 +10,9 @@
}
.permissions-alert {
- position: relative;
- top: -8px;
+ --alert-margin: 0 0 20px;
+
+ top: 0;
}
.permissions-form ::ng-deep .mat-mdc-dialog-content {
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index 352c83157..94e915b48 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -98,4 +98,5 @@ body {
display: block;
background-color: rgba(0, 0, 0, 0.06);
mix-blend-mode: difference;
-}
\ No newline at end of file
+}
+