mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 16:58:07 +08:00
97 lines
No EOL
3.6 KiB
HTML
97 lines
No EOL
3.6 KiB
HTML
<div class="adminSecurity g-ui-user-select-none">
|
|
<div class="form-horizontal">
|
|
<div class="legend" data-i18n="TAB_SECURITY/LEGEND_SECURITY"></div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: { value: capaTwoFactorAuth, label: 'TAB_SECURITY/LABEL_ALLOW_TWO_STEP' }
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: { value: useLocalProxyForExternalImages, label: 'TAB_SECURITY/LABEL_USE_IMAGE_PROXY' }
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: { value: capaOpenPGP, label: 'TAB_SECURITY/LABEL_ALLOW_OPEN_PGP', inline: true }
|
|
}"></div>
|
|
|
|
<span style="color:red">(<span data-i18n="HINTS/BETA"></span>)</span>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<a href="#" target="_blank" class="g-ui-link" data-bind="link: phpInfoLink()"
|
|
data-i18n="TAB_SECURITY/LABEL_SHOW_PHP_INFO"></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<div class="form-horizontal">
|
|
<div class="legend" data-i18n="TAB_SECURITY/LEGEND_ADMIN_PANEL_ACCESS_CREDENTIALS"></div>
|
|
<div class="control-group">
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_CURRENT_PASSWORD"></label>
|
|
<div class="controls">
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
data-bind="textInput: adminPassword" />
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<div class="control-group" data-bind="css: {'error': adminLoginError}">
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_LOGIN"></label>
|
|
<div class="controls">
|
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
data-bind="textInput: adminLogin" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_PASSWORD"></label>
|
|
<div class="controls">
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
data-bind="textInput: adminPasswordNew" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_REPEAT_PASSWORD"></label>
|
|
<div class="controls">
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
data-bind="textInput: adminPasswordNew2" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<a class="btn" data-bind="command: saveNewAdminPasswordCommand, css: { 'btn-success': adminPasswordUpdateSuccess, 'btn-danger': adminPasswordUpdateError }">
|
|
<i class="icon-key" data-bind="css: {'icon-white': adminPasswordUpdateSuccess() || adminPasswordUpdateError() }"></i>
|
|
|
|
<span data-i18n="TAB_SECURITY/BUTTON_UPDATE_PASSWORD"></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-horizontal">
|
|
<div class="legend" data-i18n="TAB_SECURITY/LEGEND_SSL"></div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
value: verifySslCertificate,
|
|
label: 'TAB_SECURITY/LABEL_REQUIRE_VERIFICATION',
|
|
inline: true
|
|
}
|
|
}"></div>
|
|
|
|
<span style="color:red">(<span data-i18n="HINTS/UNSTABLE"></span>)</span>
|
|
<br />
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
enable: verifySslCertificate,
|
|
value: allowSelfSigned,
|
|
label: 'TAB_SECURITY/LABEL_ALLOW_SELF_SIGNED'
|
|
}
|
|
}"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |