Bug 1493192: Flip order of sent/unsent crashes on about:crashes r=mconley a=jcristau
Differential Revision:
https://phabricator.services.mozilla.com/D10526
--- a/toolkit/crashreporter/content/crashes.xhtml
+++ b/toolkit/crashreporter/content/crashes.xhtml
@@ -13,47 +13,47 @@
<script type="application/javascript" src="chrome://global/content/crashes.js"/>
<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="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>
-
- <div id="reportListUnsubmitted" class="hidden">
- <div class="table-title-container">
- <h2 class="lighter-font-weight" data-l10n-id="crashes-unsubmitted-label"></h2>
- <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>
</body>
<template id="crashReportRow">
<tr>
<td class="crash-id"></td>
<td></td>
<td class="float-right"></td>
</tr>