41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
<?xml version="1.0"?>
|
|
<!-- prettier-ignore -->
|
|
<!DOCTYPE window>
|
|
<!-- prettier-ignore -->
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<!-- prettier-ignore -->
|
|
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
|
<!-- prettier-ignore -->
|
|
<?xml-stylesheet href="chrome://zotero-platform/content/zotero.css" type="text/css"?>
|
|
<!-- prettier-ignore -->
|
|
<window id="url-snapshot-dialog"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
title="Import URLs with Snapshots"
|
|
style="width: 500px;">
|
|
|
|
<vbox flex="1" style="padding: 20px;">
|
|
<label value="Enter URLs (one per line):" />
|
|
<html:textarea id="urls-input" rows="10" style="margin: 10px 0;" />
|
|
|
|
<hbox style="margin-top: 10px; justify-content: flex-end;">
|
|
<button label="Cancel" oncommand="cancel();" />
|
|
<button label="Import" oncommand="accept();" default="true" style="margin-left: 10px;" />
|
|
</hbox>
|
|
</vbox>
|
|
|
|
<script>
|
|
const params = window.arguments[0];
|
|
|
|
function accept() {
|
|
params.dataOut = document.getElementById('urls-input').value;
|
|
window.close();
|
|
}
|
|
|
|
function cancel() {
|
|
params.dataOut = null;
|
|
window.close();
|
|
}
|
|
</script>
|
|
</window>
|