Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <?xml version="1.0"?>
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://browser/skin/syncSetup.css" type="text/css"?>
9 <?xml-stylesheet href="chrome://browser/skin/syncCommon.css" type="text/css"?>
11 <!DOCTYPE window [
12 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
13 <!ENTITY % syncBrandDTD SYSTEM "chrome://browser/locale/syncBrand.dtd">
14 <!ENTITY % syncSetupDTD SYSTEM "chrome://browser/locale/syncSetup.dtd">
15 %brandDTD;
16 %syncBrandDTD;
17 %syncSetupDTD;
18 ]>
19 <wizard xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
20 xmlns:html="http://www.w3.org/1999/xhtml"
21 id="change-dialog"
22 windowtype="Weave:ChangeSomething"
23 persist="screenX screenY"
24 onwizardnext="Change.onLoad()"
25 onwizardfinish="return Change.onDialogAccept();">
27 <script type="application/javascript"
28 src="chrome://browser/content/sync/genericChange.js"/>
29 <script type="application/javascript"
30 src="chrome://browser/content/sync/utils.js"/>
31 <script type="application/javascript"
32 src="chrome://global/content/printUtils.js"/>
34 <wizardpage id="change-page"
35 label="">
37 <description id="introText">
38 </description>
40 <separator class="thin"/>
42 <groupbox>
43 <grid>
44 <columns>
45 <column align="right"/>
46 <column flex="3"/>
47 <column flex="1"/>
48 </columns>
49 <rows>
50 <row id="textBox1Row" align="center">
51 <label id="textBox1Label" control="textBox1"/>
52 <textbox id="textBox1" type="password" oninput="Change.validate()"/>
53 <spacer/>
54 </row>
55 <row id="textBox2Row" align="center">
56 <label id="textBox2Label" control="textBox2"/>
57 <textbox id="textBox2" type="password" oninput="Change.validate()"/>
58 <spacer/>
59 </row>
60 </rows>
61 </grid>
63 <vbox id="passphraseRow">
64 <hbox flex="1">
65 <label id="passphraseLabel" control="passphraseBox"/>
66 <spacer flex="1"/>
67 <label id="generatePassphraseButton"
68 hidden="true"
69 value="&syncGenerateNewKey.label;"
70 class="text-link inline-link"
71 onclick="event.stopPropagation();
72 Change.doGeneratePassphrase();"/>
73 </hbox>
74 <textbox id="passphraseBox"
75 flex="1"
76 onfocus="this.select()"
77 oninput="Change.validate()"/>
78 </vbox>
80 <vbox id="feedback" pack="center">
81 <hbox id="statusRow" align="center">
82 <image id="statusIcon" class="statusIcon"/>
83 <label id="status" class="status" value=" "/>
84 </hbox>
85 </vbox>
86 </groupbox>
88 <separator class="thin"/>
90 <hbox id="passphraseBackupButtons"
91 hidden="true"
92 pack="center">
93 <button id="printSyncKeyButton"
94 label="&button.syncKeyBackup.print.label;"
95 accesskey="&button.syncKeyBackup.print.accesskey;"
96 oncommand="gSyncUtils.passphrasePrint('passphraseBox');"/>
97 <button id="saveSyncKeyButton"
98 label="&button.syncKeyBackup.save.label;"
99 accesskey="&button.syncKeyBackup.save.accesskey;"
100 oncommand="gSyncUtils.passphraseSave('passphraseBox');"/>
101 </hbox>
103 <vbox id="passphraseHelpBox"
104 hidden="true">
105 <description>
106 &existingRecoveryKey.description;
107 <label class="text-link"
108 href="https://services.mozilla.com/sync/help/manual-setup">
109 &addDevice.showMeHow.label;
110 </label>
111 </description>
112 </vbox>
114 <spacer id="passphraseSpacer"
115 flex="1"
116 hidden="true"/>
118 <description id="warningText" class="data">
119 </description>
121 <spacer flex="1"/>
122 </wizardpage>
123 </wizard>