diff options
Diffstat (limited to 'toolkit/content/aboutNetError.xhtml')
-rw-r--r-- | toolkit/content/aboutNetError.xhtml | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/toolkit/content/aboutNetError.xhtml b/toolkit/content/aboutNetError.xhtml new file mode 100644 index 0000000000..4b5172efea --- /dev/null +++ b/toolkit/content/aboutNetError.xhtml @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!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 xmlns="http://www.w3.org/1999/xhtml" data-l10n-sync="true"> + <head> + <meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" /> + <meta name="color-scheme" content="light dark" /> + <title data-l10n-id="neterror-page-title"></title> + <link rel="stylesheet" href="chrome://global/skin/aboutNetError.css" type="text/css" media="all" /> + <link rel="icon" id="favicon"/> + <link rel="localization" href="branding/brand.ftl"/> + <link rel="localization" href="toolkit/neterror/certError.ftl" /> + <link rel="localization" href="toolkit/neterror/netError.ftl"/> + </head> + + <body> + <!-- PAGE CONTAINER (for styling purposes only) --> + <div class="container"> + <div id="text-container"> + <!-- Error Title --> + <div class="title"> + <h1 class="title-text"></h1> + </div> + + <!-- Short Description --> + <p id="errorShortDesc"></p> + <p id="errorShortDesc2"></p> + + <div id="errorWhatToDo" hidden=""> + <p id="errorWhatToDoTitle" data-l10n-id="certerror-what-can-you-do-about-it-title"></p> + <p id="badStsCertExplanation" hidden=""></p> + <p id="errorWhatToDoText"></p> + </div> + + <!-- Long Description --> + <div id="errorLongDesc"></div> + + <p id="trrOnlyContainer" hidden=""> + <p id="trrOnlyMessage"></p> + <div class="trr-message-container"> + <span id="trrOnlyDescription"></span> + <p id="trrLearnMoreContainer" hidden=""> + <a id="trrOnlylearnMoreLink" target="_blank" rel="noopener noreferrer" data-l10n-id="neterror-learn-more-link"></a> + </p> + </div> + <p data-l10n-id="neterror-dns-not-found-trr-only-attackers"> </p> + </p> + + <p id="tlsVersionNotice" hidden=""></p> + + <p id="learnMoreContainer" hidden=""> + <a id="learnMoreLink" target="_blank" rel="noopener noreferrer" data-telemetry-id="learn_more_link" data-l10n-id="neterror-learn-more-link"></a> + </p> + + <div id="openInNewWindowContainer" class="button-container" hidden=""> + <p><a id="openInNewWindowButton" target="_blank" rel="noopener noreferrer"> + <button class="primary" data-l10n-id="open-in-new-window-for-csp-or-xfo-error"></button></a></p> + </div> + + <!-- UI for option to report certificate errors to Mozilla. Removed on + init for other error types .--> + <div id="prefChangeContainer" class="button-container" hidden=""> + <p data-l10n-id="neterror-pref-reset"></p> + <button id="prefResetButton" class="primary" data-l10n-id="neterror-pref-reset-button"></button> + </div> + + <div id="certErrorAndCaptivePortalButtonContainer" class="button-container" hidden=""> + <button id="returnButton" class="primary" data-telemetry-id="return_button_top" data-l10n-id="neterror-return-to-previous-page-recommended-button"></button> + <button id="openPortalLoginPageButton" class="primary" data-l10n-id="neterror-open-portal-login-page-button" hidden=""></button> + <button id="certErrorTryAgainButton" class="primary try-again" data-l10n-id="neterror-try-again-button" hidden=""></button> + <button id="advancedButton" data-telemetry-id="advanced_button" data-l10n-id="neterror-advanced-button"></button> + </div> + </div> + + <div id="netErrorButtonContainer" class="button-container" hidden=""> + <button class="primary try-again" data-l10n-id="neterror-try-again-button"></button> + <button id="trrExceptionButton" data-l10n-id="neterror-add-exception-button" hidden=""></button> + <button id="trrSettingsButton" data-l10n-id="neterror-settings-button" hidden=""></button> + </div> + + <div class="advanced-panel-container"> + <div id="badCertAdvancedPanel" class="advanced-panel" hidden=""> + <p id="badCertTechnicalInfo"></p> + <a id="viewCertificate" href="javascript:void(0)" data-l10n-id="neterror-view-certificate-link"></a> + <div id="advancedPanelButtonContainer" class="button-container"> + <button id="advancedPanelReturnButton" class="primary" data-telemetry-id="return_button_adv" data-l10n-id="neterror-return-to-previous-page-recommended-button"></button> + <button id="advancedPanelTryAgainButton" class="primary try-again" data-l10n-id="neterror-try-again-button" hidden=""></button> + <button id="exceptionDialogButton" data-telemetry-id="exception_button" data-l10n-id="neterror-override-exception-button"></button> + </div> + </div> + + <div id="blockingErrorReporting" class="advanced-panel" hidden=""> + <p class="toggle-container-with-text"> + <input type="checkbox" id="automaticallyReportBlockingInFuture" role="checkbox"/> + <label for="automaticallyReportBlockingInFuture" data-l10n-id="neterror-error-reporting-automatic"></label> + </p> + </div> + + <div id="certificateErrorDebugInformation" class="advanced-panel" hidden=""> + <button id="copyToClipboardTop" data-telemetry-id="clipboard_button_top" data-l10n-id="neterror-copy-to-clipboard-button"></button> + <div id="certificateErrorText"></div> + <button id="copyToClipboardBottom" data-telemetry-id="clipboard_button_bot" data-l10n-id="neterror-copy-to-clipboard-button"></button> + </div> + </div> + </div> + </body> + <script src="chrome://global/content/neterror/aboutNetErrorCodes.js"></script> + <script type="module" src="chrome://global/content/aboutNetError.mjs"></script> +</html> |