summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/firefoxview-next.html
blob: 72f1e0a357b11510a13563846926549f0ec21156 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!-- 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 resource: chrome:; object-src 'none'; img-src data: chrome:;"
    />
    <meta name="color-scheme" content="light dark" />
    <title data-l10n-id="firefoxview-page-title"></title>
    <link rel="localization" href="browser/firefoxView.ftl" />
    <link rel="localization" href="toolkit/branding/brandings.ftl" />
    <link
      rel="stylesheet"
      href="chrome://browser/content/firefoxview/firefoxview-next.css"
    />
    <script
      type="module"
      src="chrome://browser/content/firefoxview/overview.mjs"
    ></script>
    <script
      type="module"
      src="chrome://browser/content/firefoxview/history.mjs"
    ></script>
    <script
      type="module"
      src="chrome://browser/content/firefoxview/opentabs.mjs"
    ></script>
    <script
      type="module"
      src="chrome://browser/content/firefoxview/fxview-category-navigation.mjs"
    ></script>
    <script src="chrome://browser/content/contentTheme.js"></script>
  </head>

  <body>
    <fxview-category-navigation>
      <h2 slot="category-nav-header" data-l10n-id="firefoxview-page-title"></h2>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="overview"
        data-l10n-id="firefoxview-overview-nav"
      >
      </fxview-category-button>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="opentabs"
        data-l10n-id="firefoxview-opentabs-nav"
      >
      </fxview-category-button>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="recently-closed"
        data-l10n-id="firefoxview-recently-closed-nav"
      >
      </fxview-category-button>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="synced-tabs"
        data-l10n-id="firefoxview-synced-tabs-nav"
      >
      </fxview-category-button>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="history"
        data-l10n-id="firefoxview-history-nav"
      >
      </fxview-category-button>
    </fxview-category-navigation>
    <main id="pages">
      <named-deck>
        <view-overview name="overview">
          <div>
            <view-history slot="history"></view-history>
          </div>
          <h2 data-l10n-id="firefoxview-opentabs-header"></h2>
          <div>
            <view-opentabs slot="opentabs"></view-opentabs>
          </div>
        </view-overview>
        <view-history name="history"></view-history>
        <view-opentabs name="opentabs"></view-opentabs>
      </named-deck>
    </main>
    <script src="chrome://browser/content/firefoxview/firefoxview-next.mjs"></script>
  </body>
</html>