browser/base/content/aboutRobots.xhtml
author Tristan Bourvon <tbourvon@mozilla.com>
Tue, 10 Apr 2018 21:11:02 +0200
changeset 466377 d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
parent 456165 c47ba61ce442211227ccf909eee6101841e5aa94
child 513620 a84968e6ae556298fea0b9923694815df2fc5d5e
permissions -rw-r--r--
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan

<?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 % netErrorDTD
    SYSTEM "chrome://global/locale/netError.dtd">
  %netErrorDTD;
  <!ENTITY % globalDTD
    SYSTEM "chrome://global/locale/global.dtd">
  %globalDTD;
  <!ENTITY % aboutrobotsDTD
    SYSTEM "chrome://browser/locale/aboutRobots.dtd">
  %aboutrobotsDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Security-Policy" content="default-src chrome:" />
    <title>&robots.pagetitle;</title>
    <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" />
    <link rel="icon" type="image/png" id="favicon" href="chrome://browser/content/robot.ico"/>
    <link rel="stylesheet" href="chrome://browser/content/aboutRobots.css" type="text/css"/>
  </head>

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

    <!-- PAGE CONTAINER (for styling purposes only) -->
    <div id="errorPageContainer">

      <!-- Error Title -->
      <div id="errorTitle">
        <h1 id="errorTitleText">&robots.errorTitleText;</h1>
      </div>

      <!-- LONG CONTENT (the section most likely to require scrolling) -->
      <div id="errorLongContent">

        <!-- Short Description -->
        <div id="errorShortDesc">
          <p id="errorShortDescText">&robots.errorShortDescText;</p>
        </div>

        <!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
        <div id="errorLongDesc">
          <ul>
            <li>&robots.errorLongDesc1;</li>
            <li>&robots.errorLongDesc2;</li>
            <li>&robots.errorLongDesc3;</li>
            <li>&robots.errorLongDesc4;</li>
          </ul>
        </div>

        <!-- Short Description -->
        <div id="errorTrailerDesc">
          <p id="errorTrailerDescText">&robots.errorTrailerDescText;</p>
        </div>

      </div>

      <!-- Button -->
      <button id="errorTryAgain"
              label2="&robots.dontpress;">&retry.label;</button>

      <img id="widget1" src="chrome://browser/content/aboutRobots-widget-left.png"/>
      <img id="widget2" src="chrome://browser/content/aboutRobots-widget-left.png"/>
    </div>
  </body>
  <script type="application/javascript" src="chrome://browser/content/aboutRobots.js"/>
</html>