mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Added password warning to Form creation modal #1455
This commit is contained in:
parent
e40410eecb
commit
8465fc0e44
@ -165,6 +165,7 @@
|
||||
//margin: 10px 0;
|
||||
min-height: 28px;
|
||||
line-height: 28px;
|
||||
flex-flow: column;
|
||||
label {
|
||||
flex: 1;
|
||||
// Force wrap when the other element in the line is 100% (IE bug):
|
||||
@ -178,6 +179,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cp-creation-password-warning {
|
||||
background-color:@creation-bg-color-light;
|
||||
}
|
||||
.cp-creation-help, .cp-creation-warning {
|
||||
font-size: 16px;
|
||||
color: @cp_creation-fg;
|
||||
|
||||
@ -2770,7 +2770,8 @@ define([
|
||||
]);
|
||||
|
||||
// Password
|
||||
var password = h('div.cp-creation-password', [
|
||||
var text = h('div.cp-creation-password-warning', 'Note that for Forms, you can only set the password during creation. This password cannot be changed later.');
|
||||
var password = h('div.cp-creation-password', [text,
|
||||
UI.createCheckbox('cp-creation-password', Messages.properties_addPassword, false),
|
||||
h('span.cp-creation-password-picker.cp-creation-slider', [
|
||||
UI.passwordInput({id: 'cp-creation-password-val'})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user