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="change-dialog" |
michael@0 | 22 | windowtype="Weave:ChangeSomething" |
michael@0 | 23 | persist="screenX screenY" |
michael@0 | 24 | onwizardnext="Change.onLoad()" |
michael@0 | 25 | onwizardfinish="return Change.onDialogAccept();"> |
michael@0 | 26 | |
michael@0 | 27 | <script type="application/javascript" |
michael@0 | 28 | src="chrome://browser/content/sync/genericChange.js"/> |
michael@0 | 29 | <script type="application/javascript" |
michael@0 | 30 | src="chrome://browser/content/sync/utils.js"/> |
michael@0 | 31 | <script type="application/javascript" |
michael@0 | 32 | src="chrome://global/content/printUtils.js"/> |
michael@0 | 33 | |
michael@0 | 34 | <wizardpage id="change-page" |
michael@0 | 35 | label=""> |
michael@0 | 36 | |
michael@0 | 37 | <description id="introText"> |
michael@0 | 38 | </description> |
michael@0 | 39 | |
michael@0 | 40 | <separator class="thin"/> |
michael@0 | 41 | |
michael@0 | 42 | <groupbox> |
michael@0 | 43 | <grid> |
michael@0 | 44 | <columns> |
michael@0 | 45 | <column align="right"/> |
michael@0 | 46 | <column flex="3"/> |
michael@0 | 47 | <column flex="1"/> |
michael@0 | 48 | </columns> |
michael@0 | 49 | <rows> |
michael@0 | 50 | <row id="textBox1Row" align="center"> |
michael@0 | 51 | <label id="textBox1Label" control="textBox1"/> |
michael@0 | 52 | <textbox id="textBox1" type="password" oninput="Change.validate()"/> |
michael@0 | 53 | <spacer/> |
michael@0 | 54 | </row> |
michael@0 | 55 | <row id="textBox2Row" align="center"> |
michael@0 | 56 | <label id="textBox2Label" control="textBox2"/> |
michael@0 | 57 | <textbox id="textBox2" type="password" oninput="Change.validate()"/> |
michael@0 | 58 | <spacer/> |
michael@0 | 59 | </row> |
michael@0 | 60 | </rows> |
michael@0 | 61 | </grid> |
michael@0 | 62 | |
michael@0 | 63 | <vbox id="passphraseRow"> |
michael@0 | 64 | <hbox flex="1"> |
michael@0 | 65 | <label id="passphraseLabel" control="passphraseBox"/> |
michael@0 | 66 | <spacer flex="1"/> |
michael@0 | 67 | <label id="generatePassphraseButton" |
michael@0 | 68 | hidden="true" |
michael@0 | 69 | value="&syncGenerateNewKey.label;" |
michael@0 | 70 | class="text-link inline-link" |
michael@0 | 71 | onclick="event.stopPropagation(); |
michael@0 | 72 | Change.doGeneratePassphrase();"/> |
michael@0 | 73 | </hbox> |
michael@0 | 74 | <textbox id="passphraseBox" |
michael@0 | 75 | flex="1" |
michael@0 | 76 | onfocus="this.select()" |
michael@0 | 77 | oninput="Change.validate()"/> |
michael@0 | 78 | </vbox> |
michael@0 | 79 | |
michael@0 | 80 | <vbox id="feedback" pack="center"> |
michael@0 | 81 | <hbox id="statusRow" align="center"> |
michael@0 | 82 | <image id="statusIcon" class="statusIcon"/> |
michael@0 | 83 | <label id="status" class="status" value=" "/> |
michael@0 | 84 | </hbox> |
michael@0 | 85 | </vbox> |
michael@0 | 86 | </groupbox> |
michael@0 | 87 | |
michael@0 | 88 | <separator class="thin"/> |
michael@0 | 89 | |
michael@0 | 90 | <hbox id="passphraseBackupButtons" |
michael@0 | 91 | hidden="true" |
michael@0 | 92 | pack="center"> |
michael@0 | 93 | <button id="printSyncKeyButton" |
michael@0 | 94 | label="&button.syncKeyBackup.print.label;" |
michael@0 | 95 | accesskey="&button.syncKeyBackup.print.accesskey;" |
michael@0 | 96 | oncommand="gSyncUtils.passphrasePrint('passphraseBox');"/> |
michael@0 | 97 | <button id="saveSyncKeyButton" |
michael@0 | 98 | label="&button.syncKeyBackup.save.label;" |
michael@0 | 99 | accesskey="&button.syncKeyBackup.save.accesskey;" |
michael@0 | 100 | oncommand="gSyncUtils.passphraseSave('passphraseBox');"/> |
michael@0 | 101 | </hbox> |
michael@0 | 102 | |
michael@0 | 103 | <vbox id="passphraseHelpBox" |
michael@0 | 104 | hidden="true"> |
michael@0 | 105 | <description> |
michael@0 | 106 | &existingRecoveryKey.description; |
michael@0 | 107 | <label class="text-link" |
michael@0 | 108 | href="https://services.mozilla.com/sync/help/manual-setup"> |
michael@0 | 109 | &addDevice.showMeHow.label; |
michael@0 | 110 | </label> |
michael@0 | 111 | </description> |
michael@0 | 112 | </vbox> |
michael@0 | 113 | |
michael@0 | 114 | <spacer id="passphraseSpacer" |
michael@0 | 115 | flex="1" |
michael@0 | 116 | hidden="true"/> |
michael@0 | 117 | |
michael@0 | 118 | <description id="warningText" class="data"> |
michael@0 | 119 | </description> |
michael@0 | 120 | |
michael@0 | 121 | <spacer flex="1"/> |
michael@0 | 122 | </wizardpage> |
michael@0 | 123 | </wizard> |