toolkit/crashreporter/content/crashes.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/content/crashes.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,88 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    1.10 +    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
    1.11 +[
    1.12 +  <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
    1.13 +  <!ENTITY % crashesDTD SYSTEM "chrome://global/locale/crashes.dtd">
    1.14 +  %globalDTD;
    1.15 +  %crashesDTD;
    1.16 +]>
    1.17 +
    1.18 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.19 +<head>
    1.20 +<style type="text/css">
    1.21 +:root {
    1.22 +  font-family: sans-serif;
    1.23 +}
    1.24 +table {
    1.25 +  padding-bottom: 2em;
    1.26 +}
    1.27 +th {
    1.28 +  text-align: left;
    1.29 +  white-space: nowrap;
    1.30 +}
    1.31 +th[chromedir="rtl"] {
    1.32 +  text-align: right;
    1.33 +}
    1.34 +/* name */
    1.35 +th:first-child {
    1.36 +  -moz-padding-end: 2em;
    1.37 +}
    1.38 +:link, :visited {
    1.39 +  display: block;
    1.40 +  min-height: 17px;
    1.41 +}
    1.42 +/* date */
    1.43 +td:first-child + td {
    1.44 +  -moz-padding-start: 1em;
    1.45 +  -moz-padding-end: .5em;
    1.46 +  white-space: nowrap;
    1.47 +}
    1.48 +/* time */
    1.49 +td:last-child {
    1.50 +  -moz-padding-start: .5em;
    1.51 +  white-space: nowrap;
    1.52 +}
    1.53 +
    1.54 +#clear-reports {
    1.55 +  float: right;
    1.56 +}
    1.57 +#clear-reports[chromedir="rtl"] {
    1.58 +  float: left;
    1.59 +}
    1.60 +
    1.61 +.submitting {
    1.62 +  background-image: url(chrome://global/skin/icons/loading_16.png);
    1.63 +  background-repeat: no-repeat;
    1.64 +  background-position: right;
    1.65 +}
    1.66 +</style>
    1.67 +<link rel="stylesheet" media="screen, projection" type="text/css"
    1.68 +      href="chrome://global/skin/dirListing/dirListing.css"/>
    1.69 +<script type="application/javascript;version=1.8" src="chrome://global/content/crashes.js"/>
    1.70 +
    1.71 +<title>&crashes.title;</title>
    1.72 +</head><body onload="populateReportList()" dir="&locale.dir;">
    1.73 +<button chromedir="&locale.dir;" id="clear-reports"
    1.74 +        onclick="clearReports().then(null, Cu.reportError)">&clearAllReports.label;</button>
    1.75 +<h1>&crashes.title;</h1>
    1.76 +<div id="reportList">
    1.77 +  <table>
    1.78 +    <thead>
    1.79 +      <tr>
    1.80 +        <th chromedir="&locale.dir;">&id.heading;</th>
    1.81 +        <th chromedir="&locale.dir;" colspan="2">&date.heading;</th>
    1.82 +      </tr>
    1.83 +    </thead>
    1.84 +    <tbody id="tbody">
    1.85 +    </tbody>
    1.86 +  </table>
    1.87 +</div>
    1.88 +<p id="noReports" style="display: none">&noReports.label;</p>
    1.89 +<p id="noConfig" style="display: none">&noConfig.label;</p>
    1.90 +</body>
    1.91 +</html>

mercurial