newTab.xhtml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <!DOCTYPE html [
  6. <!ENTITY % newTabDTD SYSTEM "chrome://browser/locale/newTab.dtd">
  7. %newTabDTD;
  8. <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
  9. %browserDTD;
  10. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  11. %globalDTD;
  12. ]>
  13. <html xmlns="http://www.w3.org/1999/xhtml">
  14. <head>
  15. <title>&newtab.pageTitle;</title>
  16. <link rel="stylesheet" type="text/css" media="all" href="chrome://global/skin/" />
  17. <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/content/newtab/newTab.css" />
  18. <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/skin/newtab/newTab.css" />
  19. </head>
  20. <body dir="&locale.dir;">
  21. <div id="newtab-vertical-margin">
  22. <div id="newtab-margin-top"/>
  23. <div id="newtab-margin-undo-container">
  24. <div id="newtab-undo-container" undo-disabled="true">
  25. <label id="newtab-undo-label">&newtab.undo.removedLabel;</label>
  26. <button id="newtab-undo-button" tabindex="-1"
  27. class="newtab-undo-button">&newtab.undo.undoButton;</button>
  28. <button id="newtab-undo-restore-button" tabindex="-1"
  29. class="newtab-undo-button">&newtab.undo.restoreButton;</button>
  30. <button id="newtab-undo-close-button" tabindex="-1" title="&newtab.undo.closeTooltip;"/>
  31. </div>
  32. </div>
  33. <div id="searchContainer">
  34. <form name="searchForm" id="searchForm" onsubmit="onSearchSubmit(event)">
  35. <div id="searchLogoContainer"><img id="searchEngineLogo"/></div>
  36. <input type="text" name="q" value="" id="searchText" maxlength="256"/>
  37. <input id="searchSubmit" type="submit" value="&newtab.searchEngineButton.label;"/>
  38. </form>
  39. </div>
  40. <div id="newtab-horizontal-margin">
  41. <div class="newtab-side-margin"/>
  42. <div id="newtab-grid">
  43. <!-- site grid -->
  44. </div>
  45. <div class="newtab-side-margin"/>
  46. </div>
  47. <div id="newtab-margin-bottom"/>
  48. <input id="newtab-toggle" type="button"/>
  49. </div>
  50. </body>
  51. <script type="text/javascript;version=1.8" src="chrome://browser/content/newtab/newTab.js"/>
  52. </html>