diff --git a/satellite/admin/back-office/ui/src/components/AccountActionsMenu.vue b/satellite/admin/back-office/ui/src/components/AccountActionsMenu.vue index 94fa6437b..c8fa6bd25 100644 --- a/satellite/admin/back-office/ui/src/components/AccountActionsMenu.vue +++ b/satellite/admin/back-office/ui/src/components/AccountActionsMenu.vue @@ -80,7 +80,7 @@ - diff --git a/satellite/admin/back-office/ui/src/components/AccountDeleteDialog.vue b/satellite/admin/back-office/ui/src/components/AccountDeleteDialog.vue index c156712f6..fa00f2c55 100644 --- a/satellite/admin/back-office/ui/src/components/AccountDeleteDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountDeleteDialog.vue @@ -78,7 +78,7 @@ - {{ text }} + The account was deleted successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountGeofenceDialog.vue b/satellite/admin/back-office/ui/src/components/AccountGeofenceDialog.vue index 710968730..2d00a6c63 100644 --- a/satellite/admin/back-office/ui/src/components/AccountGeofenceDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountGeofenceDialog.vue @@ -64,7 +64,7 @@ - {{ text }} + The account placement was set successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountInformationDialog.vue b/satellite/admin/back-office/ui/src/components/AccountInformationDialog.vue index 3be553966..8d04c1070 100644 --- a/satellite/admin/back-office/ui/src/components/AccountInformationDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountInformationDialog.vue @@ -65,7 +65,7 @@ - {{ text }} + Successfully saved the account information. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountLimitsDialog.vue b/satellite/admin/back-office/ui/src/components/AccountLimitsDialog.vue index d1b8e241c..197847a0c 100644 --- a/satellite/admin/back-office/ui/src/components/AccountLimitsDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountLimitsDialog.vue @@ -85,7 +85,7 @@ - {{ text }} + Error. Cannot change limits. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountNewProjectDialog.vue b/satellite/admin/back-office/ui/src/components/AccountNewProjectDialog.vue index 1a8097b03..e8ebf70d8 100644 --- a/satellite/admin/back-office/ui/src/components/AccountNewProjectDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountNewProjectDialog.vue @@ -58,7 +58,7 @@ - {{ text }} + Project created successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountProjectsTableComponent.vue b/satellite/admin/back-office/ui/src/components/AccountProjectsTableComponent.vue index ea56b73ae..bbc7eb6f4 100644 --- a/satellite/admin/back-office/ui/src/components/AccountProjectsTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/AccountProjectsTableComponent.vue @@ -85,98 +85,83 @@ - diff --git a/satellite/admin/back-office/ui/src/components/AccountResetMFADialog.vue b/satellite/admin/back-office/ui/src/components/AccountResetMFADialog.vue index 56358d4a8..f418f5370 100644 --- a/satellite/admin/back-office/ui/src/components/AccountResetMFADialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountResetMFADialog.vue @@ -58,7 +58,7 @@ - {{ text }} + The MFA was disabled successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountStatusDialog.vue b/satellite/admin/back-office/ui/src/components/AccountStatusDialog.vue index f54262083..8a01fc6f1 100644 --- a/satellite/admin/back-office/ui/src/components/AccountStatusDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountStatusDialog.vue @@ -59,7 +59,7 @@ - {{ text }} + Successfully saved the account status. - diff --git a/satellite/admin/back-office/ui/src/components/AccountSuspendDialog.vue b/satellite/admin/back-office/ui/src/components/AccountSuspendDialog.vue index 66b610eb9..ad1fba30c 100644 --- a/satellite/admin/back-office/ui/src/components/AccountSuspendDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountSuspendDialog.vue @@ -70,7 +70,7 @@ - {{ text }} + The account was suspended successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountUserAgentsDialog.vue b/satellite/admin/back-office/ui/src/components/AccountUserAgentsDialog.vue index 2aa6a445f..9a2b3c912 100644 --- a/satellite/admin/back-office/ui/src/components/AccountUserAgentsDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AccountUserAgentsDialog.vue @@ -31,7 +31,7 @@ @@ -62,7 +62,7 @@ - {{ text }} + Successfully saved the value attribution. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/AccountsTableComponent.vue b/satellite/admin/back-office/ui/src/components/AccountsTableComponent.vue index 82ce85c80..6097277a5 100644 --- a/satellite/admin/back-office/ui/src/components/AccountsTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/AccountsTableComponent.vue @@ -81,221 +81,203 @@ - diff --git a/satellite/admin/back-office/ui/src/components/AdminAccountDialog.vue b/satellite/admin/back-office/ui/src/components/AdminAccountDialog.vue index efe3a0bf7..7a410b090 100644 --- a/satellite/admin/back-office/ui/src/components/AdminAccountDialog.vue +++ b/satellite/admin/back-office/ui/src/components/AdminAccountDialog.vue @@ -58,7 +58,7 @@ - {{ text }} + Account information updated successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/BucketActionsMenu.vue b/satellite/admin/back-office/ui/src/components/BucketActionsMenu.vue index b69c54201..7c8ff9f13 100644 --- a/satellite/admin/back-office/ui/src/components/BucketActionsMenu.vue +++ b/satellite/admin/back-office/ui/src/components/BucketActionsMenu.vue @@ -45,26 +45,11 @@ - diff --git a/satellite/admin/back-office/ui/src/components/BucketDeleteDialog.vue b/satellite/admin/back-office/ui/src/components/BucketDeleteDialog.vue index 17aee560c..691a47d5b 100644 --- a/satellite/admin/back-office/ui/src/components/BucketDeleteDialog.vue +++ b/satellite/admin/back-office/ui/src/components/BucketDeleteDialog.vue @@ -74,7 +74,7 @@ - {{ text }} + The bucket was deleted successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/BucketGeofenceDialog.vue b/satellite/admin/back-office/ui/src/components/BucketGeofenceDialog.vue index 5ceb40939..48264bd95 100644 --- a/satellite/admin/back-office/ui/src/components/BucketGeofenceDialog.vue +++ b/satellite/admin/back-office/ui/src/components/BucketGeofenceDialog.vue @@ -61,7 +61,7 @@ - {{ text }} + The bucket placement was set successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/BucketInformationDialog.vue b/satellite/admin/back-office/ui/src/components/BucketInformationDialog.vue index 1fcde4368..51f4aa88d 100644 --- a/satellite/admin/back-office/ui/src/components/BucketInformationDialog.vue +++ b/satellite/admin/back-office/ui/src/components/BucketInformationDialog.vue @@ -49,7 +49,7 @@ - {{ text }} + Successfully updated the bucket information. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/BucketUserAgentsDialog.vue b/satellite/admin/back-office/ui/src/components/BucketUserAgentsDialog.vue index 8749319f2..540fefe60 100644 --- a/satellite/admin/back-office/ui/src/components/BucketUserAgentsDialog.vue +++ b/satellite/admin/back-office/ui/src/components/BucketUserAgentsDialog.vue @@ -62,7 +62,7 @@ - {{ text }} + Successfully saved the value attribution. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/BucketsTableComponent.vue b/satellite/admin/back-office/ui/src/components/BucketsTableComponent.vue index 7044a63ab..a8ccf6a4f 100644 --- a/satellite/admin/back-office/ui/src/components/BucketsTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/BucketsTableComponent.vue @@ -58,146 +58,130 @@ - diff --git a/satellite/admin/back-office/ui/src/components/CardStatsComponent.vue b/satellite/admin/back-office/ui/src/components/CardStatsComponent.vue index c5b4d20e3..42eef8bcd 100644 --- a/satellite/admin/back-office/ui/src/components/CardStatsComponent.vue +++ b/satellite/admin/back-office/ui/src/components/CardStatsComponent.vue @@ -9,36 +9,14 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/DashboardLimitsTableComponent.vue b/satellite/admin/back-office/ui/src/components/DashboardLimitsTableComponent.vue index 500a09d66..3a3b7a367 100644 --- a/satellite/admin/back-office/ui/src/components/DashboardLimitsTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/DashboardLimitsTableComponent.vue @@ -98,180 +98,167 @@ - diff --git a/satellite/admin/back-office/ui/src/components/LogsTableComponent.vue b/satellite/admin/back-office/ui/src/components/LogsTableComponent.vue index 226ee4e6a..8809532f9 100644 --- a/satellite/admin/back-office/ui/src/components/LogsTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/LogsTableComponent.vue @@ -47,64 +47,50 @@ - diff --git a/satellite/admin/back-office/ui/src/components/NewAccountDialog.vue b/satellite/admin/back-office/ui/src/components/NewAccountDialog.vue index 3132dc9b8..3a2e29a85 100644 --- a/satellite/admin/back-office/ui/src/components/NewAccountDialog.vue +++ b/satellite/admin/back-office/ui/src/components/NewAccountDialog.vue @@ -58,7 +58,7 @@ - {{ text }} + Account created successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/NewProjectDialog.vue b/satellite/admin/back-office/ui/src/components/NewProjectDialog.vue index 0f8acd7da..1700b83a2 100644 --- a/satellite/admin/back-office/ui/src/components/NewProjectDialog.vue +++ b/satellite/admin/back-office/ui/src/components/NewProjectDialog.vue @@ -58,7 +58,7 @@ - {{ text }} + Project created successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/PageSubtitleComponent.vue b/satellite/admin/back-office/ui/src/components/PageSubtitleComponent.vue index e42cece83..4e9b4c951 100644 --- a/satellite/admin/back-office/ui/src/components/PageSubtitleComponent.vue +++ b/satellite/admin/back-office/ui/src/components/PageSubtitleComponent.vue @@ -7,13 +7,8 @@

