summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/update/content/updateElevation.xhtml
blob: 0504feeb424e5971dba5b0642afe66fd5300239a (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
<?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/. -->

<!-- This is temporary until bug 1521632 is fixed -->

<window windowtype="Update:Elevation"
        type="child"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        data-l10n-id="elevation-update-wizard"
        data-l10n-attrs="title"
        style="width: auto; height: auto"
        onload="gUpdateElevationDialog.onLoad();">
<dialog id="updates"
        buttons="extra2,extra1,accept">

  <script src="chrome://global/content/contentAreaUtils.js"/>
  <script src="chrome://global/content/globalOverlay.js"/>
  <script src="chrome://global/content/editMenuOverlay.js"/>
  <script src="chrome://mozapps/content/update/updateElevation.js"/>

<linkset>
  <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
  <html:link rel="stylesheet" href="chrome://mozapps/skin/update/updates.css" />

  <html:link rel="localization" href="branding/brand.ftl"/>
  <html:link rel="localization" href="toolkit/updates/elevation.ftl"/>
</linkset>

#if defined(XP_MACOSX) && MOZ_BUILD_APP == browser
#include ../../../../browser/base/content/macWindow.inc.xhtml
#endif

  <stringbundleset id="updateSet">
    <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
    <stringbundle id="updateStrings" src="chrome://mozapps/locale/update/updates.properties"/>
  </stringbundleset>

  <vbox id="elevationBox">
    <hbox class="update-header" flex="1">
      <vbox class="update-header-box-1">
        <vbox class="update-header-box-text">
          <label class="update-header-label" data-l10n-id="elevation-finished-page"/>
        </vbox>
      </vbox>
    </hbox>
    <vbox class="update-content" flex="1">
      <label data-l10n-id="elevation-finished-background-page"/>
      <separator/>
      <hbox align="center">
        <label data-l10n-id="elevation-finished-background"/>
        <label id="updateFinishedName" flex="1" crop="end" value=""/>
        <label id="detailsLinkLabel" disabled="true" is="text-link"
               data-l10n-id="elevation-details-link-label"
               onclick="gUpdateElevationDialog.openUpdateURL(event);"/>
      </hbox>
      <spacer flex="1"/>
      <label id="finishedBackgroundMoreElevated" data-l10n-id="elevation-more-elevated"/>
      <label data-l10n-id="elevation-error-manual"/>
      <hbox>
        <label id="manualLinkLabel" is="text-link" value=""
               onclick="gUpdateElevationDialog.openUpdateURL(event);"/>
      </hbox>
    </vbox>
  </vbox>
  <separator class="groove update-buttons-separator"/>
  <hbox id="update-button-box" pack="end">
    <button id="elevateExtra2" dlgtype="extra2" label="" class="dialog-button"
	        oncommand="gUpdateElevationDialog.onRestartLater();" />
    <button id="elevateExtra1" dlgtype="extra1" label="" class="dialog-button"
	        oncommand="gUpdateElevationDialog.onNoThanks();" />
    <spacer flex="1"/>
    <button id="elevateAccept" dlgtype="accept" label="" class="dialog-button"
	        oncommand="gUpdateElevationDialog.onRestartNow();" default="true"/>
  </hbox>
</dialog>
</window>