summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/extensions/content/newaddon.xul
blob: 0806f27991c87e93e2a28ce5c0bda195fccad372 (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
<?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/" type="text/css"?>
<?xml-stylesheet href="chrome://mozapps/skin/extensions/newaddon.css"?>

<!DOCTYPE page [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % newaddonDTD SYSTEM "chrome://mozapps/locale/extensions/newaddon.dtd">
%newaddonDTD;
]>

<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      xmlns:xhtml="http://www.w3.org/1999/xhtml" title="&title;"
      disablefastfind="true" id="addon-page" onload="initialize()"
      onunload="unload()" role="application" align="stretch" pack="stretch">

  <xhtml:link rel="shortcut icon" style="display: none"
              href="chrome://mozapps/skin/extensions/extensionGeneric-16.png"/>

  <script type="application/javascript"
          src="chrome://mozapps/content/extensions/newaddon.js"/>

  <scrollbox id="addon-scrollbox" align="center">
    <spacer id="spacer-start"/>

    <vbox id="addon-container" class="main-content">
      <description>&intro;</description>

      <hbox id="addon-info">
        <image id="icon"/>
        <vbox flex="1">
          <label id="name"/>
          <label id="author"/>
          <label id="location" crop="end"/>
        </vbox>
      </hbox>

      <hbox id="warning">
        <image id="warning-icon"/>
        <description flex="1">&warning;</description>
      </hbox>

      <checkbox id="allow" label="&allow;"/>
      <description id="later">&later;</description>

      <deck id="buttonDeck">
        <hbox id="continuePanel">
          <button id="continue-button" label="&continue;"
                  oncommand="continueClicked()"/>
        </hbox>
        <hbox id="restartPanel">
          <spacer id="restartSpacer"/>
          <description id="restartMessage" flex="1">&restartMessage;</description>
          <button id="restart-button" label="&restartButton;" oncommand="restartClicked()"/>
          <button id="cancel-button" label="&cancelButton;" oncommand="cancelClicked()"/>
        </hbox>
      </deck>
    </vbox>

    <spacer id="spacer-end"/>
  </scrollbox>
</page>