toolkit/content/aboutUrlClassifier.xhtml
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 28 Dec 2018 13:16:51 +0000
changeset 509151 9607199858999a81708f78931f9fbb7fdf672ec4
parent 493191 7335fb70cb317329a19a7a273b22fbb987eeda38
child 510135 0ab9267646168b00142468dd0d243bef4431455a
permissions -rw-r--r--
Bug 1514724 - actually insert pocket in the 'right' place in browser.xul to avoid migration issues in browser_pageActions.js , rs=bustage on a CLOSED TREE

<?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;
]>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title data-l10n-id="url-classifier-title"></title>
  <link rel="stylesheet" href="chrome://global/content/aboutUrlClassifier.css" type="text/css"/>
  <link rel="localization" href="toolkit/about/url-classifier.ftl"/>
  <script type="text/javascript" src="chrome://global/content/aboutUrlClassifier.js"></script>
</head>

<body onload="onLoad()" class="wide-container">
  <h1 data-l10n-id="url-classifier-title"></h1>
  <div id="provider">
    <h2 class="major-section" data-l10n-id="url-classifier-provider-title"></h2>
    <table id="provider-table">
      <thead>
        <tr id="provider-head-row">
          <th id="col-provider" data-l10n-id="url-classifier-provider"></th>
          <th id="col-lastupdatetime" data-l10n-id="url-classifier-provider-last-update-time"></th>
          <th id="col-nextupdatetime" data-l10n-id="url-classifier-provider-next-update-time"></th>
          <th id="col-backofftime" data-l10n-id="url-classifier-provider-back-off-time"></th>
          <th id="col-lastupdateresult" data-l10n-id="url-classifier-provider-last-update-status"></th>
          <th id="col-update" data-l10n-id="url-classifier-provider-update-btn"></th>
        </tr>
      </thead>
      <tbody id="provider-table-body">
        <!-- data is generated in javascript -->
      </tbody>
    </table>
  </div>
  <div id="cache">
    <h2 class="major-section" data-l10n-id="url-classifier-cache-title"></h2>
    <div id="cache-modules" class="options">
      <button id="refresh-cache-btn" data-l10n-id="url-classifier-cache-refresh-btn"></button>
      <button id="clear-cache-btn" data-l10n-id="url-classifier-cache-clear-btn"></button>
      <br></br>
    </div>
    <table id="cache-table">
      <thead>
        <tr id="cache-head-row">
          <th id="col-tablename" data-l10n-id="url-classifier-cache-table-name"></th>
          <th id="col-negativeentries" data-l10n-id="url-classifier-cache-ncache-entries"></th>
          <th id="col-positiveentries" data-l10n-id="url-classifier-cache-pcache-entries"></th>
          <th id="col-showentries" data-l10n-id="url-classifier-cache-show-entries"></th>
        </tr>
      </thead>
      <tbody id="cache-table-body">
        <!-- data is generated in javascript -->
      </tbody>
    </table>
    <br></br>
  </div>
  <div id="cache-entries">
    <h2 class="major-section" data-l10n-id="url-classifier-cache-entries"></h2>
    <table id="cache-entries-table">
      <thead>
        <tr id="cache-entries-row">
          <th id="col-table" data-l10n-id="url-classifier-cache-table-name"></th>
          <th id="col-prefix" data-l10n-id="url-classifier-cache-prefix"></th>
          <th id="col-n-expire" data-l10n-id="url-classifier-cache-ncache-expiry"></th>
          <th id="col-fullhash" data-l10n-id="url-classifier-cache-fullhash"></th>
          <th id="col-p-expire" data-l10n-id="url-classifier-cache-pcache-expiry"></th>
        </tr>
      </thead>
      <tbody id="cache-entries-table-body">
        <!-- data is generated in javascript -->
      </tbody>
    </table>
  </div>
  <div id="debug">
    <h2 class="major-section" data-l10n-id="url-classifier-debug-title"></h2>
    <div id="debug-modules" class="options">
      <input id="log-modules" type="text" value=""/>
      <button id="set-log-modules" data-l10n-id="url-classifier-debug-module-btn"></button>
      <br></br>
      <input id="log-file" type="text" value=""/>
      <button id="set-log-file" data-l10n-id="url-classifier-debug-file-btn"></button>
      <br></br>
      <div class="toggle-container-with-text">
        <input id="js-log" type="checkbox"/>
        <label for="js-log" data-l10n-id="url-classifier-debug-js-log-chk"></label>
      </div>
    </div>
    <table id="debug-table">
    <tbody>
    <tr>
      <th class="column" data-l10n-id="url-classifier-debug-sb-modules"></th>
      <td id="sb-log-modules">
      </td>
    </tr>
    <tr>
      <th class="column" data-l10n-id="url-classifier-debug-modules"></th>
      <td id="cur-log-modules">
      </td>
    </tr>
    <tr>
      <th class="column" data-l10n-id="url-classifier-debug-sbjs-modules"></th>
      <td id="cur-js-log">
      </td>
    </tr>
    <tr>
      <th class="column" data-l10n-id="url-classifier-debug-file"></th>
      <td id="cur-log-file">
      </td>
    </tr>
    </tbody>
    </table>
  </div>
</body>
</html>