|
48 | 48 | preference="skipIfExists" |
49 | 49 | data-l10n-id="pref-skip-if-exists" |
50 | 50 | /> |
| 51 | + <hbox align="center"> |
| 52 | + <html:label |
| 53 | + for="zotero-docling-max-concurrency" |
| 54 | + data-l10n-id="pref-max-concurrency" |
| 55 | + style="min-width: 180px" |
| 56 | + ></html:label> |
| 57 | + <html:input |
| 58 | + type="number" |
| 59 | + id="zotero-docling-max-concurrency" |
| 60 | + preference="maxConcurrency" |
| 61 | + min="1" |
| 62 | + max="8" |
| 63 | + step="1" |
| 64 | + style="width: 6em" |
| 65 | + ></html:input> |
| 66 | + </hbox> |
| 67 | + <description data-l10n-id="pref-max-concurrency-help"></description> |
| 68 | + <checkbox |
| 69 | + id="zotero-docling-notify" |
| 70 | + preference="notifyOnComplete" |
| 71 | + data-l10n-id="pref-notify-on-complete" |
| 72 | + /> |
| 73 | + </groupbox> |
| 74 | + |
| 75 | + <!-- ============================================================ --> |
| 76 | + <!-- Output (Phase 5a) --> |
| 77 | + <!-- ============================================================ --> |
| 78 | + <groupbox> |
| 79 | + <label><html:h2 data-l10n-id="pref-output-title"></html:h2></label> |
| 80 | + <checkbox |
| 81 | + id="zotero-docling-attach-to-item" |
| 82 | + preference="attachToItem" |
| 83 | + data-l10n-id="pref-attach-to-item" |
| 84 | + /> |
| 85 | + <checkbox |
| 86 | + id="zotero-docling-add-frontmatter" |
| 87 | + preference="addFrontmatter" |
| 88 | + data-l10n-id="pref-add-frontmatter" |
| 89 | + /> |
| 90 | + <description data-l10n-id="pref-frontmatter-help"></description> |
| 91 | + <hbox align="center"> |
| 92 | + <html:label |
| 93 | + for="zotero-docling-export-folder" |
| 94 | + data-l10n-id="pref-export-folder" |
| 95 | + style="min-width: 180px" |
| 96 | + ></html:label> |
| 97 | + <html:input |
| 98 | + type="text" |
| 99 | + id="zotero-docling-export-folder" |
| 100 | + preference="exportFolderPath" |
| 101 | + placeholder="/absolute/path/to/markdown/folder" |
| 102 | + style="flex: 1" |
| 103 | + ></html:input> |
| 104 | + </hbox> |
| 105 | + <description data-l10n-id="pref-export-folder-help"></description> |
51 | 106 | </groupbox> |
52 | 107 |
|
53 | 108 | <!-- ============================================================ --> |
|
222 | 277 | style="width: 6em" |
223 | 278 | ></html:input> |
224 | 279 | </hbox> |
225 | | - <hbox align="center"> |
226 | | - <html:label |
227 | | - for="zotero-docling-async-max-wait" |
228 | | - data-l10n-id="pref-async-max-wait" |
229 | | - style="min-width: 180px" |
230 | | - ></html:label> |
231 | | - <html:input |
232 | | - type="number" |
233 | | - id="zotero-docling-async-max-wait" |
234 | | - preference="asyncMaxWaitSec" |
235 | | - min="0" |
236 | | - step="60" |
237 | | - style="width: 6em" |
238 | | - ></html:input> |
239 | | - </hbox> |
240 | 280 | </groupbox> |
241 | 281 |
|
242 | 282 | <!-- ============================================================ --> |
|
254 | 294 | ></html:textarea> |
255 | 295 | </groupbox> |
256 | 296 |
|
| 297 | + <!-- Reset to defaults — clears every plugin pref including serverUrl --> |
| 298 | + <hbox align="center"> |
| 299 | + <button id="zotero-docling-reset" data-l10n-id="pref-reset"></button> |
| 300 | + <html:label |
| 301 | + data-l10n-id="pref-reset-help" |
| 302 | + style="margin-left: 1em; font-style: italic; opacity: 0.7" |
| 303 | + ></html:label> |
| 304 | + </hbox> |
| 305 | + |
257 | 306 | <!-- Build info --> |
258 | 307 | <vbox> |
259 | 308 | <html:label |
|
0 commit comments