mail/components/cloudfile/content/addAccountDialog.xul
author Geoff Lankow <geoff@darktrojan.net>
Thu, 11 Oct 2018 19:12:45 +1300
changeset 68102 0ada7194b13eac05e0c975aeed32e1effe58a12e
parent 67418 b027417cfd9fabc5e60db7e57b7d3047a0b99092
permissions -rw-r--r--
Bug 1496632 - Move existing add-on installation UI to notification panels

<?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/.

<!DOCTYPE dialog [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % addAccountDialogDTD SYSTEM "chrome://messenger/locale/cloudfile/addAccountDialog.dtd">
%addAccountDialogDTD;
]>

<?xml-stylesheet href="chrome://global/skin/"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/cloudfile/addAccountDialog.css" type="text/css"?>

<dialog id="addCloudFileAccount"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        buttons="accept,cancel"
        buttonlabelaccept="&addAccountDialog.acceptButton.label;"
        buttondisabledaccept="true"
        onload="return addAccountDialog.onInit();"
        ondialogaccept="return addAccountDialog.onOK();"
        ondialogcancel="return addAccountDialog.onUnInit();"
        title="&addAccountDialog.title;"
        style="&addAccountDialog.style;"
        persist="screenX screenY">

  <script type="application/javascript"
          src="chrome://messenger/content/cloudfile/addAccountDialog.js"/>

#ifdef XP_MACOSX
  <description id="createAccountTitle">&addAccountDialog.title;</description>
#endif
  <description id="createAccountText">&addAccountDialog.createAccountText2;</description>
  <description id="noAccountText" hidden="true">&addAccountDialog.noAccountText;</description>

  <menulist id="accountType" class="indent">
    <menupopup>
      <menuitem label="&addAccountDialog.menuTitle;" value=""/>
    </menupopup>
  </menulist>

  <iframe id="accountSettings" class="indent" flex="1" src="chrome://messenger/content/cloudfile/emptySettings.xhtml"/>
  <deck id="messages" class="indent" selectedIndex="-1">
    <hbox id="authorizing">
      <image src="chrome://global/skin/icons/loading.png"/>
      <label>&addAccountDialog.authorizing;</label>
    </hbox>
    <hbox id="error">
      <image src="chrome://global/skin/icons/warning.svg"/>
      <label>&addAccountDialog.error;</label>
    </hbox>
  </deck>
</dialog>