summaryrefslogtreecommitdiffstats
path: root/browser/components/screenshots/content/screenshots.html
blob: 88c71fb4fede5d74b5a23899753f8d363b0ad9d6 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<!-- 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/. -->
<html>
  <head>
    <meta charset="utf-8" />
    <title></title>
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src chrome:;img-src data:; object-src 'none'"
    />

    <link rel="localization" href="browser/screenshots.ftl" />

    <link rel="stylesheet" href="chrome://global/skin/in-content/common.css" />
    <link
      rel="stylesheet"
      href="chrome://browser/content/screenshots/screenshots.css"
    />
    <script
      defer
      src="chrome://browser/content/screenshots/screenshots.js"
    ></script>
  </head>

  <body>
    <template id="screenshots-dialog-template">
      <div class="image-view">
        <div class="preview-buttons">
          <button
            id="retry"
            class="preview-button"
            data-l10n-id="screenshots-retry-button-title"
          >
            <img src="chrome://global/skin/icons/reload.svg" />
          </button>
          <button
            id="cancel"
            class="preview-button"
            data-l10n-id="screenshots-cancel-button-title"
          >
            <img src="chrome://global/skin/icons/close.svg" />
          </button>
          <button
            id="copy"
            class="preview-button"
            data-l10n-id="screenshots-copy-button-title"
          >
            <img src="chrome://global/skin/icons/edit-copy.svg" />
            <span data-l10n-id="screenshots-copy-button" />
          </button>
          <button
            id="download"
            class="preview-button primary"
            data-l10n-id="screenshots-download-button-title"
          >
            <img src="chrome://browser/skin/downloads/downloads.svg" />
            <span data-l10n-id="screenshots-download-button" />
          </button>
        </div>
        <div class="preview-image">
          <div id="preview-image-div"></div>
        </div>
      </div>
    </template>
  </body>
</html>