summaryrefslogtreecommitdiffstats
path: root/browser/components/syncedtabs/sidebar.xhtml
blob: 3efcbea0e4018581615e0235c1f59cdb86461ec5 (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
<?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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
  <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
  %browserDTD;
  <!ENTITY % globalDTD
    SYSTEM "chrome://global/locale/global.dtd">
  %globalDTD;
  <!ENTITY % syncBrandDTD
    SYSTEM "chrome://browser/locale/syncBrand.dtd">
  %syncBrandDTD;
]>
<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" type="application/javascript;version=1.8"></script>
    <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>

    <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/skin/syncedtabs/sidebar.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="chrome://global/skin/"/>
    <link rel="stylesheet" type="text/css" media="all" href="chrome://global/skin/textbox.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/content/browser.css"/>
    <title>&syncedTabs.sidebar.label;</title>
  </head>

  <body dir="&locale.dir;" 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">&syncedTabs.sidebar.notabs.label;</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">
          <p>&syncedTabs.sidebar.notsignedin.label;</p>
          <p><a href="#" class="sync-prefs text-link">&fxaSignIn.label;</a></p>
        </div>
        <div class="singleDeviceInfo sync-state">
          <p>&syncedTabs.sidebar.noclients.title;</p>
          <p>&syncedTabs.sidebar.noclients.subtitle;</p>
          <p class="device-promo" fxAccountsBrand="&syncBrand.fxAccount.label;"></p>
        </div>
        <div class="tabs-disabled sync-state">
          <p>&syncedTabs.sidebar.tabsnotsyncing.label;</p>
          <p><a href="#" class="sync-prefs text-link">&syncedTabs.sidebar.openprefs.label;</a></p>
        </div>
      </div>
    </template>

    <div class="content-container">
      <!-- the non-scrollable header -->
      <div class="content-header">
        <div class="sidebar-search-container tabs-container sync-state">
          <div class="search-box compact">
            <div class="textbox-input-box">
              <input type="text" class="tabsFilter textbox-input" tabindex="1"/>
              <div class="textbox-search-icons">
                <a class="textbox-search-clear"></a>
                <a class="textbox-search-icon"></a>
              </div>
            </div>
          </div>
        </div>
      </div>
      <!-- the scrollable content area where our templates are inserted -->
      <div id="template-container" class="content-scrollable" tabindex="-1">
      </div>
    </div>
  </body>
</html>