summaryrefslogtreecommitdiffstats
path: root/toolkit/profile/content/createProfileWizard.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /toolkit/profile/content/createProfileWizard.xhtml
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/profile/content/createProfileWizard.xhtml')
-rw-r--r--toolkit/profile/content/createProfileWizard.xhtml90
1 files changed, 90 insertions, 0 deletions
diff --git a/toolkit/profile/content/createProfileWizard.xhtml b/toolkit/profile/content/createProfileWizard.xhtml
new file mode 100644
index 0000000000..34db95db1e
--- /dev/null
+++ b/toolkit/profile/content/createProfileWizard.xhtml
@@ -0,0 +1,90 @@
+<?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>