summaryrefslogtreecommitdiffstats
path: root/browser/components/migration/content/migration.xhtml
blob: 9d42ee84ff340a2e61ff24fcc4285421c3ff7998 (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
<?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://global/skin/global.css" type="text/css"?>

<window id="migrationWizard"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        data-l10n-id="migration-wizard"
        windowtype="Browser:MigrationWizard"
        onload="MigrationWizard.init()"
        onunload="MigrationWizard.uninit()"
        style="min-width: 40em;"
        buttons="accept,cancel">
<linkset>
  <html:link rel="localization" href="branding/brand.ftl"/>
  <html:link rel="localization" href="toolkit/global/wizard.ftl"/>
  <html:link rel="localization" href="browser/migration.ftl"/>
</linkset>

<script src="chrome://global/content/customElements.js"/>
<script src="chrome://browser/content/migration/migration.js"/>

<wizard data-branded="true">
  <wizardpage id="importSource" pageid="importSource" next="selectProfile"
              data-header-label-id="import-source-page-title">
    <description id="importAll" control="importSourceGroup" data-l10n-id="import-from"></description>
    <description id="importBookmarks" control="importSourceGroup" data-l10n-id="import-from-bookmarks" hidden="true" ></description>

    <radiogroup id="importSourceGroup" align="start">
# NB: if you add items to this list, please also assign them a unique migrator ID in MigrationUtils.jsm
      <radio id="firefox"   data-l10n-id="import-from-firefox"/>
#ifdef XP_WIN
      <radio id="chromium-edge"      data-l10n-id="import-from-edge"/>
      <radio id="edge" data-l10n-id="import-from-edge-legacy" />
      <radio id="chromium-edge-beta"      data-l10n-id="import-from-edge-beta"/>
      <radio id="ie"        data-l10n-id="import-from-ie"/>
      <radio id="opera"     data-l10n-id="import-from-opera"/>
      <radio id="brave"     data-l10n-id="import-from-brave"/>
      <radio id="chrome"    data-l10n-id="import-from-chrome"/>
      <radio id="chrome-beta"  data-l10n-id="import-from-chrome-beta"/>
      <radio id="chromium"  data-l10n-id="import-from-chromium"/>
      <radio id="canary"    data-l10n-id="import-from-canary" />
      <radio id="vivaldi"    data-l10n-id="import-from-vivaldi"/>
      <radio id="chromium-360se"     data-l10n-id="import-from-360se"/>
      <radio id="opera-gx"     data-l10n-id="import-from-opera-gx"/>
#elifdef XP_MACOSX
      <radio id="safari"    data-l10n-id="import-from-safari"/>
      <radio id="opera"     data-l10n-id="import-from-opera"/>
      <radio id="brave"     data-l10n-id="import-from-brave"/>
      <radio id="chrome"    data-l10n-id="import-from-chrome"/>
      <radio id="chromium-edge"      data-l10n-id="import-from-edge"/>
      <radio id="chromium-edge-beta"      data-l10n-id="import-from-edge-beta"/>
      <radio id="chromium"  data-l10n-id="import-from-chromium"/>
      <radio id="canary"    data-l10n-id="import-from-canary"/>
      <radio id="vivaldi"    data-l10n-id="import-from-vivaldi"/>
      <radio id="opera-gx"     data-l10n-id="import-from-opera-gx"/>
#elifdef XP_UNIX
      <radio id="opera"     data-l10n-id="import-from-opera"/>
      <radio id="vivaldi"    data-l10n-id="import-from-vivaldi"/>
      <radio id="brave"     data-l10n-id="import-from-brave"/>
      <radio id="chrome"    data-l10n-id="import-from-chrome"/>
      <radio id="chrome-beta"  data-l10n-id="import-from-chrome-beta"/>
      <radio id="chrome-dev"  data-l10n-id="import-from-chrome-dev"/>
      <radio id="chromium"  data-l10n-id="import-from-chromium"/>
      <radio id="opera-gx"     data-l10n-id="import-from-opera-gx"/>
#endif
      <radio id="nothing" data-l10n-id="import-from-nothing" hidden="true"/>
    </radiogroup>
    <label id="noSources" hidden="true" data-l10n-id="no-migration-sources"></label>
  </wizardpage>

  <wizardpage id="selectProfile" pageid="selectProfile"
              data-header-label-id="import-select-profile-page-title"
              next="importItems">
    <description control="profiles" data-l10n-id="import-select-profile-description"></description>

    <radiogroup id="profiles" align="start"/>
  </wizardpage>

  <wizardpage id="importItems" pageid="importItems"
              data-header-label-id="import-items-page-title"
              next="migrating"
              oncommand="MigrationWizard.onImportItemCommand();">
    <description control="dataSources" data-l10n-id="import-items-description"></description>

    <vbox id="dataSources" style="overflow: auto; appearance: auto; -moz-default-appearance: listbox" align="start" flex="1" role="group"/>
  </wizardpage>

  <wizardpage id="importPermissions" pageid="importPermissions"
              data-header-label-id="import-permissions-page-title"
              next="migrating">
    <description data-l10n-id="import-permissions-description"></description>
  </wizardpage>

  <wizardpage id="migrating" pageid="migrating"
              data-header-label-id="import-migrating-page-title"
              next="done">
    <description control="migratingItems" data-l10n-id="import-migrating-description"></description>

    <vbox id="migratingItems" style="overflow: auto;" align="start" role="group"/>
  </wizardpage>

  <wizardpage id="done" pageid="done"
              data-header-label-id="import-done-page-title">
    <description control="doneItems" data-l10n-id="import-done-description"></description>

    <vbox id="doneItems" style="overflow: auto;" align="start" role="group"/>
  </wizardpage>

</wizard>
</window>