summaryrefslogtreecommitdiffstats
path: root/browser/components/textrecognition/textrecognition.html
blob: 2200baaeeb8a246bb9c79e9a4b20608aa06e1219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!-- 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>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="Content-Security-Policy"
        content="default-src chrome:; object-src 'none';">
  <link rel="stylesheet" type="text/css"
        href="chrome://global/skin/in-content/common.css">
  <link rel="stylesheet" type="text/css"
        href="chrome://browser/content/textrecognition/textrecognition.css">
  <link rel="localization" href="browser/textRecognition.ftl"/>
  <script type="module" src="chrome://browser/content/textrecognition/textrecognition.mjs"></script>
  <!-- The title is available to screen readers only -->
  <title data-l10n-id="text-recognition-modal-accessible-modal-title"></title>
</head>
<body>
  <div class="textRecognition">
    <div class="textRecognitionHeader" id="text-recognition-header-loading"">
      <span class="textRecognitionThrobber"></span>
      <span data-l10n-id="text-recognition-modal-searching-title"></span>
    </div>
    <div class="textRecognitionHeader" id="text-recognition-header-results">
      <img class="textRecognitionSuccessIcon" src="chrome://global/skin/icons/check.svg" role="presentation"/>
      <span data-l10n-id="text-recognition-modal-results-title"></span>
    </div>
    <div class="textRecognitionHeader" id="text-recognition-header-no-results">
      <img class="textRecognitionNoResultIcon" src="chrome://global/skin/icons/warning.svg" role="presentation"/>
      <span data-l10n-id="text-recognition-modal-no-results-title">
        <a data-l10n-name="error-link" href="https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/text-recognition"></a>
      </span>
    </div>
    <div class="textRecognitionText" role="document"></div>
    <div class="textRecognitionFooter">
      <button data-l10n-id="text-recognition-modal-close-button" type="button" id="text-recognition-close" class="primary"></button>
    </div>
  </div>
</body>
</html>