mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
219 lines
5.9 KiB
HTML
219 lines
5.9 KiB
HTML
<div class="form-horizontal">
|
|
<div class="legend" data-i18n="SETTINGS_GENERAL/LEGEND_GENERAL"></div>
|
|
<div class="control-group">
|
|
<label data-i18n="SETTINGS_GENERAL/IDENTITY"></label>
|
|
<b class="editMainIdentity" data-bind="click: editMainIdentity, text: identityMainDesc"></b>
|
|
</div>
|
|
<div class="control-group" data-bind="visible: allowLanguagesOnSettings">
|
|
<label data-i18n="SETTINGS_GENERAL/LANGUAGE"></label>
|
|
<div>
|
|
<span class="select" tabindex="0" data-bind="text: languageFullName, click: selectLanguage, onSpace: selectLanguage, onEnter: selectLanguage"></span>
|
|
<span data-bind="saveTrigger: languageTrigger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label data-i18n="SETTINGS_GENERAL/LAYOUT"></label>
|
|
<div data-bind="component: {
|
|
name: 'Select',
|
|
params: {
|
|
options: layoutTypes,
|
|
value: layout,
|
|
trigger: layoutTrigger,
|
|
optionsText: 'name',
|
|
optionsValue: 'id'
|
|
}
|
|
}"></div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label data-i18n="SETTINGS_GENERAL/MESSAGE_PER_PAGE"></label>
|
|
<div>
|
|
<input type="number" min="10" max="50" step="1" class="span1" data-bind="textInput: messagesPerPage">
|
|
|
|
<span data-bind="saveTrigger: messagesPerPageTrigger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/HIDE_DELETED_MESSAGES',
|
|
value: hideDeleted
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/USE_CHECKBOXES_IN_LIST',
|
|
value: useCheckboxesInList
|
|
}
|
|
}"></div>
|
|
<div data-bind="visible: threadsAllowed, component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/USE_THREADS',
|
|
value: useThreads
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/REPLY_SAME_FOLDER',
|
|
value: replySameFolder
|
|
}
|
|
}"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="legend" data-i18n="SHORTCUTS_HELP/TAB_COMPOSE"></div>
|
|
<div class="control-group">
|
|
<label data-i18n="SETTINGS_GENERAL/EDITOR"></label>
|
|
<div data-bind="component: {
|
|
name: 'Select',
|
|
params: {
|
|
options: editorDefaultTypes,
|
|
value: editorDefaultType,
|
|
trigger: editorDefaultTypeTrigger,
|
|
optionsText: 'name',
|
|
optionsValue: 'id'
|
|
}
|
|
}"></div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'COMPOSE/BUTTON_REQUEST_READ_RECEIPT',
|
|
value: requestReadReceipt
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'COMPOSE/BUTTON_REQUEST_DSN',
|
|
value: requestDsn
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'OPENPGP/LABEL_SIGN',
|
|
value: pgpSign
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'OPENPGP/LABEL_ENCRYPT',
|
|
value: pgpEncrypt
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'COMPOSE/ALLOW_SPELLCHECK',
|
|
value: allowSpellcheck
|
|
}
|
|
}"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="legend" data-i18n="SHORTCUTS_HELP/TAB_MESSAGE_VIEW"></div>
|
|
<div class="control-group">
|
|
<label data-i18n="SETTINGS_GENERAL/MARK_MESSAGE_READ_AFTER"></label>
|
|
<div>
|
|
<input type="number" min="0" step="1" class="span1" data-bind="textInput: messageReadDelay">
|
|
|
|
<span data-i18n="SETTINGS_GENERAL/SECONDS"></span>
|
|
<span data-bind="saveTrigger: messageReadDelayTrigger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label data-i18n="SETTINGS_GENERAL/MSG_DEFAULT_ACTION"></label>
|
|
<div data-bind="component: {
|
|
name: 'Select',
|
|
params: {
|
|
options: msgDefaultActions,
|
|
value: msgDefaultAction,
|
|
trigger: msgDefaultActionTrigger,
|
|
optionsText: 'name',
|
|
optionsValue: 'id'
|
|
}
|
|
}"></div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/SHOW_IMAGES',
|
|
value: showImages
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/REMOVE_COLORS',
|
|
value: removeColors
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/LIST_INLINE_ATTACHMENTS',
|
|
value: listInlineAttachments
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/LIST_SIMPLE_ATTACHMENTS',
|
|
value: simpleAttachmentsList
|
|
}
|
|
}"></div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/PREFER_HTML',
|
|
value: viewHTML
|
|
}
|
|
}"></div>
|
|
<em style="margin: 0 0 1em 2em;display: block;" data-i18n="SETTINGS_GENERAL/PREFER_HTML_INFO"></em>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="legend" data-i18n="SETTINGS_GENERAL/NOTIFICATIONS"></div>
|
|
<div class="control-group">
|
|
<div>
|
|
<div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/CHROME_NOTIFICATION_DESC',
|
|
value: desktopNotification,
|
|
enable: isDesktopNotificationAllowed,
|
|
inline: true
|
|
}
|
|
}"></div>
|
|
|
|
<span data-bind="visible: !isDesktopNotificationAllowed()" style="color: #999" data-i18n="SETTINGS_GENERAL/CHROME_NOTIFICATION_DESC_DENIED"></span>
|
|
<span class="fontastic" data-bind="click: testSystemNotification" style="color:green;cursor:pointer">▶️</span>
|
|
</div>
|
|
<div>
|
|
<div data-bind="component: {
|
|
name: 'Checkbox',
|
|
params: {
|
|
label: 'SETTINGS_GENERAL/SOUND_NOTIFICATION',
|
|
value: soundNotification,
|
|
inline: true
|
|
}
|
|
}"></div>
|
|
|
|
<select data-bind="options: notificationSounds, value: notificationSound"></select>
|
|
|
|
<span class="fontastic" data-bind="click: testSoundNotification" style="color:green;cursor:pointer">▶️</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|