snappymail/rainloop/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html

83 lines
2.9 KiB
HTML
Raw Normal View History

<div class="adminSecurity g-ui-user-select-none">
<div class="form-horizontal">
<div class="legend">
Security
</div>
<div class="control-group">
2014-01-29 00:09:41 +08:00
<div class="controls">
2014-10-18 21:43:44 +08:00
<label data-bind="click: function () { capaTwoFactorAuth(!capaTwoFactorAuth()); }">
<i data-bind="css: capaTwoFactorAuth() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
2014-01-29 00:09:41 +08:00
&nbsp;&nbsp;
2014-10-18 21:43:44 +08:00
Allow 2-Step Verification (Google Authenticator)
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
2014-10-18 21:43:44 +08:00
<label data-bind="click: function () { capaOpenPGP(!capaOpenPGP()); }">
<i data-bind="css: capaOpenPGP() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
&nbsp;&nbsp;
2014-10-18 21:43:44 +08:00
Allow OpenPGP
<span style="color:red">(beta)</span>
2014-01-29 00:09:41 +08:00
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<label data-bind="click: function () { useLocalProxyForExternalImages(!useLocalProxyForExternalImages()); }">
<i data-bind="css: useLocalProxyForExternalImages() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
&nbsp;&nbsp;
Use local proxy for external images
<span style="color:red">(beta)</span>
</label>
</div>
</div>
<div class="control-group">
<div class="controls">
<a href="#" target="_blank" class="g-ui-link" data-bind="link: phpInfoLink()">Show PHP information</a>
</div>
</div>
</div>
<br />
<div class="form-horizontal">
<div class="legend">
2014-10-18 20:52:51 +08:00
Admin Panel Access Credentials
</div>
<div class="control-group">
<label class="control-label">
Current password
</label>
<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" />
</div>
</div>
2014-04-29 23:31:49 +08:00
<div class="control-group" data-bind="css: {'error': adminPasswordNewError}">
<label class="control-label">
New password
</label>
<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}">
<label class="control-label">
2014-10-18 21:43:44 +08:00
Repeat
2014-04-29 23:31:49 +08:00
</label>
<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" />
</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>
&nbsp;&nbsp;
Update Password
</a>
</div>
</div>
</div>
2013-09-25 03:04:44 +08:00
</div>