add icons

This commit is contained in:
daria 2025-10-02 18:08:15 +03:00
parent f47cf6ed1e
commit 190d33347f
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
4 changed files with 4 additions and 3 deletions

View File

@ -181,6 +181,7 @@ define([
"tag": "hash",
"password-reveal": "eye",
"password-hide": "eye-closed",
"password-change": "rotate-ccw-key",
"arrow-left": "arrow-left",
"arrow-up": "arrow-up",
"code": "code-xml",

View File

@ -134,7 +134,7 @@ define([
return;
}
var button = h('button.btn.btn-primary', Messages.mfa_setup_button);
var button = h('button.btn.btn-primary', [Icons.get('lock'), Messages.mfa_setup_button]);
var $mfaSetupBtn = $(button);
var pwInput;
$content.append(h('div.cp-password-container', [

View File

@ -225,7 +225,7 @@
}
button {
svg {
margin: 0 0 0 0.2rem;
margin-right: @variables_icon_margin
}
}
}

View File

@ -638,7 +638,7 @@ define([
placeholder: Messages.settings_changePasswordNewConfirm,
autocomplete: 'new-password',
}, true),
h('button.btn.btn-primary', Messages.settings_changePasswordButton)
h('button.btn.btn-primary', [ Icons.get('password-change'), Messages.settings_changePasswordButton ])
]);
$(form).appendTo($div);