chore: initial project commit
This commit is contained in:
83
addon/content/preferences.xhtml
Normal file
83
addon/content/preferences.xhtml
Normal file
@@ -0,0 +1,83 @@
|
||||
<vbox id="orgexportannotations-prefs"
|
||||
onload="window.OrgExportAnnotationsPrefs?.init()">
|
||||
|
||||
<linkset>
|
||||
<html:link rel="localization" href="orgexportannotations-addon.ftl"/>
|
||||
<html:link rel="localization" href="orgexportannotations-preferences.ftl"/>
|
||||
</linkset>
|
||||
|
||||
<!-- Paths Section -->
|
||||
<groupbox>
|
||||
<caption data-l10n-id="prefs-section-paths"/>
|
||||
|
||||
<vbox class="orgexportannotations-pref-row">
|
||||
<hbox align="center">
|
||||
<label data-l10n-id="prefs-notes-path"
|
||||
control="orgexportannotations-notes-path"/>
|
||||
<html:input id="orgexportannotations-notes-path"
|
||||
type="text"
|
||||
preference="extensions.zotero.orgexportannotations.notesPath"
|
||||
style="flex: 1;"/>
|
||||
<button data-l10n-id="prefs-browse"
|
||||
oncommand="window.OrgExportAnnotationsPrefs?.browseNotesPath()"/>
|
||||
</hbox>
|
||||
<description data-l10n-id="prefs-notes-path-description"
|
||||
class="orgexportannotations-pref-description"/>
|
||||
</vbox>
|
||||
|
||||
<vbox class="orgexportannotations-pref-row">
|
||||
<hbox align="center">
|
||||
<label data-l10n-id="prefs-pandoc-path"
|
||||
control="orgexportannotations-pandoc-path"/>
|
||||
<html:input id="orgexportannotations-pandoc-path"
|
||||
type="text"
|
||||
preference="extensions.zotero.orgexportannotations.pandocPath"
|
||||
style="flex: 1;"/>
|
||||
<button data-l10n-id="prefs-browse"
|
||||
oncommand="window.OrgExportAnnotationsPrefs?.browsePandocPath()"/>
|
||||
<button data-l10n-id="prefs-test-pandoc"
|
||||
oncommand="window.OrgExportAnnotationsPrefs?.testPandoc()"/>
|
||||
</hbox>
|
||||
<description data-l10n-id="prefs-pandoc-path-description"
|
||||
class="orgexportannotations-pref-description"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
|
||||
<!-- Behavior Section -->
|
||||
<groupbox>
|
||||
<caption data-l10n-id="prefs-section-behavior"/>
|
||||
|
||||
<checkbox id="orgexportannotations-attach-org"
|
||||
data-l10n-id="prefs-attach-org"
|
||||
preference="extensions.zotero.orgexportannotations.attachOrgFile"/>
|
||||
|
||||
<checkbox id="orgexportannotations-auto-export-sync"
|
||||
data-l10n-id="prefs-auto-export-sync"
|
||||
preference="extensions.zotero.orgexportannotations.autoExportOnSync"/>
|
||||
|
||||
<checkbox id="orgexportannotations-export-tab-close"
|
||||
data-l10n-id="prefs-export-tab-close"
|
||||
preference="extensions.zotero.orgexportannotations.exportOnTabClose"/>
|
||||
|
||||
<checkbox id="orgexportannotations-show-notification"
|
||||
data-l10n-id="prefs-show-notification"
|
||||
preference="extensions.zotero.orgexportannotations.showNotification"/>
|
||||
</groupbox>
|
||||
|
||||
<!-- Advanced Section -->
|
||||
<groupbox>
|
||||
<caption data-l10n-id="prefs-section-advanced"/>
|
||||
|
||||
<checkbox id="orgexportannotations-debug"
|
||||
data-l10n-id="prefs-debug"
|
||||
preference="extensions.zotero.orgexportannotations.debug"/>
|
||||
|
||||
<hbox>
|
||||
<button data-l10n-id="prefs-export-now"
|
||||
oncommand="window.OrgExportAnnotationsPrefs?.exportAllNow()"/>
|
||||
<button data-l10n-id="prefs-force-export"
|
||||
oncommand="window.OrgExportAnnotationsPrefs?.forceExportAllNow()"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
</vbox>
|
||||
Reference in New Issue
Block a user