diff --git a/dashboard/index.html b/dashboard/index.html index 85a4a3145..8316698cd 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -149,6 +149,7 @@ {{ 'branding.title' | tr }} {{ 'domains.title' | tr }} {{ 'emails.title' | tr }} + {{ 'email.incoming.mailboxes.title' | tr }} {{ 'eventlog.title' | tr }} {{ 'network.title' | tr }} {{ 'services.title' | tr }} diff --git a/dashboard/public/js/index.js b/dashboard/public/js/index.js index b11d3caa6..00122fb17 100644 --- a/dashboard/public/js/index.js +++ b/dashboard/public/js/index.js @@ -85,6 +85,9 @@ app.config(['$routeProvider', function ($routeProvider) { }).when('/emails-eventlog', { // controller: 'EmailsEventlogController', // templateUrl: 'views/emails-eventlog.html?' + window.VITE_CACHE_ID + }).when('/emails-mailboxes', { + // controller: 'EmailsEventlogController', + // templateUrl: 'views/emails-eventlog.html?' + window.VITE_CACHE_ID }).when('/emails-queue', { // controller: 'EmailsQueueController', // templateUrl: 'views/emails-queue.html?' + window.VITE_CACHE_ID diff --git a/dashboard/src/Index.vue b/dashboard/src/Index.vue index 87d118e74..49fee5fb7 100644 --- a/dashboard/src/Index.vue +++ b/dashboard/src/Index.vue @@ -12,6 +12,7 @@ import EmailView from './views/EmailView.vue'; import EmailDomainView from './views/EmailDomainView.vue'; import EmailsEventlogView from './views/EmailsEventlogView.vue'; import EventlogView from './views/EventlogView.vue'; +import MailboxesView from './views/MailboxesView.vue'; import NetworkView from './views/NetworkView.vue'; import ProfileView from './views/ProfileView.vue'; import ServicesView from './views/ServicesView.vue'; @@ -32,6 +33,7 @@ const VIEWS = { EMAIL: 'email', EMAIL_DOMAIN: 'email-domain', EMAILS_EVENTLOG: 'emails-eventlog', + EMAILS_MAILBOXES: 'emails-mailboxes', EVENTLOG: 'eventlog', NETWORK: 'network', PROFILE: 'profile', @@ -65,6 +67,8 @@ function onHashChange() { view.value = VIEWS.EMAIL; } else if (v === VIEWS.EMAILS_EVENTLOG) { view.value = VIEWS.EMAILS_EVENTLOG; + } else if (v === VIEWS.EMAILS_MAILBOXES) { + view.value = VIEWS.EMAILS_MAILBOXES; } else if (v.indexOf(VIEWS.EMAIL) === 0) { view.value = VIEWS.EMAIL_DOMAIN; } else if (v === VIEWS.EVENTLOG) { @@ -121,6 +125,7 @@ onMounted(async () => { + diff --git a/dashboard/src/views/MailboxesView.vue b/dashboard/src/views/MailboxesView.vue new file mode 100644 index 000000000..8a5d5474f --- /dev/null +++ b/dashboard/src/views/MailboxesView.vue @@ -0,0 +1,102 @@ + + +