summaryrefslogtreecommitdiffstats
path: root/browser/components/syncedtabs/sidebar.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /browser/components/syncedtabs/sidebar.xhtml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/syncedtabs/sidebar.xhtml')
-rw-r--r--browser/components/syncedtabs/sidebar.xhtml157
1 files changed, 157 insertions, 0 deletions
diff --git a/browser/components/syncedtabs/sidebar.xhtml b/browser/components/syncedtabs/sidebar.xhtml
new file mode 100644
index 0000000000..8091f61aee
--- /dev/null
+++ b/browser/components/syncedtabs/sidebar.xhtml
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 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
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+>
+ <head>
+ <script src="chrome://browser/content/syncedtabs/sidebar.js" />
+ <script src="chrome://browser/content/utilityOverlay.js" />
+ <script src="chrome://browser/content/contentTheme.js" />
+
+ <link
+ rel="stylesheet"
+ media="all"
+ href="chrome://browser/skin/syncedtabs/sidebar.css"
+ />
+ <link rel="localization" href="browser/syncedTabs.ftl" />
+ <link rel="localization" href="toolkit/branding/accounts.ftl" />
+ <title data-l10n-id="synced-tabs-sidebar-title" />
+ </head>
+
+ <body role="application">
+ <template id="client-template">
+ <div class="item client" role="option" tabindex="-1">
+ <div class="item-title-container">
+ <div class="item-twisty-container"></div>
+ <div class="item-icon-container"></div>
+ <p class="item-title"></p>
+ </div>
+ <div class="item-tabs-list"></div>
+ </div>
+ </template>
+ <template id="empty-client-template">
+ <div class="item empty client" role="option" tabindex="-1">
+ <div class="item-title-container">
+ <div class="item-twisty-container"></div>
+ <div class="item-icon-container"></div>
+ <p class="item-title"></p>
+ </div>
+ <div class="item-tabs-list">
+ <div class="item empty" role="option" tabindex="-1">
+ <div class="item-title-container">
+ <div class="item-icon-container"></div>
+ <p
+ class="item-title"
+ data-l10n-id="synced-tabs-sidebar-notabs"
+ ></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </template>
+ <template id="tab-template">
+ <div class="item tab" role="option" tabindex="-1">
+ <div class="item-title-container">
+ <div class="item-icon-container"></div>
+ <p class="item-title"></p>
+ </div>
+ </div>
+ </template>
+
+ <template id="tabs-container-template">
+ <div class="tabs-container">
+ <div class="list" role="listbox"></div>
+ </div>
+ </template>
+
+ <template id="deck-template">
+ <div class="deck">
+ <div class="tabs-fetching sync-state">
+ <!-- Show intentionally blank panel, see bug 1239845 -->
+ </div>
+ <div class="notAuthedInfo sync-state">
+ <div class="syncIllustration"></div>
+ <p class="instructions" data-l10n-id="synced-tabs-sidebar-intro"></p>
+ <button
+ class="button sync-prefs"
+ data-l10n-id="synced-tabs-fxa-sign-in"
+ ></button>
+ </div>
+ <div class="syncDisabled sync-state">
+ <div class="syncIllustration"></div>
+ <p class="instructions" data-l10n-id="synced-tabs-sidebar-intro"></p>
+ <button
+ class="button sync-prefs"
+ data-l10n-id="synced-tabs-turn-on-sync"
+ ></button>
+ </div>
+ <div class="reauth sync-state">
+ <div class="syncIllustrationIssue"></div>
+ <p class="instructions" data-l10n-id="synced-tabs-sidebar-intro"></p>
+ <button
+ class="button sync-prefs"
+ data-l10n-id="synced-tabs-fxa-sign-in"
+ ></button>
+ </div>
+ <div class="unverified sync-state">
+ <div class="syncIllustrationIssue"></div>
+ <p
+ class="instructions"
+ data-l10n-id="synced-tabs-sidebar-unverified"
+ ></p>
+ <button
+ class="button sync-prefs"
+ data-l10n-id="synced-tabs-sidebar-open-settings"
+ ></button>
+ </div>
+ <div class="singleDeviceInfo sync-state">
+ <div class="syncIllustrationIssue"></div>
+ <p
+ class="instructions"
+ data-l10n-id="synced-tabs-sidebar-noclients-subtitle"
+ ></p>
+ <button
+ class="button connect-device"
+ data-l10n-id="synced-tabs-sidebar-connect-another-device"
+ ></button>
+ </div>
+ <div class="tabs-disabled sync-state">
+ <div class="syncIllustrationIssue"></div>
+ <p
+ class="instructions"
+ data-l10n-id="synced-tabs-sidebar-tabsnotsyncing"
+ ></p>
+ <button
+ class="button sync-prefs"
+ data-l10n-id="synced-tabs-sidebar-open-settings"
+ ></button>
+ </div>
+ </div>
+ </template>
+
+ <div class="content-container">
+ <!-- the non-scrollable header -->
+ <div class="content-header">
+ <div class="sidebar-search-container tabs-container sync-state">
+ <xul:search-textbox
+ class="tabsFilter"
+ tabindex="1"
+ data-l10n-id="synced-tabs-sidebar-search"
+ data-l10n-attrs="placeholder"
+ />
+ </div>
+ </div>
+ <!-- the scrollable content area where our templates are inserted -->
+ <div
+ id="template-container"
+ class="content-scrollable"
+ tabindex="-1"
+ ></div>
+ </div>
+ </body>
+</html>