2013-12-25 08:05:04 +08:00
|
|
|
<div class="b-settings-general g-ui-user-select-none">
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="legend">
|
2014-10-30 05:08:53 +08:00
|
|
|
<span class="i18n i18n-animation" data-i18n-text="SETTINGS_GENERAL/LEGEND_GENERAL"></span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
<div class="control-group" data-bind="visible: allowLanguagesOnSettings">
|
|
|
|
<label class="control-label">
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_GENERAL/LABEL_LANGUAGE"></span>
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
2015-01-06 04:55:06 +08:00
|
|
|
<div class="flag-selector">
|
2013-11-12 06:01:44 +08:00
|
|
|
<span class="flag-wrapper">
|
2015-01-26 07:09:22 +08:00
|
|
|
<span data-bind="css: 'flag flag-' + language()" style=""></span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</span>
|
2015-01-26 07:09:22 +08:00
|
|
|
<span class="flag-name" data-bind="text: languageFullName, click: selectLanguage"></span>
|
2014-10-29 06:05:50 +08:00
|
|
|
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'SaveTrigger',
|
|
|
|
params: { value: languageTrigger }
|
|
|
|
}"></div>
|
2015-01-06 04:55:06 +08:00
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2015-01-06 04:55:06 +08:00
|
|
|
<label class="control-label">
|
2013-12-19 08:53:42 +08:00
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_GENERAL/LABEL_EDITOR"></span>
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-10-30 07:07:48 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Select',
|
|
|
|
params: {
|
|
|
|
options: editorDefaultTypes,
|
|
|
|
value: editorDefaultType,
|
2014-10-30 07:27:13 +08:00
|
|
|
trigger: editorDefaultTypeTrigger,
|
2014-10-30 07:07:48 +08:00
|
|
|
optionsText: 'name',
|
|
|
|
optionsValue: 'id'
|
|
|
|
}
|
2014-10-30 05:08:53 +08:00
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-05 03:30:07 +08:00
|
|
|
<div class="control-group">
|
2015-01-06 04:55:06 +08:00
|
|
|
<label class="control-label">
|
2015-01-05 03:30:07 +08:00
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_GENERAL/LABEL_LAYOUT"></span>
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Select',
|
|
|
|
params: {
|
|
|
|
options: layoutTypes,
|
|
|
|
value: layout,
|
|
|
|
trigger: layoutTrigger,
|
|
|
|
optionsText: 'name',
|
|
|
|
optionsValue: 'id'
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-24 07:56:47 +08:00
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="form-horizontal">
|
|
|
|
<div class="legend">
|
2014-10-30 05:08:53 +08:00
|
|
|
<span class="i18n i18n-animation" data-i18n-text="SETTINGS_GENERAL/LABEL_VIEW_OPTIONS"></span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Select',
|
|
|
|
params: {
|
|
|
|
label: 'SETTINGS_GENERAL/LABEL_MESSAGE_PER_PAGE',
|
2015-01-26 07:09:22 +08:00
|
|
|
options: messagesPerPageArray,
|
|
|
|
value: messagesPerPage,
|
2014-10-29 06:05:50 +08:00
|
|
|
trigger: mppTrigger,
|
|
|
|
size: 2,
|
|
|
|
width: 70
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
label: 'SETTINGS_GENERAL/LABEL_SHOW_IMAGES',
|
|
|
|
value: showImages
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
label: 'SETTINGS_GENERAL/LABEL_USE_CHECKBOXES_IN_LIST',
|
|
|
|
value: useCheckboxesInList
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
<div data-bind="visible: threading, component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
label: 'SETTINGS_GENERAL/LABEL_USE_THREADS',
|
|
|
|
value: useThreads
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
label: 'SETTINGS_GENERAL/LABEL_REPLY_SAME_FOLDER',
|
|
|
|
value: replySameFolder
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-26 07:09:22 +08:00
|
|
|
<div class="form-horizontal" data-bind="visible: isDesktopNotificationSupported">
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="legend">
|
2014-10-30 05:08:53 +08:00
|
|
|
<span class="i18n i18n-animation" data-i18n-text="SETTINGS_GENERAL/LABEL_CHROME_NOTIFICATION"></span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2015-01-26 07:09:22 +08:00
|
|
|
<div data-bind="visible: isDesktopNotificationSupported">
|
2014-10-30 05:08:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
|
|
|
label: 'SETTINGS_GENERAL/LABEL_CHROME_NOTIFICATION_DESC',
|
2015-01-26 07:09:22 +08:00
|
|
|
value: enableDesktopNotification,
|
|
|
|
disable: isDesktopNotificationDenied,
|
2014-10-30 05:08:53 +08:00
|
|
|
inline: true
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
|
2015-01-26 07:09:22 +08:00
|
|
|
<span data-bind="visible: isDesktopNotificationDenied">
|
2014-10-30 05:08:53 +08:00
|
|
|
<span class="i18n" style="color: #999" data-i18n-text="SETTINGS_GENERAL/LABEL_CHROME_NOTIFICATION_DESC_DENIED"></span>
|
|
|
|
</span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|