summaryrefslogtreecommitdiffstats
path: root/browser/base/content/aboutTabCrashed.xhtml
blob: 8b18bee9c2c9dacd3166f5151d76653b123b55e3 (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
<?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>
    <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"/>
  </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.offerHelp;</h2>
        <p id="offerHelpMessageSingle">&tabCrashed.single.offerHelpMessage;</p>
        <p id="offerHelpMessageMultiple">&tabCrashed.multiple.offerHelpMessage;</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"/>
          <label for="sendReport">&tabCrashed.sendReport2;</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"/>
            <label for="includeURL">&tabCrashed.includeURL2;</label>
          </li>

          <li id="requestEmail" hidden="true">
            <div class="checkbox-with-label">
              <input type="checkbox" id="emailMe"/>
              <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"/>
            <label for="autoSubmit">&tabCrashed.autoSubmit;</label>
          </div>
        </div>
      </div>

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

      <div class="button-container">
        <button id="closeTab">
          &tabCrashed.closeTab;</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;version=1.8" src="chrome://browser/content/aboutTabCrashed.js"/>
</html>