summaryrefslogtreecommitdiffstats
path: root/toolkit/profile/content/createProfileWizard.xhtml
blob: 48d0b9f2da7fd8bf9df4d111f61c123ac6c7508a (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
<?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"?>

<!DOCTYPE wizard>

<window id="createProfileWizard"
        data-l10n-id="create-profile-window2"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="initWizard();"
        data-l10n-attrs="style"
        >

<linkset>
  <html:link rel="localization" href="branding/brand.ftl"/>
  <html:link rel="localization" href="toolkit/global/createProfileWizard.ftl"/>
</linkset>

<script src="chrome://global/content/customElements.js"/>
<script src="chrome://global/content/globalOverlay.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
<script src="chrome://mozapps/content/profile/createProfileWizard.js"/>

<wizard>
  <stringbundle id="bundle_profileManager"
                src="chrome://mozapps/locale/profile/profileSelection.properties"/>

  <wizardpage id="explanation" data-header-label-id="create-profile-first-page-header2">
    <description data-l10n-id="profile-creation-explanation-1"></description>
    <description data-l10n-id="profile-creation-explanation-2"></description>
    <description data-l10n-id="profile-creation-explanation-3"></description>
    <spacer flex="1"/>
    <description data-l10n-id="profile-creation-explanation-4"></description>
  </wizardpage>

  <wizardpage id="createProfile" data-header-label-id="create-profile-last-page-header2">
    <description data-l10n-id="profile-creation-intro"></description>

    <label data-l10n-id="profile-prompt" control="ProfileName"></label>
    <html:input id="profileName" data-l10n-id="profile-default-name"
                data-l10n-attrs="value" oninput="updateProfileName(this.value);"/>

    <separator/>

    <description data-l10n-id="profile-directory-explanation"></description>

    <vbox class="indent" flex="1" style="overflow: auto;">
      <description id="profileDisplay">*</description>
    </vbox>

    <hbox>
      <button data-l10n-id="create-profile-choose-folder" oncommand="chooseProfileFolder();"/>

      <button id="useDefault" data-l10n-id="create-profile-use-default"
              oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();"
              disabled="true"/>
    </hbox>

    <separator/>

    <description id="finishText">*</description>
  </wizardpage>

</wizard>
</window>