summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/firefoxview.html
blob: 1f53a1d0c91a550955f9b8daaac180a31ba411a2 (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!-- 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="branding/brand.ftl" />
    <link rel="localization" href="toolkit/branding/accounts.ftl" />
    <link rel="localization" href="browser/firefoxView.ftl" />
    <link rel="localization" href="branding/brand.ftl" />
    <link rel="localization" href="toolkit/branding/accounts.ftl" />
    <link rel="localization" href="toolkit/branding/brandings.ftl" />
    <link rel="localization" href="browser/migrationWizard.ftl" />
    <link
      rel="stylesheet"
      href="chrome://browser/content/firefoxview/firefoxview.css"
    />
    <script
      type="module"
      src="chrome://browser/content/firefoxview/recentbrowsing.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/recentlyclosed.mjs"
    ></script>
    <script
      type="module"
      src="chrome://browser/content/firefoxview/fxview-category-navigation.mjs"
    ></script>
    <script
      type="module"
      src="chrome://browser/content/firefoxview/syncedtabs.mjs"
    ></script>
    <script src="chrome://browser/content/contentTheme.js"></script>
  </head>

  <body>
    <fxview-category-navigation>
      <h1 slot="category-nav-header" data-l10n-id="firefoxview-page-title"></h1>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="recentbrowsing"
        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="recentlyclosed"
        data-l10n-id="firefoxview-recently-closed-nav"
      >
      </fxview-category-button>
      <fxview-category-button
        class="category"
        slot="category-button"
        name="syncedtabs"
        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" role="application" data-l10n-id="firefoxview-page-label">
      <div class="main-container">
        <named-deck>
          <view-recentbrowsing name="recentbrowsing" type="page">
            <div>
              <view-opentabs slot="opentabs"></view-opentabs>
            </div>
            <div>
              <view-recentlyclosed slot="recentlyclosed"></view-recentlyclosed>
            </div>
            <div>
              <view-syncedtabs slot="syncedtabs"></view-syncedtabs>
            </div>
          </view-recentbrowsing>
          <view-history name="history" type="page"></view-history>
          <view-opentabs name="opentabs" type="page"></view-opentabs>
          <view-recentlyclosed
            name="recentlyclosed"
            type="page"
          ></view-recentlyclosed>
          <view-syncedtabs name="syncedtabs" type="page"></view-syncedtabs>
        </named-deck>
      </div>
    </main>
    <script src="chrome://browser/content/firefoxview/firefoxview.mjs"></script>
  </body>
</html>