browser/components/migration/content/migration.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/components/migration/content/migration.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,100 @@
     1.4 +<?xml version="1.0"?>
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
    1.10 +
    1.11 +<!DOCTYPE dialog SYSTEM "chrome://browser/locale/migration/migration.dtd" >
    1.12 +
    1.13 +<wizard id="migrationWizard"
    1.14 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.15 +        windowtype="Browser:MigrationWizard"
    1.16 +        title="&migrationWizard.title;"
    1.17 +        onload="MigrationWizard.init()"
    1.18 +        onunload="MigrationWizard.uninit()"
    1.19 +        style="width: 40em;"
    1.20 +        buttons="accept,cancel"
    1.21 +        branded="true">
    1.22 +
    1.23 +  <script type="application/javascript" src="chrome://browser/content/migration/migration.js"/>
    1.24 +
    1.25 +  <stringbundle id="brandBundle" src="chrome://branding/locale/brand.properties"/>
    1.26 +
    1.27 +  <wizardpage id="importSource" pageid="importSource" next="selectProfile"
    1.28 +              label="&importSource.title;"
    1.29 +              onpageadvanced="return MigrationWizard.onImportSourcePageAdvanced();">
    1.30 +#ifdef XP_WIN
    1.31 +    <description id="importAll" control="importSourceGroup">&importFrom.label;</description>
    1.32 +#else
    1.33 +    <description id="importAll" control="importSourceGroup">&importFromUnix.label;</description>
    1.34 +#endif
    1.35 +    <description id="importBookmarks" control="importSourceGroup" hidden="true">&importFromBookmarks.label;</description>
    1.36 +
    1.37 +    <radiogroup id="importSourceGroup" align="start">
    1.38 +#ifdef XP_WIN
    1.39 +      <radio id="ie"        label="&importFromIE.label;"        accesskey="&importFromIE.accesskey;"/>
    1.40 +      <radio id="chrome"    label="&importFromChrome.label;"    accesskey="&importFromChrome.accesskey;"/>
    1.41 +      <radio id="safari"    label="&importFromSafari.label;"    accesskey="&importFromSafari.accesskey;"/>
    1.42 +#elifdef XP_MACOSX
    1.43 +      <radio id="safari"    label="&importFromSafari.label;"    accesskey="&importFromSafari.accesskey;"/>
    1.44 +      <radio id="chrome"    label="&importFromChrome.label;"    accesskey="&importFromChrome.accesskey;"/>
    1.45 +#elifdef XP_UNIX
    1.46 +      <radio id="chrome"    label="&importFromChrome.label;"    accesskey="&importFromChrome.accesskey;"/>
    1.47 +#endif
    1.48 +      <radio id="firefox"   label="&importFromFirefox.label;"   accesskey="&importFromFirefox.accesskey;"/>
    1.49 +      <radio id="nothing"   label="&importFromNothing.label;"   accesskey="&importFromNothing.accesskey;" hidden="true"/>
    1.50 +    </radiogroup>
    1.51 +    <label id="noSources" hidden="true">&noMigrationSources.label;</label>
    1.52 +  </wizardpage>
    1.53 +
    1.54 +  <wizardpage id="selectProfile" pageid="selectProfile" label="&selectProfile.title;"
    1.55 +              next="importItems"
    1.56 +              onpageshow="return MigrationWizard.onSelectProfilePageShow();"
    1.57 +              onpagerewound="return MigrationWizard.onSelectProfilePageRewound();"
    1.58 +              onpageadvanced="return MigrationWizard.onSelectProfilePageAdvanced();">
    1.59 +    <description control="profiles">&selectProfile.label;</description>
    1.60 +
    1.61 +    <radiogroup id="profiles" align="left"/>
    1.62 +  </wizardpage>
    1.63 +
    1.64 +  <wizardpage id="importItems" pageid="importItems" label="&importItems.title;"
    1.65 +              next="homePageImport"
    1.66 +              onpageshow="return MigrationWizard.onImportItemsPageShow();"
    1.67 +              onpagerewound="return MigrationWizard.onImportItemsPageRewound();"
    1.68 +              onpageadvanced="return MigrationWizard.onImportItemsPageAdvanced();"
    1.69 +              oncommand="MigrationWizard.onImportItemCommand();">
    1.70 +    <description control="dataSources">&importItems.label;</description>
    1.71 +
    1.72 +    <vbox id="dataSources" style="overflow: auto; -moz-appearance: listbox" align="left" flex="1" role="group"/>
    1.73 +  </wizardpage>
    1.74 +
    1.75 +  <wizardpage id="homePageImport" pageid="homePageImport"
    1.76 +              next="migrating"
    1.77 +              onpageshow="return MigrationWizard.onHomePageMigrationPageShow();"
    1.78 +              onpageadvanced="return MigrationWizard.onHomePageMigrationPageAdvanced();">
    1.79 +
    1.80 +    <description id="homePageImportDesc" control="homePageRadioGroup"/>
    1.81 +    <radiogroup id="homePageRadiogroup">
    1.82 +      <radio id="homePageSingleStart" selected="true" />
    1.83 +      <radio id="oldHomePage" hidden="true" />
    1.84 +    </radiogroup>
    1.85 +  </wizardpage>
    1.86 +
    1.87 +  <wizardpage id="migrating" pageid="migrating" label="&migrating.title;"
    1.88 +              next="done"
    1.89 +              onpageshow="MigrationWizard.onMigratingPageShow();">
    1.90 +    <description control="migratingItems">&migrating.label;</description>
    1.91 +
    1.92 +    <vbox id="migratingItems" style="overflow: auto;" align="left" role="group"/>
    1.93 +  </wizardpage>
    1.94 +
    1.95 +  <wizardpage id="done" pageid="done" label="&done.title;"
    1.96 +              onpageshow="MigrationWizard.onDonePageShow();">
    1.97 +    <description control="doneItems">&done.label;</description>
    1.98 +
    1.99 +    <vbox id="doneItems" style="overflow: auto;" align="left" role="group"/>
   1.100 +  </wizardpage>
   1.101 +
   1.102 +</wizard>
   1.103 +

mercurial