style password checkbox
This commit is contained in:
parent
acbf9fc32f
commit
1e4d6646c6
4 changed files with 51 additions and 6 deletions
|
@ -4,11 +4,11 @@ module.exports = function(state, emit) {
|
|||
const file = state.storage.getFileById(state.params.id);
|
||||
const div = html`
|
||||
<div class="selectPassword">
|
||||
<div>
|
||||
<div id="addPasswordWrapper">
|
||||
<input id="addPassword" type="checkbox" onchange=${togglePasswordInput}/>
|
||||
<label for="addPassword">${state.translate(
|
||||
'requirePasswordCheckbox'
|
||||
)}</label>
|
||||
<label for="addPassword">
|
||||
<img src="/assets/check-16-blue.svg"/>
|
||||
${state.translate('requirePasswordCheckbox')}</label>
|
||||
</div>
|
||||
<form class="setPassword hidden" onsubmit=${setPassword}>
|
||||
<input id="unlock-input"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue