toolkit/profile/content/profileSelection.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/profile/content/profileSelection.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,70 @@
     1.4 +<?xml version="1.0"?> 
     1.5 +<!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
     1.6 +<!--
     1.7 +
     1.8 + This Source Code Form is subject to the terms of the Mozilla Public
     1.9 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
    1.10 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    1.11 +
    1.12 +<?xml-stylesheet href="chrome://mozapps/skin/profile/profileSelection.css" type="text/css"?>
    1.13 +
    1.14 +<!DOCTYPE window [
    1.15 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    1.16 +%brandDTD;
    1.17 +<!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/profileSelection.dtd">
    1.18 +%profileDTD;
    1.19 +]>
    1.20 +
    1.21 +<dialog
    1.22 +  id="profileWindow"
    1.23 +  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    1.24 +  class="non-resizable"
    1.25 +  title="&windowtitle.label;"
    1.26 +  orient="vertical" 
    1.27 +  buttons="accept,cancel"
    1.28 +  style="width: 30em;"
    1.29 +  onload="startup();"
    1.30 +  ondialogaccept="return acceptDialog()"
    1.31 +  ondialogcancel="return exitDialog()"
    1.32 +  buttonlabelaccept="&start.label;"
    1.33 +  buttonlabelcancel="&exit.label;">
    1.34 +
    1.35 +  <stringbundle id="bundle_profileManager"
    1.36 +                src="chrome://mozapps/locale/profile/profileSelection.properties"/>
    1.37 +  <stringbundle id="bundle_brand"
    1.38 +                src="chrome://branding/locale/brand.properties"/>
    1.39 +
    1.40 +  <script type="application/javascript" src="chrome://mozapps/content/profile/profileSelection.js"/>
    1.41 +
    1.42 +  <description class="label">&pmDescription.label;</description>
    1.43 +
    1.44 +  <separator class="thin"/>
    1.45 +
    1.46 +  <hbox class="profile-box indent" flex="1">
    1.47 +
    1.48 +    <vbox id="managebuttons">
    1.49 +      <button id="newbutton" label="&newButton.label;"
    1.50 +              accesskey="&newButton.accesskey;" oncommand="CreateProfileWizard();"/>
    1.51 +      <button id="renbutton" label="&renameButton.label;"
    1.52 +              accesskey="&renameButton.accesskey;" oncommand="RenameProfile();"/>
    1.53 +      <button id="delbutton" label="&deleteButton.label;"
    1.54 +              accesskey="&deleteButton.accesskey;" oncommand="ConfirmDelete();"/>
    1.55 +    </vbox>
    1.56 +    
    1.57 +    <separator flex="1"/>
    1.58 +
    1.59 +    <vbox flex="1">
    1.60 +      <listbox id="profiles" rows="5" seltype="single"
    1.61 +               ondblclick="onProfilesDblClick(event)"
    1.62 +               onkeypress="onProfilesKey(event);">
    1.63 +      </listbox>
    1.64 +
    1.65 +      <!-- Bug 257777 -->
    1.66 +      <checkbox id="offlineState" label="&offlineState.label;" accesskey="&offlineState.accesskey;"/> 
    1.67 +
    1.68 +      <checkbox id="autoSelectLastProfile" label="&useSelected.label;"
    1.69 +                accesskey="&useSelected.accesskey;"/> 
    1.70 +    </vbox>
    1.71 +
    1.72 +  </hbox>
    1.73 +</dialog>

mercurial