Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://browser/content/newtab/newTab.css" type="text/css"?> |
michael@0 | 9 | <?xml-stylesheet href="chrome://browser/skin/newtab/newTab.css" type="text/css"?> |
michael@0 | 10 | |
michael@0 | 11 | <!DOCTYPE window [ |
michael@0 | 12 | <!ENTITY % newTabDTD SYSTEM "chrome://browser/locale/newTab.dtd"> |
michael@0 | 13 | %newTabDTD; |
michael@0 | 14 | <!ENTITY % searchBarDTD SYSTEM "chrome://browser/locale/searchbar.dtd"> |
michael@0 | 15 | %searchBarDTD; |
michael@0 | 16 | ]> |
michael@0 | 17 | |
michael@0 | 18 | <xul:window id="newtab-window" xmlns="http://www.w3.org/1999/xhtml" |
michael@0 | 19 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 20 | title="&newtab.pageTitle;"> |
michael@0 | 21 | |
michael@0 | 22 | <xul:panel id="sponsored-panel" orient="vertical" type="arrow"> |
michael@0 | 23 | <xul:description id="sponsored-panel-release-descr">&newtab.sponsored.release.message;</xul:description> |
michael@0 | 24 | <xul:description id="sponsored-panel-trial-descr">&newtab.sponsored.trial.message;</xul:description> |
michael@0 | 25 | <xul:label class="text-link" |
michael@0 | 26 | href="https://support.mozilla.org/kb/how-do-sponsored-tiles-work" |
michael@0 | 27 | value="&newtab.panel.link.text;" /> |
michael@0 | 28 | </xul:panel> |
michael@0 | 29 | |
michael@0 | 30 | <xul:panel id="newtab-search-panel" orient="vertical" type="arrow" |
michael@0 | 31 | noautohide="true"> |
michael@0 | 32 | <xul:hbox id="newtab-search-manage" class="newtab-search-panel-engine"> |
michael@0 | 33 | <xul:label>&cmd_engineManager.label;</xul:label> |
michael@0 | 34 | </xul:hbox> |
michael@0 | 35 | </xul:panel> |
michael@0 | 36 | |
michael@0 | 37 | <div id="newtab-scrollbox"> |
michael@0 | 38 | |
michael@0 | 39 | <div id="newtab-vertical-margin"> |
michael@0 | 40 | |
michael@0 | 41 | <div id="newtab-margin-top"/> |
michael@0 | 42 | |
michael@0 | 43 | <div id="newtab-margin-undo-container"> |
michael@0 | 44 | <div id="newtab-undo-container" undo-disabled="true"> |
michael@0 | 45 | <xul:label id="newtab-undo-label" |
michael@0 | 46 | value="&newtab.undo.removedLabel;" /> |
michael@0 | 47 | <xul:button id="newtab-undo-button" tabindex="-1" |
michael@0 | 48 | label="&newtab.undo.undoButton;" |
michael@0 | 49 | class="newtab-undo-button" /> |
michael@0 | 50 | <xul:button id="newtab-undo-restore-button" tabindex="-1" |
michael@0 | 51 | label="&newtab.undo.restoreButton;" |
michael@0 | 52 | class="newtab-undo-button" /> |
michael@0 | 53 | <xul:toolbarbutton id="newtab-undo-close-button" tabindex="-1" |
michael@0 | 54 | class="close-icon tabbable" |
michael@0 | 55 | tooltiptext="&newtab.undo.closeTooltip;" /> |
michael@0 | 56 | </div> |
michael@0 | 57 | </div> |
michael@0 | 58 | |
michael@0 | 59 | <div id="newtab-search-container"> |
michael@0 | 60 | <div class="newtab-side-margin"/> |
michael@0 | 61 | |
michael@0 | 62 | <form id="newtab-search-form" name="searchForm"> |
michael@0 | 63 | <div id="newtab-search-logo"/> |
michael@0 | 64 | <input type="text" name="q" value="" id="newtab-search-text" |
michael@0 | 65 | maxlength="256" dir="auto"/> |
michael@0 | 66 | <input id="newtab-search-submit" type="submit" |
michael@0 | 67 | value="&searchEndCap.label;"/> |
michael@0 | 68 | </form> |
michael@0 | 69 | |
michael@0 | 70 | <div class="newtab-side-margin"/> |
michael@0 | 71 | </div> |
michael@0 | 72 | |
michael@0 | 73 | <div id="newtab-horizontal-margin"> |
michael@0 | 74 | <div class="newtab-side-margin"/> |
michael@0 | 75 | |
michael@0 | 76 | <div id="newtab-grid"> |
michael@0 | 77 | </div> |
michael@0 | 78 | |
michael@0 | 79 | <div class="newtab-side-margin"/> |
michael@0 | 80 | </div> |
michael@0 | 81 | |
michael@0 | 82 | <div id="newtab-margin-bottom"/> |
michael@0 | 83 | |
michael@0 | 84 | </div> |
michael@0 | 85 | <input id="newtab-toggle" type="button"/> |
michael@0 | 86 | </div> |
michael@0 | 87 | |
michael@0 | 88 | <xul:script type="text/javascript;version=1.8" |
michael@0 | 89 | src="chrome://browser/content/newtab/newTab.js"/> |
michael@0 | 90 | </xul:window> |