|
1 <?xml version="1.0"?> |
|
2 |
|
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
4 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
6 |
|
7 <?xml-stylesheet href="chrome://browser/skin/platform.css" type="text/css"?> |
|
8 <?xml-stylesheet href="chrome://browser/content/bindings.css" type="text/css"?> |
|
9 <?xml-stylesheet href="chrome://browser/skin/tiles.css" type="text/css"?> |
|
10 <?xml-stylesheet href="chrome://browser/skin/start.css" type="text/css"?> |
|
11 |
|
12 <!DOCTYPE window [ |
|
13 <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> |
|
14 %globalDTD; |
|
15 <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd"> |
|
16 %browserDTD; |
|
17 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
|
18 %brandDTD; |
|
19 #ifdef MOZ_SERVICES_SYNC |
|
20 <!ENTITY % syncBrandDTD SYSTEM "chrome://browser/locale/syncBrand.dtd"> |
|
21 %syncBrandDTD; |
|
22 <!ENTITY % syncDTD SYSTEM "chrome://browser/locale/sync.dtd"> |
|
23 %syncDTD; |
|
24 #endif |
|
25 ]> |
|
26 |
|
27 <!-- we're using html here so we get anonymous scrollbars on the browser element --> |
|
28 <html:html id="startui-page" |
|
29 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
30 xmlns:html="http://www.w3.org/1999/xhtml" |
|
31 dir="&locale.dir;"> |
|
32 |
|
33 <html:body id="startui-body" class="meta" |
|
34 onload="StartUI.init();" onunload="StartUI.uninit();"> |
|
35 |
|
36 <script type="application/javascript" src="chrome://browser/content/startui-scripts.js"/> |
|
37 |
|
38 <!-- mimic broadcasts in browser.xul. note browser.xul broadcasters do not propagate down here! --> |
|
39 <broadcasterset id="broadcasterset"> |
|
40 <broadcaster id="bcast_preciseInput" input="precise"/> |
|
41 <broadcaster id="bcast_windowState" viewstate=""/> |
|
42 </broadcasterset> |
|
43 |
|
44 <hbox id="start-container" class="meta-section-container" |
|
45 observes="bcast_windowState"> |
|
46 <!-- the start-container element has a max-height set in StartUI.js --> |
|
47 <vbox id="start-topsites" class="meta-section" expanded="true"> |
|
48 <label class="meta-section-title wide-title" value="&topSitesHeader.label;"/> |
|
49 <html:div class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-topsites')"> |
|
50 &narrowTopSitesHeader.label; |
|
51 </html:div> |
|
52 <richgrid id="start-topsites-grid" observes="bcast_windowState" set-name="topSites" rows="3" columns="3" tiletype="thumbnail" seltype="multiple" minSlots="8" fade="true" flex="1"> |
|
53 <richgriditem/> |
|
54 <richgriditem/> |
|
55 <richgriditem/> |
|
56 <richgriditem/> |
|
57 <richgriditem/> |
|
58 <richgriditem/> |
|
59 <richgriditem/> |
|
60 <richgriditem/> |
|
61 <richgriditem/> |
|
62 </richgrid> |
|
63 </vbox> |
|
64 |
|
65 <vbox id="start-bookmarks" class="meta-section"> |
|
66 <label class="meta-section-title wide-title" value="&bookmarksHeader.label;"/> |
|
67 <html:div class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-bookmarks')"> |
|
68 &narrowBookmarksHeader.label; |
|
69 </html:div> |
|
70 <richgrid id="start-bookmarks-grid" observes="bcast_windowState" set-name="bookmarks" seltype="multiple" fade="true" flex="1" minSlots="3"> |
|
71 <richgriditem/> |
|
72 <richgriditem/> |
|
73 </richgrid> |
|
74 </vbox> |
|
75 |
|
76 <vbox id="start-history" class="meta-section"> |
|
77 <label class="meta-section-title wide-title" value="&recentHistoryHeader.label;"/> |
|
78 <html:div class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-history')"> |
|
79 &narrowRecentHistoryHeader.label; |
|
80 </html:div> |
|
81 <richgrid id="start-history-grid" observes="bcast_windowState" set-name="recentHistory" seltype="multiple" fade="true" flex="1"> |
|
82 <richgriditem/> |
|
83 <richgriditem/> |
|
84 <richgriditem/> |
|
85 </richgrid> |
|
86 </vbox> |
|
87 |
|
88 #ifdef MOZ_SERVICES_SYNC |
|
89 <vbox id="start-remotetabs" class="meta-section"> |
|
90 <label class="meta-section-title wide-title" value="&remoteTabsHeader.label;"/> |
|
91 <html:div id="snappedRemoteTabsLabel" class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-remotetabs')"> |
|
92 &narrowRemoteTabsHeader.label; |
|
93 </html:div> |
|
94 <richgrid id="start-remotetabs-grid" observes="bcast_windowState" set-name="remoteTabs" seltype="multiple" fade="true" flex="1"> |
|
95 <richgriditem/> |
|
96 <richgriditem/> |
|
97 <richgriditem/> |
|
98 </richgrid> |
|
99 |
|
100 </vbox> |
|
101 #endif |
|
102 </hbox> |
|
103 </html:body> |
|
104 <observes element="bcast_windowState" attribute="*"/> |
|
105 </html:html> |