summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/im/content/imAccountWizard.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/im/content/imAccountWizard.xhtml')
-rw-r--r--comm/mail/components/im/content/imAccountWizard.xhtml180
1 files changed, 180 insertions, 0 deletions
diff --git a/comm/mail/components/im/content/imAccountWizard.xhtml b/comm/mail/components/im/content/imAccountWizard.xhtml
new file mode 100644
index 0000000000..9ff3cf33ad
--- /dev/null
+++ b/comm/mail/components/im/content/imAccountWizard.xhtml
@@ -0,0 +1,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>