toolkit/content/aboutTelemetry.xhtml
author Kris Maglione <maglione.k@gmail.com>
Thu, 14 Feb 2019 17:54:00 -0800
changeset 517406 7436c0f5b8b1583d20d5ea2d1d9d3b2c665bdf33
parent 500435 9bbfbefd208f76a20f119d8a4c1b8507e891895a
child 527096 7e40ec0c948d98106fcb558c7650889f10f399a7
permissions -rw-r--r--
Fix botched backout (bug 1524687). r=bustage

<?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 % aboutTelemetryDTD SYSTEM "chrome://global/locale/aboutTelemetry.dtd"> %aboutTelemetryDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>&aboutTelemetry.pageTitle;</title>

    <link rel="stylesheet" href="chrome://global/content/aboutTelemetry.css"
          type="text/css"/>

    <script type="application/javascript"
            src="chrome://global/content/aboutTelemetry.js"/>
  </head>

  <body id="body" dir="&locale.dir;">

    <div id="categories">
      <div class="heading">
        <span id="ping-type" class="change-ping dropdown"></span>
        <div id="controls" hidden="true">
          <span id="older-ping">&aboutTelemetry.previousPing;</span>
          <span id="ping-date" class="change-ping"></span>
          <span id="newer-ping">&aboutTelemetry.nextPing;</span>
        </div>
      </div>
      <div id="category-home" class="category has-data selected" value="home-section">
        <span class="category-name">&aboutTelemetry.homeSection;</span>
      </div>
      <div class="category" value="general-data-section">
        <span class="category-name">&aboutTelemetry.generalDataSection;</span>
      </div>
      <div class="category" value="environment-data-section">
        <span class="category-name">&aboutTelemetry.environmentDataSection;</span>
      </div>
      <div class="category" value="session-info-section">
        <span class="category-name">&aboutTelemetry.sessionInfoSection;</span>
      </div>
      <div class="category" value="scalars-section">
        <span class="category-name">&aboutTelemetry.scalarsSection;</span>
      </div>
      <div class="category" value="keyed-scalars-section">
        <span class="category-name">&aboutTelemetry.keyedScalarsSection;</span>
      </div>
      <div class="category" value="histograms-section">
        <span class="category-name">&aboutTelemetry.histogramsSection;</span>
      </div>
      <div class="category" value="keyed-histograms-section">
        <span class="category-name">&aboutTelemetry.keyedHistogramsSection;</span>
      </div>
      <div class="category" value="events-section">
        <span class="category-name">&aboutTelemetry.eventsSection;</span>
      </div>
      <div class="category" value="simple-measurements-section">
        <span class="category-name">&aboutTelemetry.simpleMeasurementsSection;</span>
      </div>
      <div class="category" value="slow-sql-section">
        <span class="category-name">&aboutTelemetry.slowSqlSection;</span>
      </div>
      <div class="category" value="addon-details-section">
        <span class="category-name">&aboutTelemetry.addonDetailsSection;</span>
      </div>
      <div class="category" value="captured-stacks-section">
        <span class="category-name">&aboutTelemetry.capturedStacksSection;</span>
      </div>
      <div class="category" value="late-writes-section">
        <span class="category-name">&aboutTelemetry.lateWritesSection;</span>
      </div>
      <div class="category has-data" value="raw-payload-section">
        <span class="category-name">&aboutTelemetry.rawPayloadSection;</span>
      </div>
      <div id="category-raw" class="category has-data" value="raw-json-viewer">
          <span class="category-name">&aboutTelemetry.raw;</span>
      </div>
    </div>

    <div id="main" class="main-content">

      <div id="ping-picker" class="hidden">
        <div id="ping-source-picker">
          <h4 class="title">&aboutTelemetry.pingDataSource;</h4>
          <div>
            <input type="radio" id="ping-source-current" name="choose-ping-source" value="current" checked="checked" />
            <label for="ping-source-current">&aboutTelemetry.showCurrentPingData;</label>
          </div>
          <div id="ping-source-archive-container">
            <input type="radio" id="ping-source-archive" name="choose-ping-source" value="archive" />
            <label for="ping-source-archive">&aboutTelemetry.showArchivedPingData;</label>
          </div>
        </div>
        <div id="current-ping-picker">
          <input id="show-subsession-data" type="checkbox" checked="checked" />&aboutTelemetry.showSubsessionData;
        </div>
        <div id="archived-ping-picker">
          <h4 class="title">&aboutTelemetry.choosePing;</h4>
          <div>
            <h4 class="title">&aboutTelemetry.archivePingType;</h4>
            <select id="choose-ping-type"></select>
          </div>
          <div>
            <h4 class="title">&aboutTelemetry.archivePingHeader;</h4>
            <select id="choose-ping-id">
              <optgroup label="&aboutTelemetry.optionGroupToday;">
              </optgroup>
              <optgroup label="&aboutTelemetry.optionGroupYesterday;">
              </optgroup>
              <optgroup label="&aboutTelemetry.optionGroupOlder;">
              </optgroup>
            </select>
          </div>
        </div>
      </div>

      <div class="header">
          <div id="sectionTitle" class="header-name">
              &aboutTelemetry.pageTitle;
          </div>
          <select id="processes" hidden="true"></select>
          <input type="text" id="search" placeholder=""/>
      </div>

      <div id="no-search-results" hidden="true" class="hidden">
        <span id="no-search-results-text"></span>
        <div class="no-search-results-image"></div>
      </div>

      <section id="home-section" class="active">
        <p id="page-subtitle"></p>
        <p id="settings-explanation"></p>
        <p id="ping-explanation"></p>
        <p>&aboutTelemetry.moreInformations;</p>
        <ul>
          <li>&aboutTelemetry.firefoxDataDoc;</li>
          <li>&aboutTelemetry.telemetryClientDoc;</li>
          <li>&aboutTelemetry.telemetryDashboard;</li>
          <li>&aboutTelemetry.telemetryProbeDictionary;</li>
        </ul>
      </section>

      <section id="raw-payload-section">
        <button id="payload-json-viewer">&aboutTelemetry.showInFirefoxJsonViewer;</button>
        <pre id="raw-payload-data"></pre>
      </section>

      <section id="general-data-section">
        <div id="general-data" class="data"></div>
      </section>

      <section id="environment-data-section">
        <div id="environment-data" class="data"></div>
      </section>

      <section id="session-info-section">
        <div id="session-info" class="data"></div>
      </section>

      <section id="scalars-section">
        <div id="scalars" class="data"></div>
      </section>

      <section id="keyed-scalars-section">
        <div id="keyed-scalars" class="data"></div>
      </section>

      <section id="histograms-section">
        <div id="histograms" class="data"></div>
      </section>

      <section id="keyed-histograms-section">
        <div id="keyed-histograms" class="data"></div>
      </section>

      <section id="events-section">
        <div id="events" class="data"></div>
      </section>

      <section id="simple-measurements-section">
        <div id="simple-measurements" class="data"></div>
      </section>

      <section id="slow-sql-section">
        <p id="sql-warning">&aboutTelemetry.fullSqlWarning;</p>
        <div id="slow-sql-tables" class="data"></div>
      </section>

      <section id="late-writes-section">
        <a id="late-writes-fetch-symbols" href="">&aboutTelemetry.fetchStackSymbols;</a>
        <a id="late-writes-hide-symbols" href="">&aboutTelemetry.hideStackSymbols;</a>
        <div id="late-writes" class="data"></div>
      </section>

      <section id="addon-details-section">
        <div id="addon-details" class="data"></div>
      </section>

      <section id="captured-stacks-section">
        <a id="captured-stacks-fetch-symbols" href="">&aboutTelemetry.fetchStackSymbols;</a>
        <a id="captured-stacks-hide-symbols" href="">&aboutTelemetry.hideStackSymbols;</a>
        <div id="captured-stacks" class="data"></div>
      </section>
    </div>

  </body>

</html>