Skip to content

Commit aab9c73

Browse files
committed
import text for visitors
1 parent 59e19d9 commit aab9c73

File tree

13 files changed

+6
-35
lines changed

13 files changed

+6
-35
lines changed

502.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ sub_title: "The web server is returning an unexpected networking error for"
77
cta_text: "Try This Page Again"
88
cta_action: reloadPage
99
error_summary: "A 502 error status implies that that the server received an invalid response from an upstream server it accessed to fulfill the request."
10-
action_site_visitor: '<a class="link" href="#" onclick=javascript:checkSite();>Check to see if this website down for everyone or just you.</a>'
10+
action_site_visitor: 'Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please send us an email instead.'
1111
action_site_owner: "Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please contact your website provider."
1212
---

504.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ sub_title: "The web server is returning an unexpected networking error for"
77
cta_text: "Try This Page Again"
88
cta_action: reloadPage
99
error_summary: "A 504 error status implies there is a slow IP communication problem between back-end servers attempting to fulfill this request."
10-
action_site_visitor: "Also, clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please send us an email instead."
10+
action_site_visitor: 'Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please send us an email instead.'
1111
action_site_owner: "Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please contact your website provider."
1212
---

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Easy to use, professional error pages to replace the plaintext error pages that
66
**Quick Details**
77
* Unbranded and generic informational text for the user
88
* Single HTML files, no directory structure required.
9-
* Uses Bootstrap 5 via CDN
10-
* Uses Bootstrap Icons via CDN
9+
* Bootstrap 5 and Bootstrap Icons via CDN
1110

1211
**Error Pages Included**
1312
* [403](http://alexphelps.github.io/server-error-pages/403.html)

_layouts/error_page.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

_site/403.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

_site/404.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

_site/429.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

_site/500.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

_site/502.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3>What happened?</h3>
3131
<div class="my-5 p-5 card">
3232
<h3>What can I do?</h3>
3333
<p class="fs-4">If you're a site visitor</p>
34-
<p><a class="link" href="#" onclick=javascript:checkSite();>Check to see if this website down for everyone or just you.</a></p>
34+
<p>Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please send us an email instead.</p>
3535
<p class="fs-4">If you're the site owner</p>
3636
<p>Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please contact your website provider.</p>
3737
</div>
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

_site/503.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ <h3>What can I do?</h3>
4545
display.innerHTML = document.domain;
4646
}
4747
// CTA button actions
48-
function checkSite() {
49-
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
50-
}
5148
function goToHomePage() {
5249
window.location = '/';
5350
}

0 commit comments

Comments
 (0)