summaryrefslogtreecommitdiffstats
path: root/browser/base/content/spotlight.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/spotlight.html')
-rw-r--r--browser/base/content/spotlight.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/browser/base/content/spotlight.html b/browser/base/content/spotlight.html
new file mode 100644
index 0000000000..a6b6e6e79e
--- /dev/null
+++ b/browser/base/content/spotlight.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+
+<!-- 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/. -->
+
+<html>
+<head>
+ <meta http-equiv="Content-Security-Policy" content="default-src resource: chrome:; img-src https://www.mozilla.org https://firefox-settings-attachments.cdn.mozilla.net blob: chrome:; object-src 'none'">
+ <meta name="referrer" content="no-referrer">
+ <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
+ <link rel="localization" href="branding/brand.ftl">
+ <link rel="localization" href="browser/branding/brandings.ftl">
+ <link rel="localization" href="browser/newtab/asrouter.ftl">
+ <link rel="localization" href="browser/newtab/onboarding.ftl"/>
+ <link rel="localization" href="browser/spotlight.ftl"/>
+ <script defer src="resource://activity-stream/data/custom-elements/paragraph.js"></script>
+</head>
+<body role="dialog" aria-labelledby="title" aria-describedby="content">
+ <template id="logo-and-content">
+ <div id="dialog-content">
+ <img class="logo" alt="" src=""/>
+ <h1 id="title" class="title"></h1>
+ <p id="content" class="text"></p>
+ <button id="primary" class="primary"></button>
+ <button id="secondary" class="secondary text-link"></button>
+ </div>
+ </template>
+ <template id="extra-content-expanded">
+ <button id="learn-more-toggle" class="text-link"></button>
+ <p class="expanded" role="alert"></p>
+ </template>
+ <script src="resource://activity-stream/vendor/react.js"></script>
+ <script src="resource://activity-stream/vendor/react-dom.js"></script>
+ <script src="chrome://browser/content/spotlight.js"></script>
+</body>
+</html>