4f7b43747a
- linked input/output file labels to the input fields so they have descriptive names - added more detailed button labels - fixed "No file selected" not appearing if no file is selected
78 lines
No EOL
3.2 KiB
HTML
78 lines
No EOL
3.2 KiB
HTML
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://zotero-platform/content/zotero.css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
id="rtfscan-wizard-window"
|
|
onload="Zotero_RTFScan.init()"
|
|
>
|
|
<linkset>
|
|
<html:link rel="localization" href="branding/brand.ftl" />
|
|
<html:link rel="localization" href="zotero.ftl" />
|
|
</linkset>
|
|
|
|
<script>
|
|
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
|
Services.scriptloader.loadSubScript("chrome://zotero/content/include.js", this);
|
|
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
|
</script>
|
|
|
|
<wizard id="rtfscan-wizard" class="rtfscan-wizard" data-l10n-id="rtfScan-wizard">
|
|
<wizardpage pageid="page-start" data-l10n-id="rtfScan-intro-page">
|
|
<div>
|
|
<span class="page-start-1" data-l10n-id="rtfScan-introPage-description" />
|
|
<span class="example">{Smith, 2009}</span>
|
|
<span class="example">Smith {2009}</span>
|
|
<span class="example">{Smith et al., 2009}</span>
|
|
<span class="example">{John Smith, 2009}</span>
|
|
<span class="example">{Smith, 2009, 10-14}</span>
|
|
<span class="example">{Smith, "Title," 2009}</span>
|
|
<span class="example">{Jones, 2005; Smith, 2009}</span>
|
|
<span class="page-start-2" data-l10n-id="rtfScan-introPage-description2" />
|
|
</div>
|
|
<div>
|
|
<label control="input-path" class="file-input-label" data-l10n-id="rtfScan-input-file" />
|
|
<div class="file-input-container">
|
|
<html:input type="text" id="input-path" readonly="true"/>
|
|
<button id="choose-input-file" data-l10n-id="rtfScan-choose-input-file" />
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<label control="output-path" class="file-input-label" data-l10n-id="rtfScan-output-file" />
|
|
<div class="file-input-container">
|
|
<html:input type="text" id="output-path" readonly="true"/>
|
|
<button id="choose-output-file" data-l10n-id="rtfScan-choose-output-file" />
|
|
</div>
|
|
</div>
|
|
</wizardpage>
|
|
<wizardpage pageid="scan-page" data-l10n-id="rtfScan-scan-page" >
|
|
<p data-l10n-id="rtfScan-scanPage-description" />
|
|
<html:progress id="scan-progress" />
|
|
</wizardpage>
|
|
<wizardpage class="citations-page" pageid="citations-page" data-l10n-id="rtfScan-citations-page">
|
|
<p class="citations-page-description" data-l10n-id="rtfScan-citations-page-description" />
|
|
<div class="table-container">
|
|
<div id="tree" />
|
|
</div>
|
|
</wizardpage>
|
|
<wizardpage pageid="style-page" data-l10n-id="rtfScan-style-page">
|
|
<div class="style-selector-container">
|
|
<style-configurator id="style-configurator" />
|
|
</div>
|
|
</wizardpage>
|
|
<wizardpage pageid="format-page" data-l10n-id="rtfScan-format-page">
|
|
<p data-l10n-id="rtfScan-format-page-description" />
|
|
<html:progress id="format-progress" />
|
|
</wizardpage>
|
|
<wizardpage pageid="complete-page" data-l10n-id="rtfScan-complete-page">
|
|
<p data-l10n-id="rtfScan-complete-page-description" />
|
|
</wizardpage>
|
|
</wizard>
|
|
<script src="include.js" />
|
|
<script src="fileInterface.js" />
|
|
<script src="rtfScan.js" />
|
|
</window> |