toolkit/mozapps/extensions/content/newaddon.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/extensions/content/newaddon.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,66 @@
     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 +<?xml-stylesheet href="chrome://mozapps/skin/extensions/newaddon.css"?>
    1.11 +
    1.12 +<!DOCTYPE page [
    1.13 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
    1.14 +%brandDTD;
    1.15 +<!ENTITY % newaddonDTD SYSTEM "chrome://mozapps/locale/extensions/newaddon.dtd">
    1.16 +%newaddonDTD;
    1.17 +]>
    1.18 +
    1.19 +<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.20 +      xmlns:xhtml="http://www.w3.org/1999/xhtml" title="&title;"
    1.21 +      disablefastfind="true" id="addon-page" onload="initialize()"
    1.22 +      onunload="unload()" role="application" align="stretch" pack="stretch">
    1.23 +
    1.24 +  <xhtml:link rel="shortcut icon" style="display: none"
    1.25 +              href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/>
    1.26 +
    1.27 +  <script type="application/javascript"
    1.28 +          src="chrome://mozapps/content/extensions/newaddon.js"/>
    1.29 +
    1.30 +  <scrollbox id="addon-scrollbox" align="center">
    1.31 +    <spacer id="spacer-start"/>
    1.32 +
    1.33 +    <vbox id="addon-container" class="main-content">
    1.34 +      <description>&intro;</description>
    1.35 +
    1.36 +      <hbox id="addon-info">
    1.37 +        <image id="icon"/>
    1.38 +        <vbox flex="1">
    1.39 +          <label id="name"/>
    1.40 +          <label id="author"/>
    1.41 +          <label id="location" crop="end"/>
    1.42 +        </vbox>
    1.43 +      </hbox>
    1.44 +
    1.45 +      <hbox id="warning">
    1.46 +        <image id="warning-icon"/>
    1.47 +        <description flex="1">&warning;</description>
    1.48 +      </hbox>
    1.49 +
    1.50 +      <checkbox id="allow" label="&allow;"/>
    1.51 +      <description id="later">&later;</description>
    1.52 +
    1.53 +      <deck id="buttonDeck">
    1.54 +        <hbox id="continuePanel">
    1.55 +          <button id="continue-button" label="&continue;"
    1.56 +                  oncommand="continueClicked()"/>
    1.57 +        </hbox>
    1.58 +        <hbox id="restartPanel">
    1.59 +          <spacer id="restartSpacer"/>
    1.60 +          <description id="restartMessage" flex="1">&restartMessage;</description>
    1.61 +          <button id="restart-button" label="&restartButton;" oncommand="restartClicked()"/>
    1.62 +          <button id="cancel-button" label="&cancelButton;" oncommand="cancelClicked()"/>
    1.63 +        </hbox>
    1.64 +      </deck>
    1.65 +    </vbox>
    1.66 +
    1.67 +    <spacer id="spacer-end"/>
    1.68 +  </scrollbox>
    1.69 +</page>

mercurial