summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/dialogs/calendar-migration-dialog.xhtml
blob: 115f035000249473bffa3890d863c446400cb4c5 (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
<?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>