2013-12-25 08:05:04 +08:00
|
|
|
<div class="b-settings-contacts">
|
|
|
|
<div class="form-horizontal g-ui-user-select-none">
|
|
|
|
<div class="legend">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LEGEND_CONTACTS"></span>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<label data-bind="click: function () { contactsAutosave(!contactsAutosave()); }">
|
|
|
|
<i data-bind="css: contactsAutosave() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LABEL_CONTACTS_AUTOSAVE"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-26 05:50:17 +08:00
|
|
|
<br />
|
2013-12-25 08:05:04 +08:00
|
|
|
<div class="form-horizontal" data-bind="visible: allowContactsSync">
|
|
|
|
<div class="legend">
|
2014-04-26 05:50:17 +08:00
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LEGEND_CONTACTS_SYNC"></span>
|
2013-12-25 08:05:04 +08:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-04-26 05:50:17 +08:00
|
|
|
<label data-bind="click: function () { enableContactsSync(!enableContactsSync()); }">
|
|
|
|
<i data-bind="css: enableContactsSync() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_ENABLE"></span>
|
|
|
|
</label>
|
2013-12-25 08:05:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-26 05:50:17 +08:00
|
|
|
<!-- <div class="control-group">
|
|
|
|
<label class="control-label">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_SERVER"></span>
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input type="text" data-bind="" />
|
|
|
|
</div>
|
|
|
|
</div>-->
|
2013-12-25 08:05:04 +08:00
|
|
|
<div class="control-group">
|
2014-04-26 05:50:17 +08:00
|
|
|
<label class="control-label">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_AB_URL"></span>
|
2013-12-25 08:05:04 +08:00
|
|
|
</label>
|
|
|
|
<div class="controls">
|
2014-04-26 05:50:17 +08:00
|
|
|
<input class="input-xxlarge" type="text" data-bind="value: contactsSyncUrl" />
|
2013-12-25 08:05:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-04-26 05:50:17 +08:00
|
|
|
<label class="control-label">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_USER"></span>
|
2013-12-25 08:05:04 +08:00
|
|
|
</label>
|
|
|
|
<div class="controls">
|
2014-04-26 05:50:17 +08:00
|
|
|
<input type="text" data-bind="value: contactsSyncUser" />
|
2013-12-25 08:05:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-04-26 05:50:17 +08:00
|
|
|
<label class="control-label">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CONTACTS/LABEL_CONTACTS_SYNC_PASSWORD"></span>
|
|
|
|
</label>
|
2013-12-25 08:05:04 +08:00
|
|
|
<div class="controls">
|
2014-04-26 05:50:17 +08:00
|
|
|
<input type="password" data-bind="value: contactsSyncPass" />
|
2013-12-25 08:05:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-26 05:50:17 +08:00
|
|
|
|
2013-12-25 08:05:04 +08:00
|
|
|
</div>
|
2014-04-26 05:50:17 +08:00
|
|
|
</div>
|