browser/base/content/aboutRestartRequired.xhtml
author Bogdan Tara <btara@mozilla.com>
Tue, 25 Sep 2018 01:07:33 +0300
changeset 437969 b295ff1a58a9700eb9fbed49e191124c8becd4aa
parent 437925 eade7b3002168c6d346aae3ce561aff9d2857968
child 439357 6ed1e83038877539749f73b32c83ec887ae36681
permissions -rw-r--r--
Backed out changeset eade7b300216 (bug 1488788) for browser_shownRestartRequired.js CS tests failures CLOSED TREE

<?xml version="1.0" encoding="UTF-8"?>

<!-- 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 html [
  <!ENTITY % htmlDTD
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
  %htmlDTD;
  <!ENTITY % globalDTD
    SYSTEM "chrome://global/locale/global.dtd">
  %globalDTD;
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  %brandDTD;
  <!ENTITY % restartRequiredDTD
    SYSTEM "chrome://browser/locale/aboutRestartRequired.dtd">
  %restartRequiredDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>&restartRequired.title;</title>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://browser/skin/aboutRestartRequired.css"/>
    <!-- If the location of the favicon is changed here, the
         FAVICON_ERRORPAGE_URL symbol in
         toolkit/components/places/src/nsFaviconService.h should be updated. -->
    <link rel="icon" id="favicon"
          href="chrome://global/skin/icons/warning.svg"/>
  </head>

  <body dir="&locale.dir;">
    <!-- PAGE CONTAINER (for styling purposes only) -->
    <div id="errorPageContainer">
      <div id="text-container">
        <div id="title">
          <h1 id="title-text">&restartRequired.header;</h1>
        </div>
        <div id="errorLongContent">
          <div id="errorLongDesc">&restartRequired.description;</div>
        </div>
      </div>
      <!-- Restart Button -->
      <div id="restartButtonContainer" class="button-container">
        <button id="restart" class="primary" autocomplete="off"
                onclick="AboutRestartRequired.restart();">
          &restartButton.label;
        </button>
      </div>
    </div>
  </body>
  <script type="text/javascript"
           src="chrome://browser/content/aboutRestartRequired.js"/>
</html>