summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/guide/guidelines/internationalization.md1
-rw-r--r--src/views/Logs/Dumps/Dumps.vue2
-rw-r--r--src/views/Logs/EventLogs/EventLogs.vue3
-rw-r--r--src/views/Logs/PostCodeLogs/PostCodeLogs.vue1
-rw-r--r--src/views/Operations/KeyClear/KeyClear.vue1
-rw-r--r--src/views/Operations/RebootBmc/RebootBmc.vue1
-rw-r--r--src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue2
-rw-r--r--src/views/SecurityAndAccess/Certificates/Certificates.vue1
-rw-r--r--src/views/SecurityAndAccess/Ldap/TableRoleGroups.vue2
-rw-r--r--src/views/SecurityAndAccess/Sessions/Sessions.vue2
-rw-r--r--src/views/SecurityAndAccess/UserManagement/UserManagement.vue2
-rw-r--r--src/views/Settings/Network/TableIpv4.vue1
-rw-r--r--src/views/Settings/SnmpAlerts/SnmpAlerts.vue2
13 files changed, 21 insertions, 0 deletions
diff --git a/docs/guide/guidelines/internationalization.md b/docs/guide/guidelines/internationalization.md
index 7afc4598..f9ee4737 100644
--- a/docs/guide/guidelines/internationalization.md
+++ b/docs/guide/guidelines/internationalization.md
@@ -72,5 +72,6 @@ this.$bvModal
title: this.$tc('pageDumps.modal.deleteDump'),
okTitle: this.$tc('pageDumps.modal.deleteDump'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
})
```
diff --git a/src/views/Logs/Dumps/Dumps.vue b/src/views/Logs/Dumps/Dumps.vue
index 77161d4f..020d2b3c 100644
--- a/src/views/Logs/Dumps/Dumps.vue
+++ b/src/views/Logs/Dumps/Dumps.vue
@@ -332,6 +332,7 @@ export default {
title: this.$tc('pageDumps.modal.deleteDump'),
okTitle: this.$tc('pageDumps.modal.deleteDump'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
})
.then((deleteConfrimed) => {
if (deleteConfrimed) {
@@ -368,6 +369,7 @@ export default {
this.selectedRows.length,
),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfrimed) => {
diff --git a/src/views/Logs/EventLogs/EventLogs.vue b/src/views/Logs/EventLogs/EventLogs.vue
index 6994849f..0e7c494e 100644
--- a/src/views/Logs/EventLogs/EventLogs.vue
+++ b/src/views/Logs/EventLogs/EventLogs.vue
@@ -489,6 +489,7 @@ export default {
okTitle: this.$t('global.action.delete'),
okVariant: 'danger',
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'cancel',
})
.then((deleteConfirmed) => {
if (deleteConfirmed) {
@@ -535,6 +536,7 @@ export default {
title: this.$tc('pageEventLogs.modal.deleteTitle'),
okTitle: this.$t('global.action.delete'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
})
.then((deleteConfirmed) => {
if (deleteConfirmed) this.deleteLogs([uri]);
@@ -557,6 +559,7 @@ export default {
),
okTitle: this.$t('global.action.delete'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
diff --git a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
index 57bbdb59..6b3030bc 100644
--- a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
+++ b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
@@ -321,6 +321,7 @@ export default {
okTitle: this.$t('global.action.delete'),
okVariant: 'danger',
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'cancel',
})
.then((deleteConfirmed) => {
if (deleteConfirmed) {
diff --git a/src/views/Operations/KeyClear/KeyClear.vue b/src/views/Operations/KeyClear/KeyClear.vue
index 2524da10..fbdf4c46 100644
--- a/src/views/Operations/KeyClear/KeyClear.vue
+++ b/src/views/Operations/KeyClear/KeyClear.vue
@@ -91,6 +91,7 @@ export default {
okTitle: this.$t('pageKeyClear.modal.clear'),
okVariant: 'danger',
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'cancel',
})
.then((clearConfirmed) => {
if (clearConfirmed) {
diff --git a/src/views/Operations/RebootBmc/RebootBmc.vue b/src/views/Operations/RebootBmc/RebootBmc.vue
index 900619cd..fe575489 100644
--- a/src/views/Operations/RebootBmc/RebootBmc.vue
+++ b/src/views/Operations/RebootBmc/RebootBmc.vue
@@ -65,6 +65,7 @@ export default {
title: this.$t('pageRebootBmc.modal.confirmTitle'),
okTitle: this.$t('global.action.confirm'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
})
.then((confirmed) => {
if (confirmed) this.rebootBmc();
diff --git a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
index e3864b4a..281bbef4 100644
--- a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
+++ b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
@@ -219,6 +219,7 @@ export default {
title: this.$t('pageServerPowerOperations.modal.confirmRebootTitle'),
okTitle: this.$t('global.action.confirm'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
};
if (this.form.rebootOption === 'orderly') {
@@ -243,6 +244,7 @@ export default {
title: this.$t('pageServerPowerOperations.modal.confirmShutdownTitle'),
okTitle: this.$t('global.action.confirm'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
};
if (this.form.shutdownOption === 'orderly') {
diff --git a/src/views/SecurityAndAccess/Certificates/Certificates.vue b/src/views/SecurityAndAccess/Certificates/Certificates.vue
index 0dc1d5e1..35e4b819 100644
--- a/src/views/SecurityAndAccess/Certificates/Certificates.vue
+++ b/src/views/SecurityAndAccess/Certificates/Certificates.vue
@@ -250,6 +250,7 @@ export default {
title: this.$t('pageCertificates.deleteCertificate'),
okTitle: this.$t('global.action.delete'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
diff --git a/src/views/SecurityAndAccess/Ldap/TableRoleGroups.vue b/src/views/SecurityAndAccess/Ldap/TableRoleGroups.vue
index ed759894..eeebfb9b 100644
--- a/src/views/SecurityAndAccess/Ldap/TableRoleGroups.vue
+++ b/src/views/SecurityAndAccess/Ldap/TableRoleGroups.vue
@@ -197,6 +197,7 @@ export default {
title: this.$t('pageLdap.modal.deleteRoleGroup'),
okTitle: this.$t('global.action.delete'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
@@ -227,6 +228,7 @@ export default {
title: this.$t('pageLdap.modal.deleteRoleGroup'),
okTitle: this.$t('global.action.delete'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
diff --git a/src/views/SecurityAndAccess/Sessions/Sessions.vue b/src/views/SecurityAndAccess/Sessions/Sessions.vue
index 74364653..636aafe0 100644
--- a/src/views/SecurityAndAccess/Sessions/Sessions.vue
+++ b/src/views/SecurityAndAccess/Sessions/Sessions.vue
@@ -261,6 +261,7 @@ export default {
title: this.$tc('pageSessions.modal.disconnectTitle'),
okTitle: this.$t('pageSessions.action.disconnect'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
})
.then((deleteConfirmed) => {
if (deleteConfirmed) this.disconnectSessions([uri]);
@@ -283,6 +284,7 @@ export default {
),
okTitle: this.$t('pageSessions.action.disconnect'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
diff --git a/src/views/SecurityAndAccess/UserManagement/UserManagement.vue b/src/views/SecurityAndAccess/UserManagement/UserManagement.vue
index e9b1fdaa..ab316688 100644
--- a/src/views/SecurityAndAccess/UserManagement/UserManagement.vue
+++ b/src/views/SecurityAndAccess/UserManagement/UserManagement.vue
@@ -274,6 +274,7 @@ export default {
title: this.$tc('pageUserManagement.deleteUser'),
okTitle: this.$tc('pageUserManagement.deleteUser'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
@@ -329,6 +330,7 @@ export default {
this.selectedRows.length,
),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
diff --git a/src/views/Settings/Network/TableIpv4.vue b/src/views/Settings/Network/TableIpv4.vue
index 8bd21cb9..0a06e0e4 100644
--- a/src/views/Settings/Network/TableIpv4.vue
+++ b/src/views/Settings/Network/TableIpv4.vue
@@ -224,6 +224,7 @@ export default {
: this.$t('global.action.disable'),
okVariant: 'danger',
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'cancel',
},
)
.then((dhcpEnableConfirmed) => {
diff --git a/src/views/Settings/SnmpAlerts/SnmpAlerts.vue b/src/views/Settings/SnmpAlerts/SnmpAlerts.vue
index 528033be..dba181f2 100644
--- a/src/views/Settings/SnmpAlerts/SnmpAlerts.vue
+++ b/src/views/Settings/SnmpAlerts/SnmpAlerts.vue
@@ -209,6 +209,7 @@ export default {
title: this.$tc('pageSnmpAlerts.modal.deleteSnmpDestinationTitle'),
okTitle: this.$tc('pageSnmpAlerts.deleteDestination'),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {
@@ -243,6 +244,7 @@ export default {
this.selectedRows.length,
),
cancelTitle: this.$t('global.action.cancel'),
+ autoFocusButton: 'ok',
},
)
.then((deleteConfirmed) => {