bookmarksSidebar.xhtml (2872B)
1 <?xml version="1.0"?> <!-- -*- Mode: xml; indent-tabs-mode: nil; -*- --> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <?csp default-src chrome:; img-src chrome: data:; ?> 7 8 <!DOCTYPE window> 9 10 <window id="bookmarksPanel" 11 class="sidebar-panel" 12 xmlns:html="http://www.w3.org/1999/xhtml" 13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 14 data-l10n-id="bookmarks-sidebar-content"> 15 16 <script src="chrome://browser/content/places/bookmarksSidebar.js"/> 17 <script src="chrome://global/content/globalOverlay.js"/> 18 <script src="chrome://browser/content/utilityOverlay.js"/> 19 <script src="chrome://browser/content/contentTheme.js"/> 20 <script src="chrome://browser/content/places/places-tree.js"/> 21 <script src="chrome://global/content/editMenuOverlay.js"/> 22 23 <linkset> 24 <html:link 25 rel="stylesheet" 26 href="chrome://browser/content/places/places.css" 27 /> 28 <html:link 29 rel="stylesheet" 30 href="chrome://browser/content/usercontext/usercontext.css" 31 /> 32 <html:link rel="stylesheet" href="chrome://global/skin/global.css" /> 33 <html:link 34 rel="stylesheet" 35 href="chrome://browser/skin/places/tree-icons.css" 36 /> 37 <html:link 38 rel="stylesheet" 39 href="chrome://browser/skin/places/sidebar.css" 40 /> 41 42 <html:link rel="localization" href="toolkit/global/textActions.ftl"/> 43 <html:link rel="localization" href="browser/browser.ftl"/> 44 <html:link rel="localization" href="browser/places.ftl"/> 45 <html:link rel="localization" href="browser/sidebarMenu.ftl"/> 46 </linkset> 47 48 #include placesCommands.inc.xhtml 49 #include placesContextMenu.inc.xhtml 50 #include bookmarksHistoryTooltip.inc.xhtml 51 <box id="sidebar-panel-header" align="center"> 52 <html:h4 data-l10n-id="sidebar-menu-bookmarks-2"></html:h4> 53 <html:moz-button 54 id="sidebar-panel-close" 55 type="icon ghost" 56 iconsrc="chrome://global/skin/icons/close.svg" 57 data-l10n-id="sidebar-close-button"> 58 </html:moz-button> 59 </box> 60 <hbox id="sidebar-search-container" align="center"> 61 <html:moz-input-search id="search-box" 62 data-l10n-id="places-bookmarks-search" 63 data-l10n-attrs="placeholder" 64 aria-controls="bookmarks-view"/> 65 </hbox> 66 67 <tree id="bookmarks-view" 68 class="sidebar-placesTree" 69 is="places-tree" 70 flex="1" 71 hidecolumnpicker="true" 72 context="placesContext" 73 singleclickopens="true"> 74 <treecols> 75 <treecol id="title" flex="1" primary="true" hideheader="true"/> 76 </treecols> 77 <treechildren view="bookmarks-view" 78 class="sidebar-placesTreechildren" flex="1" tooltip="bhTooltip"/> 79 </tree> 80 </window>