Improve templates

This commit is contained in:
RainLoop Team 2020-03-15 23:38:46 +03:00
parent 151646f990
commit e744100919
9 changed files with 18 additions and 19 deletions

View file

@ -65,7 +65,7 @@ pgsql:host=127.0.0.1;port=5432;dbname=rainloop
<div class="control-group"> <div class="control-group">
<label class="control-label" data-i18n="TAB_CONTACTS/LABEL_STORAGE_PASSWORD"></label> <label class="control-label" data-i18n="TAB_CONTACTS/LABEL_STORAGE_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="value: pdoPassword, saveTrigger: pdoPasswordTrigger" /> data-bind="value: pdoPassword, saveTrigger: pdoPasswordTrigger" />
<div data-bind="saveTrigger: pdoPasswordTrigger"></div> <div data-bind="saveTrigger: pdoPasswordTrigger"></div>
</div> </div>

View file

@ -8,7 +8,7 @@
data-bind="value: value, attr: {placeholder: placeholder}" /> data-bind="value: value, attr: {placeholder: placeholder}" />
<!-- /ko --> <!-- /ko -->
<!-- ko if: 3 === Type --> <!-- ko if: 3 === Type -->
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="value: value, attr: {placeholder: placeholder}" /> data-bind="value: value, attr: {placeholder: placeholder}" />
<!-- /ko --> <!-- /ko -->
<!-- ko if: 2 === Type --> <!-- ko if: 2 === Type -->

View file

@ -78,7 +78,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_CURRENT_PASSWORD"></label> <label class="control-label" data-i18n="TAB_SECURITY/LABEL_CURRENT_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: adminPassword" /> data-bind="textInput: adminPassword" />
</div> </div>
</div> </div>
@ -86,21 +86,21 @@
<div class="control-group" data-bind="css: {'error': adminLoginError}"> <div class="control-group" data-bind="css: {'error': adminLoginError}">
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_LOGIN"></label> <label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_LOGIN"></label>
<div class="controls"> <div class="controls">
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="text" autocomplete="username" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: adminLogin" /> data-bind="textInput: adminLogin" />
</div> </div>
</div> </div>
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}"> <div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_PASSWORD"></label> <label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: adminPasswordNew" /> data-bind="textInput: adminPasswordNew" />
</div> </div>
</div> </div>
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}"> <div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_REPEAT_PASSWORD"></label> <label class="control-label" data-i18n="TAB_SECURITY/LABEL_REPEAT_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: adminPasswordNew2" /> data-bind="textInput: adminPasswordNew2" />
</div> </div>
</div> </div>

View file

@ -30,7 +30,7 @@
<div class="control-group" data-bind="css: {'error': passwordError}"> <div class="control-group" data-bind="css: {'error': passwordError}">
<label class="i18n control-label" data-i18n="LOGIN/LABEL_PASSWORD"></label> <label class="i18n control-label" data-i18n="LOGIN/LABEL_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" class="inputPassword input-xlarge" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" class="inputPassword input-xlarge" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="value: password, onEnter: addAccountCommand" /> data-bind="value: password, onEnter: addAccountCommand" />
</div> </div>
</div> </div>

View file

@ -85,7 +85,7 @@
<div class="span6"> <div class="span6">
<div data-bind="visible: sign()"> <div data-bind="visible: sign()">
<input type="password" class="inputPassword input-block-level i18n" <input type="password" class="inputPassword input-block-level i18n"
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-i18n="[placeholder]POPUPS_COMPOSE_OPEN_PGP/LABEL_PASSWORD" data-i18n="[placeholder]POPUPS_COMPOSE_OPEN_PGP/LABEL_PASSWORD"
data-bind="textInput: password, hasfocus: password.focus, onEnter: doCommand" /> data-bind="textInput: password, hasfocus: password.focus, onEnter: doCommand" />
<div class="form-inline" data-bind="visible: 0 < privateKeysOptions().length"> <div class="form-inline" data-bind="visible: 0 < privateKeysOptions().length">

View file

@ -36,7 +36,7 @@
<div class="control-group"> <div class="control-group">
<label class="i18n control-label" data-i18n="POPUPS_MESSAGE_OPEN_PGP/LABEL_PASSWORD"></label> <label class="i18n control-label" data-i18n="POPUPS_MESSAGE_OPEN_PGP/LABEL_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" class="inputPassword input-xlarge" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" class="inputPassword input-xlarge" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: password, hasfocus: password.focus, onEnter: doCommand" /> data-bind="textInput: password, hasfocus: password.focus, onEnter: doCommand" />
</div> </div>
</div> </div>

View file

@ -34,7 +34,7 @@
<label class="i18n control-label" data-i18n="POPUPS_GENERATE_OPEN_PGP_KEYS/LABEL_PASSWORD"></label> <label class="i18n control-label" data-i18n="POPUPS_GENERATE_OPEN_PGP_KEYS/LABEL_PASSWORD"></label>
<div class="controls"> <div class="controls">
<input type="password" class="inputPassword input-large" <input type="password" class="inputPassword input-large"
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="value: password" /> data-bind="value: password" />
</div> </div>
</div> </div>

View file

@ -10,7 +10,7 @@
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_CURRENT_PASSWORD"></span> <span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_CURRENT_PASSWORD"></span>
</label> </label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: currentPassword" /> data-bind="textInput: currentPassword" />
</div> </div>
</div> </div>
@ -19,7 +19,7 @@
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_NEW_PASSWORD"></span> <span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_NEW_PASSWORD"></span>
</label> </label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: newPassword" /> data-bind="textInput: newPassword" />
</div> </div>
</div> </div>
@ -28,7 +28,7 @@
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_REPEAT_PASSWORD"></span> <span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_REPEAT_PASSWORD"></span>
</label> </label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: newPassword2" /> data-bind="textInput: newPassword2" />
</div> </div>
</div> </div>

View file

@ -36,9 +36,8 @@
<span class="i18n" data-i18n="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_AB_URL"></span> <span class="i18n" data-i18n="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_AB_URL"></span>
</label> </label>
<div class="controls"> <div class="controls">
<input type="text" class="input-xxlarge" <input type="text" class="input-xxlarge" autocomplete="off" autocorrect="off" autocapitalize="off"
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" spellcheck="false" data-bind="value: contactsSyncUrl" placeholder="https://" />
data-bind="value: contactsSyncUrl" placeholder="https://" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
@ -55,10 +54,10 @@
<span class="i18n" data-i18n="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_PASSWORD"></span> <span class="i18n" data-i18n="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_PASSWORD"></span>
</label> </label>
<div class="controls"> <div class="controls">
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" <input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off"
data-bind="value: contactsSyncPass" /> spellcheck="false" data-bind="value: contactsSyncPass" />
</div> </div>
</div> </div>
</div> </div>
</div> </div>