summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/newtab/newTab.xhtml
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-19 19:44:40 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-19 19:44:40 +0200
commit856d0c991c097eff35ed098a1e30992c0f57165a (patch)
tree03c513abc945a67450e463e099c96b12c2b81769 /application/palemoon/base/content/newtab/newTab.xhtml
parent2546ae588f7131bf2879af4ed6094a96025f1a27 (diff)
downloadUXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar.gz
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar.lz
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.tar.xz
UXP-856d0c991c097eff35ed098a1e30992c0f57165a.zip
Issue #517 Part 1: Import newtab page from Basilisk (sans directory service provider module)
Diffstat (limited to 'application/palemoon/base/content/newtab/newTab.xhtml')
-rw-r--r--application/palemoon/base/content/newtab/newTab.xhtml89
1 files changed, 89 insertions, 0 deletions
diff --git a/application/palemoon/base/content/newtab/newTab.xhtml b/application/palemoon/base/content/newtab/newTab.xhtml
new file mode 100644
index 000000000..eef51b4b2
--- /dev/null
+++ b/application/palemoon/base/content/newtab/newTab.xhtml
@@ -0,0 +1,89 @@
+<?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 [
+ <!ENTITY % newTabDTD SYSTEM "chrome://browser/locale/newTab.dtd">
+ %newTabDTD;
+ <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
+ %browserDTD;
+ <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
+ %globalDTD;
+]>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>&newtab.pageTitle;</title>
+
+ <link rel="stylesheet" type="text/css" media="all" href="chrome://global/skin/" />
+ <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/content/contentSearchUI.css" />
+ <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/content/newtab/newTab.css" />
+ <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/skin/newtab/newTab.css" />
+</head>
+
+<body dir="&locale.dir;">
+ <div id="newtab-customize-overlay"></div>
+
+ <div class="newtab-customize-panel-container">
+ <div id="newtab-customize-panel" orient="vertical">
+ <div id="newtab-customize-panel-anchor"></div>
+ <div id="newtab-customize-panel-inner-wrapper">
+ <div id="newtab-customize-title" class="newtab-customize-panel-item">
+ <label>&newtab.customize.cog.title2;</label>
+ </div>
+ <div id="newtab-customize-classic" class="newtab-customize-panel-item selectable">
+ <label>&newtab.customize.classic;</label>
+ </div>
+ <div id="newtab-customize-blank" class="newtab-customize-panel-item selectable">
+ <label>&newtab.customize.blank2;</label>
+ </div>
+ <div id="newtab-customize-learn" class="newtab-customize-panel-item">
+ <label>&newtab.customize.cog.learn;</label>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div id="newtab-vertical-margin">
+ <div id="newtab-margin-top"/>
+
+ <div id="newtab-margin-undo-container">
+ <div id="newtab-undo-container" undo-disabled="true">
+ <label id="newtab-undo-label">&newtab.undo.removedLabel;</label>
+ <button id="newtab-undo-button" tabindex="-1"
+ class="newtab-undo-button">&newtab.undo.undoButton;</button>
+ <button id="newtab-undo-restore-button" tabindex="-1"
+ class="newtab-undo-button">&newtab.undo.restoreButton;</button>
+ <button id="newtab-undo-close-button" tabindex="-1" title="&newtab.undo.closeTooltip;"/>
+ </div>
+ </div>
+
+ <div id="newtab-search-container">
+ <div id="newtab-search-form">
+ <div id="newtab-search-icon"/>
+ <input type="text" name="q" value="" id="newtab-search-text"
+ aria-label="&contentSearchInput.label;" maxlength="256"/>
+ <input id="newtab-search-submit" type="button"
+ title="&contentSearchSubmit.tooltip;"/>
+ </div>
+ </div>
+
+ <div id="newtab-horizontal-margin">
+ <div class="newtab-side-margin"/>
+ <div id="newtab-grid">
+ <h1 id="topsites-heading"/>
+ </div>
+ <div class="newtab-side-margin"/>
+ </div>
+
+ <div id="newtab-margin-bottom"/>
+ </div>
+ <input id="newtab-customize-button" type="button" dir="&locale.dir;"
+ value="&#x2699;"
+ title="&newtab.customize.title;"/>
+</body>
+<script type="text/javascript;version=1.8" src="chrome://browser/content/contentSearchUI.js"/>
+<script type="text/javascript;version=1.8" src="chrome://browser/content/newtab/newTab.js"/>
+</html>