- \ No newline at end of file + diff --git a/satellite/admin/back-office/ui/src/components/PageTitleComponent.vue b/satellite/admin/back-office/ui/src/components/PageTitleComponent.vue index 53f0ff22d..97f53128c 100644 --- a/satellite/admin/back-office/ui/src/components/PageTitleComponent.vue +++ b/satellite/admin/back-office/ui/src/components/PageTitleComponent.vue @@ -5,13 +5,8 @@

{{ title }}

- \ No newline at end of file + diff --git a/satellite/admin/back-office/ui/src/components/ProjectActionsMenu.vue b/satellite/admin/back-office/ui/src/components/ProjectActionsMenu.vue index d066755fa..fcccf6d9c 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectActionsMenu.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectActionsMenu.vue @@ -65,7 +65,7 @@ - diff --git a/satellite/admin/back-office/ui/src/components/ProjectAddUserDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectAddUserDialog.vue index 82b512479..24bcd848a 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectAddUserDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectAddUserDialog.vue @@ -57,7 +57,7 @@ - {{ text }} + The user was added successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectDeleteDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectDeleteDialog.vue index 9d8680e42..fbdd4ad26 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectDeleteDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectDeleteDialog.vue @@ -74,7 +74,7 @@ - {{ text }} + The project was deleted successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectGeofenceDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectGeofenceDialog.vue index 37021e05a..5eede58da 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectGeofenceDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectGeofenceDialog.vue @@ -61,7 +61,7 @@ - {{ text }} + The project placement was set successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectInformationDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectInformationDialog.vue index 309d93009..012de4ead 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectInformationDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectInformationDialog.vue @@ -52,7 +52,7 @@ - {{ text }} + Successfully updated the project information. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectLimitsDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectLimitsDialog.vue index 432a11453..a787591d0 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectLimitsDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectLimitsDialog.vue @@ -86,7 +86,7 @@ - {{ text }} + Error. Cannot change project limits. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectNewBucketDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectNewBucketDialog.vue index 4953fc9d3..b4d1f82e8 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectNewBucketDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectNewBucketDialog.vue @@ -58,7 +58,7 @@ - {{ text }} + Bucket created successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectResetMFADialog.vue b/satellite/admin/back-office/ui/src/components/ProjectResetMFADialog.vue index 56358d4a8..f418f5370 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectResetMFADialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectResetMFADialog.vue @@ -58,7 +58,7 @@ - {{ text }} + The MFA was disabled successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectSuspendDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectSuspendDialog.vue index 10b0e2d88..f6b8be9ea 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectSuspendDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectSuspendDialog.vue @@ -67,7 +67,7 @@ - {{ text }} + The account was suspended successfully. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectUserAgentsDialog.vue b/satellite/admin/back-office/ui/src/components/ProjectUserAgentsDialog.vue index 77bf01b3b..6daae0264 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectUserAgentsDialog.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectUserAgentsDialog.vue @@ -62,7 +62,7 @@ - {{ text }} + Successfully saved the value attribution. - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/ProjectsTableComponent.vue b/satellite/admin/back-office/ui/src/components/ProjectsTableComponent.vue index 63185039e..0e128b413 100644 --- a/satellite/admin/back-office/ui/src/components/ProjectsTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/ProjectsTableComponent.vue @@ -101,7 +101,8 @@ - diff --git a/satellite/admin/back-office/ui/src/components/UsageProgressComponent.vue b/satellite/admin/back-office/ui/src/components/UsageProgressComponent.vue index 56f2c32fb..54ba40ec1 100644 --- a/satellite/admin/back-office/ui/src/components/UsageProgressComponent.vue +++ b/satellite/admin/back-office/ui/src/components/UsageProgressComponent.vue @@ -35,7 +35,7 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/components/UsersTableComponent.vue b/satellite/admin/back-office/ui/src/components/UsersTableComponent.vue index 4e2998d04..feb0f3ab8 100644 --- a/satellite/admin/back-office/ui/src/components/UsersTableComponent.vue +++ b/satellite/admin/back-office/ui/src/components/UsersTableComponent.vue @@ -69,113 +69,95 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/layouts/default/AppBar.vue b/satellite/admin/back-office/ui/src/layouts/default/AppBar.vue index 9066906e1..814eca707 100644 --- a/satellite/admin/back-office/ui/src/layouts/default/AppBar.vue +++ b/satellite/admin/back-office/ui/src/layouts/default/AppBar.vue @@ -172,7 +172,8 @@ - \ No newline at end of file +const theme = useTheme(); + +const drawer = ref(true); +const activeTheme = ref(0); + +function toggleTheme(newTheme: string) { + if ((newTheme === 'dark' && theme.global.current.value.dark) || (newTheme === 'light' && !theme.global.current.value.dark)) { + return; + } + theme.global.name.value = newTheme; + localStorage.setItem('theme', newTheme); // Store the selected theme in localStorage +} + +watch(() => theme.global.current.value.dark, newVal => { + activeTheme.value = newVal ? 1 : 0; +}); + +// Check for stored theme in localStorage. If none, default to 'light' +toggleTheme(localStorage.getItem('theme') || 'light'); +activeTheme.value = theme.global.current.value.dark ? 1 : 0; + diff --git a/satellite/admin/back-office/ui/src/views/AccountDetails.vue b/satellite/admin/back-office/ui/src/views/AccountDetails.vue index 3e2c97014..1e3fff56e 100644 --- a/satellite/admin/back-office/ui/src/views/AccountDetails.vue +++ b/satellite/admin/back-office/ui/src/views/AccountDetails.vue @@ -135,7 +135,8 @@ - diff --git a/satellite/admin/back-office/ui/src/views/Accounts.vue b/satellite/admin/back-office/ui/src/views/Accounts.vue index 9c760a034..ae3de1fa0 100644 --- a/satellite/admin/back-office/ui/src/views/Accounts.vue +++ b/satellite/admin/back-office/ui/src/views/Accounts.vue @@ -48,7 +48,8 @@ - diff --git a/satellite/admin/back-office/ui/src/views/AdminSettings.vue b/satellite/admin/back-office/ui/src/views/AdminSettings.vue index 2f9fdaaec..3ecd4ef5c 100644 --- a/satellite/admin/back-office/ui/src/views/AdminSettings.vue +++ b/satellite/admin/back-office/ui/src/views/AdminSettings.vue @@ -51,7 +51,8 @@ - diff --git a/satellite/admin/back-office/ui/src/views/BucketDetails.vue b/satellite/admin/back-office/ui/src/views/BucketDetails.vue index 84bb13726..fa7a610f9 100644 --- a/satellite/admin/back-office/ui/src/views/BucketDetails.vue +++ b/satellite/admin/back-office/ui/src/views/BucketDetails.vue @@ -130,7 +130,8 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/views/Dashboard.vue b/satellite/admin/back-office/ui/src/views/Dashboard.vue index 897a744b5..32c8acaac 100644 --- a/satellite/admin/back-office/ui/src/views/Dashboard.vue +++ b/satellite/admin/back-office/ui/src/views/Dashboard.vue @@ -47,7 +47,8 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/views/Login.vue b/satellite/admin/back-office/ui/src/views/Login.vue index 08bafd6b8..0f63b6e2f 100644 --- a/satellite/admin/back-office/ui/src/views/Login.vue +++ b/satellite/admin/back-office/ui/src/views/Login.vue @@ -54,7 +54,8 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/views/ProjectDetails.vue b/satellite/admin/back-office/ui/src/views/ProjectDetails.vue index 64a993c63..e4f75e238 100644 --- a/satellite/admin/back-office/ui/src/views/ProjectDetails.vue +++ b/satellite/admin/back-office/ui/src/views/ProjectDetails.vue @@ -168,7 +168,8 @@ - \ No newline at end of file diff --git a/satellite/admin/back-office/ui/src/views/Projects.vue b/satellite/admin/back-office/ui/src/views/Projects.vue index 2dc83f08f..735bd2598 100644 --- a/satellite/admin/back-office/ui/src/views/Projects.vue +++ b/satellite/admin/back-office/ui/src/views/Projects.vue @@ -27,7 +27,8 @@ - \ No newline at end of file