diff options
Diffstat (limited to 'comm/calendar/base/content/dialogs/calendar-migration-dialog.xhtml')
-rw-r--r-- | comm/calendar/base/content/dialogs/calendar-migration-dialog.xhtml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/comm/calendar/base/content/dialogs/calendar-migration-dialog.xhtml b/comm/calendar/base/content/dialogs/calendar-migration-dialog.xhtml new file mode 100644 index 0000000000..115f035000 --- /dev/null +++ b/comm/calendar/base/content/dialogs/calendar-migration-dialog.xhtml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- 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/. --> + +<!-- Style sheets --> +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> + +<!DOCTYPE html [ <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> +%brandDTD; +<!ENTITY % migrationDtd SYSTEM "chrome://calendar/locale/migration.dtd"> +%migrationDtd; ]> +<html + id="migration-wizard" + 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" + branded="true" + windowtype="Calendar:MigrationWizard" + scrolling="false" +> + <head> + <title>&migration.title;</title> + <link rel="localization" href="toolkit/global/wizard.ftl" /> + <script defer="defer" src="chrome://calendar/content/import-export.js"></script> + <script defer="defer" src="chrome://calendar/content/calendar-migration-dialog.js"></script> + </head> + <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <wizard style="width: 100vw; height: 100vh"> + <wizardpage + id="wizardPage1" + pageid="initialPage" + next="progressPage" + label="&migration.welcome;" + > + <label id="wizard-desc" control="datasource-list">&migration.list.description;</label> + <vbox id="datasource-list" flex="1" /> + </wizardpage> + + <wizardpage id="wizardPage2" pageid="progressPage" label="&migration.importing;"> + <label control="migrate-progressmeter">&migration.progress.description;</label> + <vbox flex="1"> + <html:progress id="migrate-progressmeter" value="0" max="100" /> + <label value="" flex="1" id="progress-label" /> + </vbox> + </wizardpage> + </wizard> + </html:body> +</html> |