2013-12-11 04:14:59 +08:00
|
|
|
<div class="adminSecurity g-ui-user-select-none">
|
2016-07-17 23:03:38 +08:00
|
|
|
<div class="legend" data-i18n="TAB_SECURITY/LEGEND_SECURITY"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
2014-03-13 06:29:33 +08:00
|
|
|
<div class="control-group">
|
2014-01-29 00:09:41 +08:00
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
2015-04-08 00:39:43 +08:00
|
|
|
params: {
|
|
|
|
value: capaTwoFactorAuth,
|
|
|
|
label: 'TAB_SECURITY/LABEL_ALLOW_TWO_STEP',
|
|
|
|
inline: true
|
|
|
|
}
|
2014-10-29 06:05:50 +08:00
|
|
|
}"></div>
|
2015-04-08 00:39:43 +08:00
|
|
|
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
2015-04-08 00:39:43 +08:00
|
|
|
params: {
|
|
|
|
value: capaTwoFactorAuthForce,
|
|
|
|
enable: capaTwoFactorAuth,
|
|
|
|
label: 'TAB_SECURITY/LABEL_FORCE_TWO_STEP',
|
|
|
|
inline: true
|
|
|
|
}
|
2014-10-29 06:05:50 +08:00
|
|
|
}"></div>
|
2016-07-17 23:03:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--
|
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="control-group" data-bind="visible: isTwoFactorDropperShown()">
|
|
|
|
<div class="controls">
|
|
|
|
<div class="input-append">
|
|
|
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="textInput: twoFactorDropperUser, hasfocus: twoFactorDropperUser.focused" placeholder="Email"/>
|
|
|
|
<button class="btn">
|
|
|
|
<i class="icon-spinner animated" data-bind="visible: true"></i>
|
|
|
|
<span data-bind="visible: false">OK</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group" data-bind="visible: !isTwoFactorDropperShown()">
|
|
|
|
<div class="controls">
|
|
|
|
<span class="g-ui-link" data-bind="click: showTwoFactorDropper">Drop user keys</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
-->
|
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
2015-04-08 00:39:43 +08:00
|
|
|
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
|
|
|
|
}
|
2014-10-29 06:05:50 +08:00
|
|
|
}"></div>
|
2014-10-18 23:29:09 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-06 05:41:22 +08:00
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2016-07-17 23:03:38 +08:00
|
|
|
<a href="#" target="_blank" class="g-ui-link" data-bind="link: phpInfoLink()" data-i18n="TAB_SECURITY/LABEL_SHOW_PHP_INFO"></a>
|
2015-01-06 05:41:22 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-28 06:06:56 +08:00
|
|
|
<br />
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
2015-03-28 06:06:56 +08:00
|
|
|
<div class="legend" data-i18n="TAB_SECURITY/LEGEND_ADMIN_PANEL_ACCESS_CREDENTIALS"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="control-group">
|
2015-03-28 06:06:56 +08:00
|
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_CURRENT_PASSWORD"></label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: adminPassword" />
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-18 23:06:31 +08:00
|
|
|
<br />
|
|
|
|
<div class="control-group" data-bind="css: {'error': adminLoginError}">
|
2015-03-28 06:06:56 +08:00
|
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_LOGIN"></label>
|
2014-10-18 23:06:31 +08:00
|
|
|
<div class="controls">
|
|
|
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="textInput: adminLogin" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-29 23:31:49 +08:00
|
|
|
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
|
2015-03-28 06:06:56 +08:00
|
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_NEW_PASSWORD"></label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: adminPasswordNew" />
|
2014-04-29 23:31:49 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
|
2015-03-28 06:06:56 +08:00
|
|
|
<label class="control-label" data-i18n="TAB_SECURITY/LABEL_REPEAT_PASSWORD"></label>
|
2014-04-29 23:31:49 +08:00
|
|
|
<div class="controls">
|
|
|
|
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: adminPasswordNew2" />
|
2013-11-12 06:01:44 +08:00
|
|
|
</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>
|
|
|
|
|
2015-03-28 06:06:56 +08:00
|
|
|
<span data-i18n="TAB_SECURITY/BUTTON_UPDATE_PASSWORD"></span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-27 05:06:00 +08:00
|
|
|
<div class="form-horizontal">
|
2015-03-28 06:06:56 +08:00
|
|
|
<div class="legend" data-i18n="TAB_SECURITY/LEGEND_SSL"></div>
|
2015-01-27 05:06:00 +08:00
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
value: verifySslCertificate,
|
2015-03-28 06:06:56 +08:00
|
|
|
label: 'TAB_SECURITY/LABEL_REQUIRE_VERIFICATION',
|
2015-01-27 05:06:00 +08:00
|
|
|
inline: true
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
|
2015-03-28 06:06:56 +08:00
|
|
|
<span style="color:red">(<span data-i18n="HINTS/UNSTABLE"></span>)</span>
|
2015-01-27 05:06:00 +08:00
|
|
|
<br />
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
enable: verifySslCertificate,
|
|
|
|
value: allowSelfSigned,
|
2015-03-28 06:06:56 +08:00
|
|
|
label: 'TAB_SECURITY/LABEL_ALLOW_SELF_SIGNED'
|
2015-01-27 05:06:00 +08:00
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|