Add icon for Security tab and warning/success styling for 2fa card

This commit is contained in:
Nariman Jelveh
2024-05-06 00:02:46 -04:00
committed by KernelDeimos
parent 5fa3c6511f
commit c8a6d109ce
3 changed files with 15 additions and 2 deletions
+1 -2
View File
@@ -28,7 +28,7 @@ export default {
// configure 2FA
if(!user.is_temp){
h += `<div class="settings-card">`;
h += `<div class="settings-card ${user.otp ? 'settings-card-success' : 'settings-card-warning'}">`;
h += `<div>`;
h += `<strong style="display:block;">${i18n('two_factor')}</strong>`;
h += `<span class="user-otp-state" style="display:block; margin-top:5px;">${
@@ -42,7 +42,6 @@ export default {
h += `</div>`;
}
return h;
},
init: ($el_window) => {