summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/firefoxview.html
blob: 749a8564a4eb35aafe2020316156687516dec44c (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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!-- 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="icon" type="image/png" id="favicon" href="chrome://branding/content/icon32.png"/>
    <link rel="localization" href="branding/brand.ftl">
    <link rel="localization" href="browser/branding/brandings.ftl"/>
    <link rel="localization" href="browser/branding/sync-brand.ftl">
    <link rel="localization" href="browser/firefoxView.ftl"/>
    <link rel="localization" href="browser/colorways.ftl">
    <link rel="localization" href="browser/colorwaycloset.ftl">
    <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
    <link rel="stylesheet" href="chrome://browser/content/firefoxview.css">
    <script type="module" src="chrome://browser/content/tab-pickup-container.mjs"></script>
    <script type="module" src="chrome://browser/content/firefoxview.mjs"></script>
    <script type="module" src="chrome://browser/content/colorways-card.mjs"></script>
    <script type="module" src="chrome://browser/content/recently-closed-tabs.mjs"></script>
    <script type="module" src="chrome://browser/content/tab-pickup-list.mjs"></script>
    <script src="chrome://browser/content/contentTheme.js"></script>
  </head>

  <body>
    <div id="logo-container" class="content-container">
      <div class="brand-logo">
        <span class="brand-icon"></span>
        <span class="brand-feature-name" data-l10n-id="firefoxview-page-title"></span>
      </div>
    </div>
    <main>
      <details class="content-container" is="tab-pickup-container" id="tab-pickup-container" open>
        <summary class="page-section-header">
          <span class="twisty icon" data-l10n-id="firefoxview-collapse-button-hide" aria-role="presentation"></span>
          <h1 id="collapsible-synced-tabs-header" data-l10n-id="firefoxview-tabpickup-header"></h1>
          <p class="section-description" data-l10n-id="firefoxview-tabpickup-description"></p>
        </summary>

        <div class="confirmation-message-box message-box card card-no-hover" hidden>
          <div class="message-content">
            <h2 data-l10n-id="firefoxview-mobile-confirmation-header" class="message-header"></h2>
            <span class="message-description" data-l10n-id="firefoxview-mobile-confirmation-description"></span>
          </div>
          <button data-action="mobile-confirmation-dismiss" class="close icon-button ghost-button" data-l10n-id="firefoxview-close-button"></button>
        </div>
        <named-deck class="sync-setup-container" role="region" aria-labelledby="collapsible-synced-tabs-header" id="tabpickup-steps">
          <div name="sync-setup-view0" id="tabpickup-steps-view0" class="card card-no-hover error-state" aria-labelledby="tabpickup-steps-view0-header">
            <icon class="icon info primary"></icon><h3 id="tabpickup-steps-view0-header" class="card-header"></h3>
            <section>
              <p>
                <span id="error-state-description"></span>
                <a id="error-state-link" target="_blank" hidden></a>
              </p>
              <button id="error-state-button" class="primary"></button>
            </section>
          </div>
          <div name="sync-setup-view1" id="tabpickup-steps-view1" class="card card-no-hover zap-card setup-step" aria-labelledby="tabpickup-steps-view1-header">
            <h2 id="tabpickup-steps-view1-header" data-l10n-id="firefoxview-tabpickup-step-signin-header" class="card-header"></h2>
            <section class="card-body">
              <p class="step-content" data-l10n-id="firefoxview-tabpickup-step-signin-description"></p>
              <button id="firefoxview-tabpickup-step-signin-primarybutton" class="primary" data-action="view1-primary-action" data-l10n-id="firefoxview-tabpickup-step-signin-primarybutton"></button>
            </section>
            <footer>
              <progress id="tabpickup-steps-view1-progress" class="step-progress" max="100" value="11"></progress>
              <label
                for="tabpickup-steps-view1-progress"
                data-l10n-id="firefoxview-tabpickup-progress-label"
                data-l10n-args='{"percentValue":"11"}'></label>
            </footer>
          </div>
          <div name="sync-setup-view2" id="tabpickup-steps-view2" class="card card-no-hover zap-card setup-step" aria-labelledby="tabpickup-steps-view2-header">
            <h2 id="tabpickup-steps-view2-header" data-l10n-id="firefoxview-tabpickup-adddevice-header" class="card-header"></h2>
            <section class="card-body">
              <p class="step-content">
                <span data-l10n-id="firefoxview-tabpickup-adddevice-description"></span>
                <br/>
                <a target="_blank" data-support-url="tab-pickup-firefox-view" data-l10n-id="firefoxview-tabpickup-adddevice-learn-how"></a>
              </p>
              <button class="primary" data-action="view2-primary-action" data-l10n-id="firefoxview-tabpickup-adddevice-primarybutton"></button>
            </section>
            <footer>
              <progress id="tabpickup-steps-view2-progress" class="step-progress" max="100" value="33"></progress>
              <label
                for="tabpickup-steps-view2-progress"
                data-l10n-id="firefoxview-tabpickup-progress-label"
                data-l10n-args='{"percentValue":"33"}'></label>
            </footer>
          </div>
          <div name="sync-setup-view3" id="tabpickup-steps-view3" class="card card-no-hover zap-card setup-step" aria-labelledby="tabpickup-steps-view3-header">
            <h2 id="tabpickup-steps-view3-header" data-l10n-id="firefoxview-tabpickup-synctabs-header" class="card-header"></h2>
            <section class="card-body">
              <p class="step-content">
                <span  data-l10n-id="firefoxview-tabpickup-synctabs-description"></span>
                <br/>
                <a target="_blank" data-support-url="tab-pickup-firefox-view" data-l10n-id="firefoxview-tabpickup-synctabs-learn-how"></a>
              </p>
              <button class="primary" data-action="view3-primary-action" data-l10n-id="firefoxview-tabpickup-synctabs-primarybutton"></button>
            </section>
            <footer>
              <progress id="tabpickup-steps-view3-progress" class="step-progress" max="100" value="66"></progress>
              <label
                for="tabpickup-steps-view3-progress"
                data-l10n-id="firefoxview-tabpickup-progress-label"
                data-l10n-args='{"percentValue":"66"}'></label>
            </footer>
          </div>
        </named-deck>

        <div id="tabpickup-tabs-container" role="region" aria-labelledby="collapsible-synced-tabs-header" class="synced-tabs-container" hidden>
          <tab-pickup-list>
            <ol hidden="true" class="synced-tabs-list"></ol>
          </tab-pickup-list>
          <div hidden id="synced-tabs-placeholder" class="placeholder-content">
            <img id="tab-pickup-empty-image" src="chrome://browser/content/tab-pickup-empty.svg" role="presentation" alt=""/>
            <div class="placeholder-text">
              <h4 data-l10n-id="firefoxview-synced-tabs-placeholder-header" class="placeholder-header"></h4>
              <p data-l10n-id="firefoxview-synced-tabs-placeholder-body" class="placeholder-body"></p>
            </div>
          </div>
          <div class="loading-content">
            <icon class="icon sync"></icon>
            <p data-l10n-id="firefoxview-tabpickup-syncing"></p>
          </div>
        </div>

        <div class="promo-box message-box zap-card card-no-hover card" hidden>
          <div class="card-body">
            <div class="message-content">
              <h2 data-l10n-id="firefoxview-mobile-promo-header" class="message-header"></h2>
              <p class="message-description" data-l10n-id="firefoxview-mobile-promo-description"></p>
            </div>
            <button class="primary" data-action="mobile-promo-primary-action" data-l10n-id="firefoxview-mobile-promo-primarybutton"></button>
          </div>
          <button data-action="mobile-promo-dismiss" class="close icon-button ghost-button" data-l10n-id="firefoxview-close-button"></button>
        </div>
      </details>

      <aside id="colorways" is="colorways-card" hidden>
        <figure role="presentation">
          <img id="colorways-collection-figure" role="presentation">
        </figure>
        <header>
          <h1 id="colorways-collection-title"></h1>
          <div id="colorways-collection-expiry-date"><span></span></div>
        </header>
        <div id="colorways-collection-description"></div>
        <button class="primary" id="colorways-button" data-l10n-id="firefoxview-try-colorways-button"></button>
      </aside>

      <details class="content-container" is="recently-closed-tabs-container" id="recently-closed-tabs-container" open>
        <summary id="recently-closed-tabs-header-section" class="page-section-header" data-l10n-id="firefoxview-collapse-button-hide">
          <span class="twisty icon" aria-role="presentation"></span>
          <h1 id="recently-closed-tabs-header" data-l10n-id="firefoxview-closed-tabs-title"></h1>
          <p class="section-description" data-l10n-id="firefoxview-closed-tabs-description2"></p>
        </summary>
        <div id="collapsible-tabs-container" id="recently-closed-tabs" role="region" aria-labelledby="recently-closed-tabs-header">
          <recently-closed-tabs-list>
            <ol hidden="true" class="closed-tabs-list"></ol>
          </recently-closed-tabs-list>
          <div hidden="true" id="recently-closed-tabs-placeholder" class="placeholder-content">
            <img id="recently-closed-empty-image" src="chrome://browser/content/recently-closed-empty.svg" role="presentation" alt=""/>
            <div class="placeholder-text">
              <h4 data-l10n-id="firefoxview-closed-tabs-placeholder-header" class="placeholder-header"></h4>
              <p data-l10n-id="firefoxview-closed-tabs-placeholder-body" class="placeholder-body"></p>
            </div>
          </div>
        </div>
      </details>
    </main>
  </body>
</html>