gecko/browser/base/content/abouthealthreport/abouthealth.xhtml
Mike Connor 5e8e43426f bug 719484 - build about:healthreport, r=dolske
--HG--
extra : rebase_source : 54dac2005640bcf6f0b37c16cfbf04bb11d5def1
2013-01-11 15:31:38 -08:00

72 lines
2.8 KiB
HTML

<?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 % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % securityPrefsDTD SYSTEM "chrome://browser/locale/preferences/security.dtd">
%securityPrefsDTD;
<!ENTITY % aboutHealthReportDTD SYSTEM "chrome://browser/locale/aboutHealthReport.dtd">
%aboutHealthReportDTD;
]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>&abouthealth.pagetitle;</title>
<link rel="stylesheet"
href="chrome://browser/content/abouthealthreport/abouthealth.css"
type="text/css" />
<script type="text/javascript;version=1.8"
src="chrome://browser/content/abouthealthreport/abouthealth.js" />
</head>
<body dir="&abouthealth.locale-direction;" class="aboutPageWideContainer" onload="init();">
<div id="about-header">
<h1>&abouthealth.header;</h1>
<img src="chrome://branding/content/icon48.png"/>
</div>
<div id="content">
<div id="state-intro">
<h3>&abouthealth.intro.title;</h3>
<div id="content-line">
<p id="intro-enabled">&abouthealth.intro-enabled;</p>
<p id="intro-disabled">&abouthealth.intro-disabled;</p>
<div id="control-container">
<button id="btn-optin" onclick="onOptInClick();">&abouthealth.optin;</button>
<button id="btn-optout" onclick="onOptOutClick();">&abouthealth.optout;</button>
<button id="details-show" onclick="onShowRawDataClick()">&abouthealth.show-raw-data;</button>
<button id="details-hide" onclick="onHideRawDataClick()">&abouthealth.hide-raw-data;</button>
</div>
</div>
</div>
<div id="details-view">
<p id="details-description">
&abouthealth.details.description-start;
<a id="details-link">&abouthealth.details-link;</a>
&abouthealth.details.description-end;
</p>
<p id="data-no-data">&abouthealth.no-data-available;</p>
<pre id="raw-data" style="display: none"></pre>
</div>
<div id="data-view">
<button id="report-show" onclick="onShowReportClick()">&abouthealth.show-report;</button>
<div id="report-view">
<iframe id="remote-report"/>
</div>
</div>
</div>
<input type="hidden" id="optout-confirmationPrompt"
confirmationPrompt_title="&abouthealth.optout.confirmationPrompt.title;"
confirmationPrompt_message="&abouthealth.optout.confirmationPrompt.message;"
/>
</body>
</html>