summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/content/selectAddons.xul
blob: 0fa292ecf8e120d262f6edcc7a5e71230e8b9a17 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?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/content/extensions/selectAddons.css" type="text/css"?> 
<?xml-stylesheet href="chrome://mozapps/skin/extensions/selectAddons.css" type="text/css"?> 

<!DOCTYPE window [
<!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/extensions/selectAddons.dtd">
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%updateDTD;
%brandDTD;
]>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        style="&upgrade.style;" id="select-window">

  <script type="application/javascript" src="chrome://mozapps/content/extensions/selectAddons.js"/>
  <stringbundle id="strings" src="chrome://mozapps/locale/extensions/selectAddons.properties"/>

  <deck id="view-deck" flex="1" align="stretch" pack="stretch">
    <vbox id="checking" align="stretch">
      <vbox flex="1">
        <label id="checking-heading" class="heading">&checking.heading;</label>
      </vbox>
      <progressmeter id="checking-progress" class="progress" mode="undetermined"/>
      <vbox flex="1">
        <label id="checking-progress-label" class="progress-label">&checking.progress.label;</label>
      </vbox>
    </vbox>

    <vbox id="select" align="stretch">
      <label id="select-heading" class="heading">&select.heading;</label>

      <description id="select-description">&select.description;</description>

      <vbox id="select-list" align="stretch" flex="1">
        <hbox id="select-header">
          <hbox class="select-keep select-cell" style="&select.keep.style;">
            <label value="&select.keep;"/>
          </hbox>
          <hbox class="select-icon select-cell"/>
          <hbox id="heading-name" class="select-name select-cell" style="&select.name.style;">
            <label value="&select.name;"/>
          </hbox>
          <hbox id="heading-action" class="select-action select-cell" style="&select.action.style;">
            <label value="&select.action;"/>
          </hbox>
          <hbox class="select-source select-cell" flex="1">
            <label value="&select.source;"/>
          </hbox>
        </hbox>

        <scrollbox id="select-scrollbox" flex="1">
          <grid id="select-grid" flex="1">
            <columns>
              <column style="&select.keep.style;"/>
              <column/>
              <column id="column-name"/>
              <column id="column-action" class="select-action"/>
              <column class="select-source" flex="1"/>
            </columns>

            <rows id="select-rows"/>
          </grid>
        </scrollbox>
      </vbox>
    </vbox>

    <vbox id="confirm" align="stretch">
      <label id="confirm-heading" class="heading">&confirm.heading;</label>

      <description id="confirm-description">&confirm.description;</description>

      <scrollbox id="confirm-scrollbox" flex="1">
        <vbox id="disable-list" class="action-list" hidden="true">
          <label class="action-header">&action.disable.heading;</label>
        </vbox>

        <vbox id="incompatible-list" class="action-list" hidden="true">
          <label class="action-header">&action.incompatible.heading;</label>
        </vbox>

        <vbox id="update-list" class="action-list" hidden="true">
          <label class="action-header">&action.update.heading;</label>
        </vbox>

        <vbox id="enable-list" class="action-list" hidden="true">
          <label class="action-header">&action.enable.heading;</label>
        </vbox>
      </scrollbox>
    </vbox>

    <vbox id="update" align="stretch">
      <vbox flex="1">
        <label id="update-heading" class="heading">&update.heading;</label>
      </vbox>
      <progressmeter id="update-progress" class="progress" mode="undetermined"/>
      <vbox flex="1">
        <label id="update-progress-label" class="progress-label">&update.progress.label;</label>
      </vbox>
    </vbox>

    <vbox id="errors">
      <vbox flex="1">
        <label id="errors-heading" class="heading">&errors.heading;</label>
      </vbox>
      <description id="errors-description" value="&errors.description;"/>
      <spacer flex="1"/>
    </vbox>
  </deck>

  <hbox id="footer" align="center">
    <label id="footer-label" flex="1">&footer.label;</label>
    <button id="cancel" label="&cancel.label;" oncommand="window.close()"/>
    <button id="back" label="&back.label;" oncommand="gView.back()" hidden="true"/>
    <button id="next" label="&next.label;" oncommand="gView.next()" hidden="true"/>
    <button id="done" label="&done.label;" oncommand="gView.done()" hidden="true"/>
  </hbox>

</window>