summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/content/crashes.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/crashreporter/content/crashes.html')
-rw-r--r--toolkit/crashreporter/content/crashes.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/toolkit/crashreporter/content/crashes.html b/toolkit/crashreporter/content/crashes.html
new file mode 100644
index 0000000000..bd8455c9b1
--- /dev/null
+++ b/toolkit/crashreporter/content/crashes.html
@@ -0,0 +1,72 @@
+<!-- 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>
+<html>
+ <head>
+ <meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'">
+ <meta charset="utf-8">
+ <link rel="localization" href="crashreporter/aboutcrashes.ftl">
+ <link rel="stylesheet" href="chrome://global/content/crashes.css">
+ <link rel="stylesheet" media="screen, projection" href="chrome://global/skin/in-content/common.css">
+ <script src="chrome://global/content/crashes.js"></script>
+ <title data-l10n-id="crash-reports-title"></title>
+ </head>
+
+ <body>
+ <p id="noConfig" class="hidden" data-l10n-id="no-config-label"></p>
+ <p id="noSubmittedReports" class="hidden" data-l10n-id="no-reports-label"></p>
+
+ <div id="reportListUnsubmitted" class="hidden">
+ <div class="table-title-container">
+ <h2 class="lighter-font-weight" data-l10n-id="crashes-unsubmitted-label"></h2>
+ <button id="submitAllUnsubmittedReports" class="submit-button wide-button" data-l10n-id="submit-all-button-label"></button>
+ <button id="clearUnsubmittedReports" class="wide-button" data-l10n-id="delete-button-label"></button>
+ </div>
+ <table>
+ <thead>
+ <tr>
+ <th data-l10n-id="id-heading"></th>
+ <th data-l10n-id="date-crashed-heading"></th>
+ </tr>
+ </thead>
+ <tbody id="unsubmitted"></tbody>
+ </table>
+ </div>
+
+ <div id="reportListSubmitted" class="hidden">
+ <div class="table-title-container">
+ <h2 class="lighter-font-weight" data-l10n-id="crashes-submitted-label"></h2>
+ <button id="clearSubmittedReports" class="wide-button" data-l10n-id="delete-button-label"></button>
+ </div>
+ <table>
+ <thead>
+ <tr>
+ <th data-l10n-id="id-heading"></th>
+ <th data-l10n-id="date-submitted-heading"></th>
+ </tr>
+ </thead>
+ <tbody id="submitted"></tbody>
+ </table>
+ </div>
+ </body>
+
+ <template id="crashReportRow">
+ <tr>
+ <td class="crash-id"></td>
+ <td></td>
+ <td class="float-end"></td>
+ </tr>
+ </template>
+
+ <template id="crashSubmitButton">
+ <button class="submit-button wide-button">
+ <span class="submit-crash-button-label" data-l10n-id="submit-crash-button-label"></span>
+ </button>
+ </template>
+
+ <template id="viewCrashLink">
+ <a class="crash-link button-as-link wide-button" data-l10n-id="view-crash-button-label"></a>
+ </template>
+</html>