summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/migration/content/migration.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/migration/content/migration.xhtml')
-rw-r--r--comm/mail/components/migration/content/migration.xhtml89
1 files changed, 89 insertions, 0 deletions
diff --git a/comm/mail/components/migration/content/migration.xhtml b/comm/mail/components/migration/content/migration.xhtml
new file mode 100644
index 0000000000..4171d02f63
--- /dev/null
+++ b/comm/mail/components/migration/content/migration.xhtml
@@ -0,0 +1,89 @@
+<?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/messenger.css" type="text/css"?>
+
+<!DOCTYPE window SYSTEM "chrome://messenger/locale/migration/migration.dtd" >
+
+<window id="migrationWizard"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ title="&migrationWizard.title;"
+ onload="MigrationWizard.init()"
+ onunload="MigrationWizard.uninit()"
+ style="width: 40em;"
+ branded="true"
+ buttons="accept,cancel">
+ <linkset>
+ <html:link rel="localization" href="toolkit/global/wizard.ftl"/>
+ <html:link rel="localization" href="messenger/importDialog.ftl"/>
+ </linkset>
+
+ <script src="chrome://messenger/content/migration/migration.js"/>
+
+ <stringbundle id="bundle" src="chrome://messenger/locale/migration/migration.properties"/>
+
+ <wizard>
+ <wizardpage id="importSource" pageid="importSource" next="selectProfile"
+ label="&importSource.title;">
+ <vbox id="importSourceFound" hidden="true">
+#ifdef XP_WIN
+ <label control="importSourceGroup">&importFromWin.label;</label>
+#else
+ <label control="importSourceGroup">&importFromNonWin.label;</label>
+#endif
+ <radiogroup id="importSourceGroup">
+ <radio id="thunderbird-zip" data-l10n-id="import-from-thunderbird-zip"/>
+ <radio id="thunderbird-dir" data-l10n-id="import-from-thunderbird-dir"/>
+ <radio id="seamonkey" label="&importFromSeamonkey3.label;"
+ accesskey="&importFromSeamonkey3.accesskey;"/>
+#ifdef XP_WIN
+ <radio id="outlook" label="&importFromOutlook.label;"
+ accesskey="&importFromOutlook.accesskey;"/>
+#endif
+ <radio id="nothing" label="&importFromNothing.label;"
+ accesskey="&importFromNothing.accesskey;" hidden="true"/>
+ </radiogroup>
+ </vbox>
+ <label id="importSourceNotFound" hidden="true">&importSourceNotFound.label;</label>
+ </wizardpage>
+
+ <wizardpage id="selectProfile" pageid="selectProfile" label="&selectProfile.title;"
+ next="importItems">
+ <label control="profiles">&selectProfile.label;</label>
+ <radiogroup id="profiles" align="start"/>
+ </wizardpage>
+
+ <wizardpage id="importItems" pageid="importItems" label="&importItems.title;"
+ next="migrating"
+ oncommand="MigrationWizard.onImportItemCommand();">
+ <description>&importItems.label;</description>
+ <vbox id="dataSources"
+ style="overflow: auto; appearance: auto; -moz-default-appearance: listbox"
+ align="start" flex="1"/>
+ </wizardpage>
+
+ <wizardpage id="migrating" pageid="migrating" label="&migrating.title;"
+ next="done">
+ <description>&migrating.label;</description>
+ <separator class="thin"/>
+ <vbox id="migratingItems" class="indent" style="overflow: auto;" flex="1" align="start"/>
+ <separator class="thin"/>
+ <html:progress class="progressmeter-statusbar" id="progressBar" flex="1" value="0" max="100"/>
+ </wizardpage>
+
+ <wizardpage id="done" pageid="done" label="&done.title;">
+ <description>&done.label;</description>
+ <separator class="thin"/>
+ <vbox id="doneItems" class="indent" style="overflow: auto;" align="start"/>
+ </wizardpage>
+
+ <wizardpage id="failed" pageid="failed" data-l10n-id="wizardpage-failed">
+ <description id="failed-message-default"
+ data-l10n-id="wizardpage-failed-message"></description>
+ <description id="failed-message"></description>
+ </wizardpage>
+ </wizard>
+</window>