-
Notifications
You must be signed in to change notification settings - Fork 0
/
Server Not Found.xhtml
137 lines (118 loc) · 6.66 KB
/
Server Not Found.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?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" dir="ltr" lang="en-US">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
<title>Server Not Found</title>
<link rel="stylesheet" href="chrome://browser/skin/aboutNetError.css" type="text/css" media="all" />
<!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
toolkit/components/places/src/nsFaviconService.h should be updated. -->
<link rel="icon" id="favicon" href="chrome://global/skin/icons/warning.svg" />
<link rel="localization" href="browser/aboutCertError.ftl" />
<link rel="localization" href="browser/nsserrors.ftl" />
<link rel="localization" href="branding/brand.ftl" />
</head>
<body dir="ltr" class="illustrated dnsNotFound neterror">
<!-- ERROR ITEM CONTAINER (removed during loading to avoid bug 39098) -->
<!-- PAGE CONTAINER (for styling purposes only) -->
<div id="errorPageContainer" class="container">
<div id="text-container">
<!-- Error Title -->
<div class="title">
<h1 class="title-text" data-l10n-id="dnsNotFound-title">Hmm. We’re having trouble finding that site.</h1>
</div>
<!-- LONG CONTENT (the section most likely to require scrolling) -->
<div id="errorLongContent">
<!-- Short Description -->
<div id="errorShortDesc">
<p id="errorShortDescText">We can’t connect to the server at localhost.</p>
</div>
<div id="errorShortDesc2">
<p id="errorShortDescText2"></p>
</div>
<div id="errorWhatToDoTitle">
<p id="errorWhatToDoTitleText"></p>
</div>
<div id="errorWhatToDo">
<p id="badStsCertExplanation" hidden="true"><span class="hostname"></span>
has a security policy called HTTP Strict Transport Security (HSTS),
which means that Firefox can only connect to it securely. You can’t add
an exception to visit this site.</p>
<p id="errorWhatToDoText"></p>
</div>
<div id="errorWhatToDo2">
<p id="errorWhatToDoText2"></p>
<p id="badStsCertExplanation" hidden="true"><span class="hostname"></span>
has a security policy called HTTP Strict Transport Security (HSTS),
which means that Firefox can only connect to it securely. You can’t add
an exception to visit this site.</p>
</div>
<!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
<div id="errorLongDesc">
<strong xmlns="http://www.w3.org/1999/xhtml">If that address is correct, here are three other things you can try:</strong>
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Try again later.</li>
<li>Check your network connection.</li>
<li>If you are connected but behind a firewall, check that Firefox has permission to access the Web.</li>
</ul>
</div>
<div id="learnMoreContainer">
<p><a id="learnMoreLink" target="new" data-telemetry-id="learn_more_link" href="https://support.mozilla.org/1/firefox/76.0.1/Darwin/en-US/connection-not-secure">Learn more…</a></p>
</div>
</div>
<!-- UI to temporarily re-enable TLS 1.0 and 1.1.
This should be removed after March 2020, see bug 1579285. -->
<div id="enableTls10Container" class="button-container">
<p>This website might not support the TLS 1.2 protocol, which
is the minimum version supported by Firefox. Enabling TLS 1.0 and TLS
1.1 might allow this connection to succeed.</p>
<p>TLS 1.0 and TLS 1.1 will be permanently disabled in a future release.</p>
<button id="enableTls10Button" class="primary">Enable TLS 1.0 and 1.1</button>
</div>
<!-- UI for option to report certificate errors to Mozilla. Removed on
init for other error types .-->
<div id="prefChangeContainer" class="button-container">
<p>It looks like your network security settings might be causing this. Do you want the default settings to be restored?</p>
<button id="prefResetButton" class="primary">Restore default settings</button>
</div>
<div id="certErrorAndCaptivePortalButtonContainer" class="button-container">
<button id="returnButton" class="primary" data-telemetry-id="return_button_top">Go Back (Recommended)</button>
<button id="openPortalLoginPageButton" class="primary">Open Network Login Page</button>
<button class="primary try-again">Try Again</button>
<button id="advancedButton" data-telemetry-id="advanced_button">Advanced…</button>
</div>
</div>
<div id="netErrorButtonContainer" class="button-container"><button class="primary try-again" autofocus="true">Try Again</button>
</div>
<div id="advancedPanelContainer">
<div id="badCertAdvancedPanel" class="advanced-panel">
<p id="badCertTechnicalInfo"></p>
<a id="viewCertificate" href="javascript:void(0)">View Certificate</a>
<div id="advancedPanelButtonContainer" class="button-container">
<button id="advancedPanelReturnButton" class="primary" data-telemetry-id="return_button_adv">Go Back (Recommended)</button>
<button class="primary try-again">Try Again</button>
<div class="exceptionDialogButtonContainer">
<button id="exceptionDialogButton" data-telemetry-id="exception_button">Accept the Risk and Continue</button>
</div>
</div>
</div>
<div id="certificateErrorReporting">
<p class="toggle-container-with-text">
<input type="checkbox" id="automaticallyReportInFuture" role="checkbox" />
<label for="automaticallyReportInFuture" data-telemetry-id="auto_report_cb">Report errors like this to help Mozilla identify and block malicious sites</label>
</p>
</div>
<div id="certificateErrorDebugInformation">
<button id="copyToClipboardTop" data-telemetry-id="clipboard_button_top">Copy text to clipboard</button>
<div id="certificateErrorText"></div>
<button id="copyToClipboardBottom" data-telemetry-id="clipboard_button_bot">Copy text to clipboard</button>
</div>
</div>
</div>
</body>
<script src="chrome://browser/content/aboutNetError.js"></script>
</html>