Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://browser/skin/syncSetup.css" type="text/css"?> |
michael@0 | 9 | <?xml-stylesheet href="chrome://browser/skin/syncCommon.css" type="text/css"?> |
michael@0 | 10 | |
michael@0 | 11 | <!DOCTYPE window [ |
michael@0 | 12 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
michael@0 | 13 | <!ENTITY % syncBrandDTD SYSTEM "chrome://browser/locale/syncBrand.dtd"> |
michael@0 | 14 | <!ENTITY % syncSetupDTD SYSTEM "chrome://browser/locale/syncSetup.dtd"> |
michael@0 | 15 | %brandDTD; |
michael@0 | 16 | %syncBrandDTD; |
michael@0 | 17 | %syncSetupDTD; |
michael@0 | 18 | ]> |
michael@0 | 19 | <wizard xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 20 | xmlns:html="http://www.w3.org/1999/xhtml" |
michael@0 | 21 | id="wizard" |
michael@0 | 22 | title="&pairDevice.title.label;" |
michael@0 | 23 | windowtype="Sync:AddDevice" |
michael@0 | 24 | persist="screenX screenY" |
michael@0 | 25 | onwizardnext="return gSyncAddDevice.onWizardAdvance();" |
michael@0 | 26 | onwizardback="return gSyncAddDevice.onWizardBack();" |
michael@0 | 27 | onwizardcancel="gSyncAddDevice.onWizardCancel();" |
michael@0 | 28 | onload="gSyncAddDevice.init();"> |
michael@0 | 29 | |
michael@0 | 30 | <script type="application/javascript" |
michael@0 | 31 | src="chrome://browser/content/sync/addDevice.js"/> |
michael@0 | 32 | <script type="application/javascript" |
michael@0 | 33 | src="chrome://browser/content/sync/utils.js"/> |
michael@0 | 34 | <script type="application/javascript" |
michael@0 | 35 | src="chrome://browser/content/utilityOverlay.js"/> |
michael@0 | 36 | <script type="application/javascript" |
michael@0 | 37 | src="chrome://global/content/printUtils.js"/> |
michael@0 | 38 | |
michael@0 | 39 | <wizardpage id="addDevicePage" |
michael@0 | 40 | label="&pairDevice.title.label;" |
michael@0 | 41 | onpageshow="gSyncAddDevice.onPageShow();"> |
michael@0 | 42 | <description> |
michael@0 | 43 | &pairDevice.dialog.description.label; |
michael@0 | 44 | <label class="text-link" |
michael@0 | 45 | value="&addDevice.showMeHow.label;" |
michael@0 | 46 | href="https://services.mozilla.com/sync/help/add-device"/> |
michael@0 | 47 | </description> |
michael@0 | 48 | <separator class="groove-thin"/> |
michael@0 | 49 | <description> |
michael@0 | 50 | &addDevice.dialog.enterCode.label; |
michael@0 | 51 | </description> |
michael@0 | 52 | <separator class="groove-thin"/> |
michael@0 | 53 | <vbox align="center"> |
michael@0 | 54 | <textbox id="pin1" |
michael@0 | 55 | class="pin" |
michael@0 | 56 | oninput="gSyncAddDevice.onTextBoxInput(this);" |
michael@0 | 57 | onfocus="this.select();" |
michael@0 | 58 | /> |
michael@0 | 59 | <textbox id="pin2" |
michael@0 | 60 | class="pin" |
michael@0 | 61 | oninput="gSyncAddDevice.onTextBoxInput(this);" |
michael@0 | 62 | onfocus="this.select();" |
michael@0 | 63 | /> |
michael@0 | 64 | <textbox id="pin3" |
michael@0 | 65 | class="pin" |
michael@0 | 66 | oninput="gSyncAddDevice.onTextBoxInput(this);" |
michael@0 | 67 | onfocus="this.select();" |
michael@0 | 68 | /> |
michael@0 | 69 | </vbox> |
michael@0 | 70 | <separator class="groove-thin"/> |
michael@0 | 71 | <vbox id="pairDeviceThrobber" align="center" hidden="true"> |
michael@0 | 72 | <image/> |
michael@0 | 73 | </vbox> |
michael@0 | 74 | <hbox id="errorRow" pack="center" hidden="true"> |
michael@0 | 75 | <image class="statusIcon" status="error"/> |
michael@0 | 76 | <label class="status" |
michael@0 | 77 | value="&addDevice.dialog.tryAgain.label;"/> |
michael@0 | 78 | </hbox> |
michael@0 | 79 | <spacer flex="3"/> |
michael@0 | 80 | <label class="text-link" |
michael@0 | 81 | value="&addDevice.dontHaveDevice.label;" |
michael@0 | 82 | onclick="gSyncAddDevice.goToSyncKeyPage();"/> |
michael@0 | 83 | </wizardpage> |
michael@0 | 84 | |
michael@0 | 85 | <!-- Need a non-empty label here, otherwise we get a default label on Mac --> |
michael@0 | 86 | <wizardpage id="syncKeyPage" |
michael@0 | 87 | label=" " |
michael@0 | 88 | onpageshow="gSyncAddDevice.onPageShow();"> |
michael@0 | 89 | <description> |
michael@0 | 90 | &addDevice.dialog.recoveryKey.label; |
michael@0 | 91 | </description> |
michael@0 | 92 | <spacer/> |
michael@0 | 93 | |
michael@0 | 94 | <groupbox> |
michael@0 | 95 | <label value="&recoveryKeyEntry.label;" |
michael@0 | 96 | accesskey="&recoveryKeyEntry.accesskey;" |
michael@0 | 97 | control="weavePassphrase"/> |
michael@0 | 98 | <textbox id="weavePassphrase" |
michael@0 | 99 | readonly="true"/> |
michael@0 | 100 | </groupbox> |
michael@0 | 101 | |
michael@0 | 102 | <groupbox align="center"> |
michael@0 | 103 | <description>&recoveryKeyBackup.description;</description> |
michael@0 | 104 | <hbox> |
michael@0 | 105 | <button id="printSyncKeyButton" |
michael@0 | 106 | label="&button.syncKeyBackup.print.label;" |
michael@0 | 107 | accesskey="&button.syncKeyBackup.print.accesskey;" |
michael@0 | 108 | oncommand="gSyncUtils.passphrasePrint('weavePassphrase');"/> |
michael@0 | 109 | <button id="saveSyncKeyButton" |
michael@0 | 110 | label="&button.syncKeyBackup.save.label;" |
michael@0 | 111 | accesskey="&button.syncKeyBackup.save.accesskey;" |
michael@0 | 112 | oncommand="gSyncUtils.passphraseSave('weavePassphrase');"/> |
michael@0 | 113 | </hbox> |
michael@0 | 114 | </groupbox> |
michael@0 | 115 | </wizardpage> |
michael@0 | 116 | |
michael@0 | 117 | <wizardpage id="deviceConnectedPage" |
michael@0 | 118 | label="&addDevice.dialog.connected.label;" |
michael@0 | 119 | onpageshow="gSyncAddDevice.onPageShow();"> |
michael@0 | 120 | <vbox align="center"> |
michael@0 | 121 | <image id="successPageIcon"/> |
michael@0 | 122 | </vbox> |
michael@0 | 123 | <separator/> |
michael@0 | 124 | <description class="normal"> |
michael@0 | 125 | &addDevice.dialog.successful.label; |
michael@0 | 126 | </description> |
michael@0 | 127 | </wizardpage> |
michael@0 | 128 | |
michael@0 | 129 | </wizard> |