Remove misleading encryption info from wizard (#4545).
[bitmask_thunderbird.git] / chrome / content / accountWizard / accountWizard.xul
1 <?xml version="1.0"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
7 <?xml-stylesheet href="chrome://messenger/skin/accountCreation.css"
8                                               type="text/css"?>
9 <?xml-stylesheet href="chrome://bitmask/skin/accountWizard.css"
10                                               type="text/css"?>
11
12 <!DOCTYPE window [
13   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
14   %brandDTD;
15   <!ENTITY % acDTD SYSTEM "chrome://messenger/locale/accountCreation.dtd">
16   %acDTD;
17   <!ENTITY % awDTD SYSTEM "chrome://bitmask/locale/accountWizard.dtd">
18   %awDTD;
19 ]>
20
21 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
22         id="autoconfigWizard"
23         windowtype="mail:autoconfig"
24         title="&autoconfigWizard.title;"
25         onload="gBitmaskAccountWizard.onLoad();"
26         onkeypress="gBitmaskAccountWizard.onKeyDown(event)"
27         onclose="gBitmaskAccountWizard.onWizardShutdown();"
28         onunload="gBitmaskAccountWizard.onWizardShutdown();"
29         >
30
31   <stringbundleset>
32     <stringbundle id="bundle_brand"
33           src="chrome://branding/locale/brand.properties"/>
34     <stringbundle id="accountCreationStrings"
35           src="chrome://messenger/locale/accountCreation.properties"/>
36     <stringbundle id="accountWizardStrings"
37           src="chrome://bitmask/locale/accountWizard.properties"/>
38   </stringbundleset>
39   <script type="application/javascript"
40           src="chrome://bitmask/content/serverConfig.js"/>
41   <script type="application/javascript"
42           src="chrome://bitmask/content/util.js"/>
43   <script type="application/javascript"
44           src="chrome://messenger/content/accountcreation/accountConfig.js"/>
45   <script type="application/javascript"
46           src="chrome://bitmask/content/accountWizard/accountWizard.js"/>
47   <script type="application/javascript"
48           src="chrome://messenger/content/accountcreation/sanitizeDatatypes.js"/>
49   <script type="application/javascript"
50           src="chrome://messenger/content/accountcreation/verifyConfig.js"/>
51   <script type="application/javascript"
52           src="chrome://bitmask/content/accountWizard/createInBackend.js"/>
53   <script type="application/javascript"
54           src="chrome://messenger/content/accountUtils.js" />
55
56   <keyset id="mailKeys">
57     <key keycode="VK_ESCAPE" oncommand="window.close();"/>
58   </keyset>
59
60   <tooltip id="optional-password">
61     <description>&password.text;</description>
62   </tooltip>
63
64   <spacer id="fullwidth"/>
65
66   <vbox id="mastervbox" class="mastervbox" flex="1">
67     <description
68       id="BitmaskAccountWizardTitle"
69       class="bitmaskAccountWizardTitle">&bitmask.accountWizard.title;</description>
70     <spacer flex="1" />
71     <grid id="initialSettings">
72       <columns>
73         <column/>
74         <column/>
75         <column/>
76       </columns>
77       <rows>
78         <row align="center">
79           <label accesskey="&name.accesskey;"
80                  class="autoconfigLabel"
81                  value="&name.label;"
82                  control="realname"/>
83           <textbox id="realname"
84                    class="padded"
85                    placeholder="&name.placeholder;"
86                    oninput="gBitmaskAccountWizard.onInputRealname();"
87                    onblur="gBitmaskAccountWizard.onBlurRealname();"/>
88           <hbox>
89             <description id="nametext" class="initialDesc">&name.text;</description>
90             <image id="nameerroricon"
91                    hidden="true"
92                    class="warningicon"/>
93             <description id="nameerror" class="errordescription" hidden="true"/>
94           </hbox>
95         </row>
96         <row align="center">
97           <label accesskey="&email.accesskey;"
98                  class="autoconfigLabel"
99                  value="&email.label;"
100                  control="email"/>
101           <textbox id="email"
102                    class="padded uri-element"
103                    placeholder="&email.placeholder;"
104                    oninput="gBitmaskAccountWizard.onInputEmail();"
105                    onblur="gBitmaskAccountWizard.onBlurEmail();"/>
106           <hbox>
107             <image id="emailerroricon"
108                    hidden="true"
109                    class="warningicon"/>
110             <description id="emailerror" class="errordescription" hidden="true"/>
111           </hbox>
112         </row>
113         <!-- we do not use the password for now.
114         <row align="center">
115           <label accesskey="&password.accesskey;"
116                  class="autoconfigLabel"
117                  value="&password.label;"
118                  control="password"
119                  tooltip="optional-password"/>
120           <textbox id="password"
121                    class="padded"
122                    placeholder="&password.placeholder;"
123                    type="text"
124                    oninput="gBitmaskAccountWizard.onInputPassword();"
125                    onfocus="gBitmaskAccountWizard.onFocusPassword();"
126                    onblur="gBitmaskAccountWizard.onBlurPassword();"/>
127           <hbox>
128             <image id="passworderroricon"
129                    hidden="true"
130                    class="warningicon"/>
131             <description id="passworderror" class="errordescription" hidden="true"/>
132           </hbox>
133         </row>
134         <row align="center" pack="start">
135           <label class="autoconfigLabel"/>
136           <checkbox id="remember_password"
137                     label="&rememberPassword.label;"
138                     accesskey="&rememberPassword.accesskey;"
139                     checked="true"/>
140         </row>
141         -->
142       </rows>
143     </grid>
144     <spacer flex="1" />
145
146      <hbox id="status_area" flex="1">
147       <vbox id="status_img_before" pack="start"/>
148       <description id="status_msg">&#160;</description>
149               <!-- Include 160 = nbsp, to make the element occupy the
150                    full height, for at least one line. With a normal space,
151                    it does not have sufficient height. -->
152       <vbox id="status_img_after" pack="start"/>
153     </hbox>
154
155     <groupbox id="result_area" hidden="true">
156       <radiogroup id="result_imappop" orient="horizontal">
157         <radio id="result_select_imap" label="&imapLong.label;" value="1"
158                oncommand="gBitmaskAccountWizard.onResultIMAPOrPOP3();"/>
159         <radio id="result_select_pop3" label="&pop3Long.label;" value="2"
160                oncommand="gBitmaskAccountWizard.onResultIMAPOrPOP3();"/>
161       </radiogroup>
162       <grid>
163         <columns>
164           <column/>
165           <column flex="1"/>
166         </columns>
167         <rows>
168           <row align="center">
169             <label class="textbox-label" value="&incoming.label;"
170                    control="result-incoming"/>
171             <textbox id="result-incoming" disabled="true" flex="1"/>
172           </row>
173           <row align="center">
174             <label class="textbox-label" value="&outgoing.label;"
175                    control="result-outgoing"/>
176             <textbox id="result-outgoing" disabled="true" flex="1"/>
177           </row>
178           <row align="center">
179             <label class="textbox-label" value="&username.label;"
180                    control="result-username"/>
181             <textbox id="result-username" disabled="true" flex="1"/>
182           </row>
183         </rows>
184       </grid>
185     </groupbox>
186
187     <spacer flex="1" />
188     <hbox id="buttons_area">
189       <spacer flex="1"/>
190       <hbox id="right_buttons_area" align="center" pack="end">
191         <button id="stop_button"
192                 label="&stop.label;"
193                 accesskey="&stop.accesskey;"
194                 hidden="true"
195                 oncommand="gBitmaskAccountWizard.onStop();"/>
196         <button id="cancel_button"
197                 label="&cancel.label;"
198                 accesskey="&cancel.accesskey;"
199                 oncommand="gBitmaskAccountWizard.onCancel();"/>
200         <button id="half-manual-test_button"
201                 label="&half-manual-test.label;"
202                 accesskey="&half-manual-test.accesskey;"
203                 hidden="true"
204                 oncommand="gBitmaskAccountWizard.onHalfManualTest();"/>
205         <button id="next_button"
206                 label="&continue.label;"
207                 accesskey="&continue.accesskey;"
208                 hidden="false"
209                 oncommand="gBitmaskAccountWizard.onNext();"/>
210         <button id="create_button"
211                 label="&doneAccount.label;"
212                 accesskey="&doneAccount.accesskey;"
213                 class="important-button"
214                 hidden="true"
215                 oncommand="gBitmaskAccountWizard.onCreate();"/>
216       </hbox>
217     </hbox>
218   </vbox>
219
220
221 </window>