browser/base/content/aboutTabCrashed.xhtml
author Tristan Bourvon <tbourvon@mozilla.com>
Tue, 10 Apr 2018 21:11:02 +0200
changeset 466377 d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
parent 456165 c47ba61ce442211227ccf909eee6101841e5aa94
child 512228 3b666f82d75027a27b6df6d74543347bb7c65508
permissions -rw-r--r--
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan

<?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 % tabCrashedDTD
    SYSTEM "chrome://browser/locale/aboutTabCrashed.dtd">
  %tabCrashedDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Security-Policy" content="default-src chrome:" />
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://global/skin/in-content/info-pages.css"/>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://browser/content/aboutTabCrashed.css"/>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://browser/skin/aboutTabCrashed.css"/>

    <title>&tabCrashed.title;</title>
  </head>

  <body dir="&locale.dir;">
    <div id="main" class="container" multiple="false">

      <div class="title">
        <h1 class="title-text">&tabCrashed.header2;</h1>
      </div>

      <div class="offers">
        <h2>&tabCrashed.offerHelp2;</h2>
        <p id="offerHelpMessageSingle">&tabCrashed.single.offerHelpMessage2;</p>
        <p id="offerHelpMessageMultiple">&tabCrashed.multiple.offerHelpMessage2;</p>
      </div>

      <div id="reportBox">
        <h2>&tabCrashed.requestHelp;</h2>
        <p>&tabCrashed.requestHelpMessage;</p>

        <h2>&tabCrashed.requestReport;</h2>

        <div class="checkbox-with-label">
          <input type="checkbox" id="sendReport" role="checkbox"/>
          <label for="sendReport">&tabCrashed.sendReport3;</label>
        </div>

        <ul id="options">
          <li>
            <textarea id="comments" placeholder="&tabCrashed.commentPlaceholder2;" rows="4"></textarea>
          </li>

          <li class="checkbox-with-label">
            <input type="checkbox" id="includeURL" role="checkbox"/>
            <label for="includeURL">&tabCrashed.includeURL3;</label>
          </li>

          <li id="requestEmail" hidden="true">
            <div class="checkbox-with-label">
              <input type="checkbox" id="emailMe" role="checkbox"/>
              <label for="emailMe">&tabCrashed.emailMe;</label>
            </div>
            <input type="text" id="email" placeholder="&tabCrashed.emailPlaceholder;"/>
          </li>
        </ul>

        <div id="requestAutoSubmit" hidden="true">
          <h2>&tabCrashed.requestAutoSubmit2;</h2>
          <div class="checkbox-with-label">
            <input type="checkbox" id="autoSubmit" role="checkbox"/>
            <label for="autoSubmit">&tabCrashed.autoSubmit3;</label>
          </div>
        </div>
      </div>

      <p id="reportSent">&tabCrashed.reportSent;</p>

      <div class="button-container">
        <button id="closeTab">
          &tabCrashed.closeTab2;</button>
        <button id="restoreTab" class="primary">
          &tabCrashed.restoreTab;</button>
        <button id="restoreAll" autofocus="true" class="primary">
          &tabCrashed.restoreAll;</button>
      </div>
    </div>
  </body>
  <script type="text/javascript" src="chrome://browser/content/aboutTabCrashed.js"/>
</html>