fune/browser/base/content/upgradeDialog.html
Ed Lee a70a1dd61a Bug 1699842 - Keep Firefox in Dock for macOS where windows would Pin without showing images r=pdahiya,flod
Update ShellService to also check mac pinned but only from the main process, so have AboutWelcomeChild request pinned for use in getDefaults and prepareContent. Remove windows images and consolidate back to single shared css without spacers and instead use margin: auto with logo that is no longer fixed. Split out pin strings to own screen/section and use PLATFORM. Add macOS default prompt message without touching existing windows one.

Differential Revision: https://phabricator.services.mozilla.com/D115967
2021-05-28 11:04:22 +00:00

46 lines
2.2 KiB
HTML

<!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 chrome:; img-src https://addons.cdn.mozilla.net; 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="stylesheet" type="text/css" href="chrome://browser/skin/upgradeDialog.css">
<link rel="localization" href="branding/brand.ftl">
<link rel="localization" href="browser/upgradeDialog.ftl">
<script src="chrome://browser/content/upgradeDialog.js"></script>
</head>
<body role="dialog" aria-labelledby="title" aria-describedby="subtitle">
<img class="logo" role="presentation" src="chrome://branding/content/about-logo.svg"/>
<h1 id="title" aria-live="polite"></h1>
<h2 id="subtitle"></h2>
<ul id="items" class="items">
<li>
<h2 data-l10n-id="upgrade-dialog-new-item-menu-title"></h2>
<p data-l10n-id="upgrade-dialog-new-item-menu-description"></p>
</li>
<li>
<h2 data-l10n-id="upgrade-dialog-new-item-tabs-title"></h2>
<p data-l10n-id="upgrade-dialog-new-item-tabs-description"></p>
</li>
<li>
<h2 data-l10n-id="upgrade-dialog-new-item-icons-title"></h2>
<p data-l10n-id="upgrade-dialog-new-item-icons-description"></p>
</li>
</ul>
<div class="themes hidden">
<input type="radio" name="theme" data-l10n-id="upgrade-dialog-theme-system"></input>
<input type="radio" name="theme" data-l10n-id="upgrade-dialog-theme-light"></input>
<input type="radio" name="theme" data-l10n-id="upgrade-dialog-theme-dark"></input>
<input type="radio" name="theme" data-l10n-id="upgrade-dialog-theme-alpenglow"></input>
<input type="radio" name="theme" data-l10n-id="upgrade-dialog-theme-keep"></input>
</div>
<button id="primary" class="primary" aria-describedby="items"></button>
<button id="secondary" class="text-link"></button>
<h3 class="steps" aria-hidden="true"><span></span></h3>
</body>
</html>