zotero-better-notes/addon/chrome/content/preferences.xhtml

74 lines
2.0 KiB
HTML

<linkset>
<html:link rel="localization" href="__addonRef__-preferences.ftl" />
</linkset>
<vbox
id="zotero-prefpane-__addonRef__"
onload="Zotero.__addonInstance__.hooks.onPrefsEvent('load', {window})"
>
<groupbox>
<label><html:h2 data-l10n-id="workspace-title"></html:h2></label>
<hbox>
<html:label
for="__addonRef__-workspace-expandLevel"
data-l10n-id="workspace-expandLevel-label"
></html:label>
<html:input
type="number"
min="1"
max="6"
step="1"
id="__addonRef__-workspace-expandLevel"
preference="__prefsPrefix__.workspace.outline.expandLevel"
></html:input>
</hbox>
</groupbox>
<groupbox>
<label><html:h2 data-l10n-id="sync-title"></html:h2></label>
<hbox>
<html:label
for="__addonRef__-sync-period"
data-l10n-id="sync-period-label"
></html:label>
<html:input
type="number"
min="-1"
max="3600"
step="1"
placeholder="-1 for disable"
id="__addonRef__-sync-period"
preference="__prefsPrefix__.syncPeriodSeconds"
></html:input>
</hbox>
<hbox>
<button
onclick="Zotero.__addonInstance__.hooks.onShowSyncManager()"
data-l10n-id="sync-manager"
></button>
</hbox>
</groupbox>
<groupbox>
<label><html:h2 data-l10n-id="template-title"></html:h2></label>
<hbox>
<button
onclick="Zotero.__addonInstance__.hooks.onShowTemplateEditor()"
data-l10n-id="template-editor"
></button>
</hbox>
</groupbox>
<groupbox>
<label><html:h2 data-l10n-id="annotation-title"></html:h2></label>
<!-- <checkbox
id="__addonRef__-enableAddToNote"
data-l10n-id="annotation-autoAnnotation"
native="true"
preference="__prefsPrefix__.autoAnnotation"
/> -->
</groupbox>
</vbox>
<vbox>
<label
data-l10n-id="help"
data-l10n-args='{"time": "__buildTime__","name": "__addonName__","version":"__buildVersion__"}'
></label>
</vbox>