06b28194da
This adds a very basic reimplementation of the annotation widget for use in the CR window. It's not pixel-perfect, but it's close enough that most people probably won't notice. We'll want to replace this with a real version that's shared between the PDF reader and the rest of the codebase. Image annotations currently show an "[image not shown]" placeholder. Showing images is tricky: we don't have the remote cache image, so if the remote position has changed, we could only show an image by rendering it from the file, and only if the file itself hasn't changed. Just for a better user experience, we could use the local image as long as the position and file are both the same, but that would take some rejiggering of the CR window. Tags aren't shown because they're not shown for CR at all, though that could be changed in the future.
67 lines
2.4 KiB
XML
67 lines
2.4 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
***** BEGIN LICENSE BLOCK *****
|
|
|
|
Copyright © 2009 Center for History and New Media
|
|
George Mason University, Fairfax, Virginia, USA
|
|
http://zotero.org
|
|
|
|
This file is part of Zotero.
|
|
|
|
Zotero is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Zotero is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with Zotero. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
***** END LICENSE BLOCK *****
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://zotero/skin/merge.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://zotero-platform/content/zotero-react-client.css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
|
|
|
<wizard
|
|
id="zotero-merge-window"
|
|
orient="vertical"
|
|
title=""
|
|
onwizardfinish="return Zotero_Merge_Window.onFinish()"
|
|
onwizardcancel="return Zotero_Merge_Window.onCancel()"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script src="include.js"/>
|
|
<script src="merge.js"/>
|
|
<script src="components/annotation.js"/>
|
|
|
|
<wizardpage onpageshow="Zotero_Merge_Window.init()"
|
|
onpagerewound="Zotero_Merge_Window.onBack(); return false"
|
|
onpageadvanced="return Zotero_Merge_Window.onNext()"
|
|
label="&zotero.merge.title;">
|
|
<description id="zotero-merge-instructions"/>
|
|
<zoteromergegroup flex="1"/>
|
|
<separator class="thin"/>
|
|
<hbox align="center">
|
|
<separator orient="vertical" flex="1"/>
|
|
<hbox>
|
|
<checkbox id="resolve-all"
|
|
oncommand="Zotero_Merge_Window.onResolveAllChange(this.checked)"/>
|
|
</hbox>
|
|
<separator orient="vertical"/>
|
|
<hbox id="zotero-step-count">
|
|
<label id="zotero-merge-num-objects"/>
|
|
<label value="&zotero.merge.of;"/>
|
|
<label id="zotero-merge-total-objects"/>
|
|
</hbox>
|
|
</hbox>
|
|
</wizardpage>
|
|
</wizard>
|