summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/im/content/imAccountWizard.xhtml
blob: 9ff3cf33ad54a3fe42c87177dc693f1291f30dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://messenger/skin/accountWizard.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/chat.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/input-fields.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/shared/grid-layout.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/colors.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>

<!DOCTYPE html [ <!ENTITY % accountWizardDTD SYSTEM "chrome://messenger/locale/imAccountWizard.dtd">
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%accountWizardDTD; %brandDTD; ]>

<html
  id="accountWizard"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  lightweightthemes="true"
  scrolling="false"
>
  <head>
    <title>&windowTitle.label;</title>
    <link rel="localization" href="toolkit/global/wizard.ftl" />
    <script
      defer="defer"
      src="chrome://messenger/content/globalOverlay.js"
    ></script>
    <script
      defer="defer"
      src="chrome://global/content/editMenuOverlay.js"
    ></script>
    <script
      defer="defer"
      src="chrome://chat/content/imAccountOptionsHelper.js"
    ></script>
    <script
      defer="defer"
      src="chrome://messenger/content/chat/imAccountWizard.js"
    ></script>
  </head>
  <html:body
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  >
    <stringbundle
      id="accountsBundle"
      src="chrome://messenger/locale/imAccounts.properties"
    />

    <wizard id="wizard">
      <wizardpage
        id="accountprotocol"
        pageid="accountprotocol"
        next="accountusername"
        label="&accountProtocolTitle.label;"
      >
        <description>&accountProtocolInfo.label;</description>
        <separator />
        <label
          value="&accountProtocolField.label;"
          control="protolist"
          id="protoLabel"
          hidden="true"
        />
        <richlistbox
          flex="1"
          id="protolist"
          ondblclick="document.getElementById('wizard').advance();"
        />
        <hbox pack="end">
          <label
            id="getMoreProtocols"
            class="text-link"
            value="&accountProtocolGetMore.label;"
            onclick="if (event.button == 0) { accountWizard.openURL(this.getAttribute('getMoreURL')); }"
          />
        </hbox>
      </wizardpage>

      <wizardpage
        id="accountusername"
        pageid="accountusername"
        next="accountpassword"
        label="&accountUsernameTitle.label;"
      >
        <description id="usernameInfo" />
        <separator />
        <html:div
          id="userNameBox"
          class="grid-block-two-column-fr grid-items-center"
        >
        </html:div>
        <separator />
        <description id="duplicateAccount" hidden="true"
          >&accountUsernameDuplicate.label;</description
        >
      </wizardpage>

      <wizardpage
        id="accountpassword"
        pageid="accountpassword"
        next="accountadvanced"
        label="&accountPasswordTitle.label;"
      >
        <description>&accountPasswordInfo.label;</description>
        <separator />
        <hbox id="passwordBox" align="baseline" class="input-container">
          <label
            id="passwordLabel"
            value="&accountPasswordField.label;"
            class="label-inline"
            control="password"
          />
          <html:input id="password" type="password" class="input-inline" />
        </hbox>
        <separator />
        <description id="passwordManagerDescription"
          >&accountPasswordManager.label;</description
        >
      </wizardpage>

      <wizardpage
        id="accountadvanced"
        pageid="accountadvanced"
        next="accountsummary"
        label="&accountAdvancedTitle.label;"
      >
        <description>&accountAdvancedInfo.label;</description>
        <separator class="thin" />
        <html:fieldset id="aliasGroupbox">
          <html:legend id="aliasGroupboxCaption"
            >&accountAliasGroupbox.caption;</html:legend
          >
          <hbox id="aliasBox" align="baseline" class="input-container">
            <label
              id="aliasLabel"
              value="&accountAliasField.label;"
              class="label-inline"
              control="alias"
            />
            <html:input id="alias" type="text" class="input-inline" />
          </hbox>
          <description>&accountAliasInfo.label;</description>
        </html:fieldset>

        <html:fieldset id="protoSpecificGroupbox">
          <html:legend id="protoSpecificCaption"></html:legend>
          <html:div
            id="protoSpecific"
            class="grid-block-two-column-fr grid-items-baseline"
          >
          </html:div>
        </html:fieldset>
      </wizardpage>

      <wizardpage
        id="accountsummary"
        pageid="accountsummary"
        label="&accountSummaryTitle.label;"
      >
        <description>&accountSummaryInfo.label;</description>
        <separator />
        <html:div
          id="summaryRows"
          class="grid-block-two-column-fr grid-items-baseline"
        >
        </html:div>
        <separator />
        <checkbox
          id="connectNow"
          label="&accountSummary.connectNow.label;"
          checked="true"
        />
      </wizardpage>
    </wizard>
  </html:body>
</html>