mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
add icons
This commit is contained in:
parent
f47cf6ed1e
commit
190d33347f
@ -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",
|
||||
|
||||
@ -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', [
|
||||
|
||||
@ -225,7 +225,7 @@
|
||||
}
|
||||
button {
|
||||
svg {
|
||||
margin: 0 0 0 0.2rem;
|
||||
margin-right: @variables_icon_margin
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user