summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/firefoxview.html
blob: 5bffb5a1d858a6af0845c83882b78c54e85d59f3 (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
119
120
121
<!-- 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="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/syncedtabs.mjs"
    ></script>
    <script
      type="module"
      src="chrome://global/content/elements/moz-page-nav.mjs"
    ></script>
    <script src="chrome://browser/content/contentTheme.js"></script>
  </head>

  <body>
    <moz-page-nav
      data-l10n-id="firefoxview-page-heading"
      data-l10n-attrs="heading"
    >
      <moz-page-nav-button
        view="recentbrowsing"
        data-l10n-id="firefoxview-overview-nav"
        iconSrc="chrome://browser/content/firefoxview/view-recentbrowsing.svg"
      >
      </moz-page-nav-button>
      <moz-page-nav-button
        view="opentabs"
        data-l10n-id="firefoxview-opentabs-nav"
        iconSrc="chrome://browser/content/firefoxview/view-opentabs.svg"
      >
      </moz-page-nav-button>
      <moz-page-nav-button
        view="recentlyclosed"
        data-l10n-id="firefoxview-recently-closed-nav"
        iconSrc="chrome://browser/content/firefoxview/view-recentlyclosed.svg"
      >
      </moz-page-nav-button>
      <moz-page-nav-button
        class="sync-ui-item"
        view="syncedtabs"
        data-l10n-id="firefoxview-synced-tabs-nav"
        iconSrc="chrome://browser/content/firefoxview/view-syncedtabs.svg"
      >
      </moz-page-nav-button>
      <moz-page-nav-button
        view="history"
        data-l10n-id="firefoxview-history-nav"
        iconSrc="chrome://browser/content/firefoxview/view-history.svg"
      >
      </moz-page-nav-button>
    </moz-page-nav>
    <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
                class="sync-ui-item"
                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
            class="sync-ui-item"
            name="syncedtabs"
            type="page"
          ></view-syncedtabs>
        </named-deck>
      </div>
    </main>
    <script src="chrome://browser/content/firefoxview/firefoxview.mjs"></script>
  </body>
</html>