Skip to content

Commit

Permalink
import text for visitors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexphelps committed Aug 14, 2021
1 parent 59e19d9 commit aab9c73
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 35 deletions.
2 changes: 1 addition & 1 deletion 502.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ sub_title: "The web server is returning an unexpected networking error for"
cta_text: "Try This Page Again"
cta_action: reloadPage
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."
action_site_visitor: '<a class="link" href="#" onclick=javascript:checkSite();>Check to see if this website down for everyone or just you.</a>'
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.'
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."
---
2 changes: 1 addition & 1 deletion 504.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ sub_title: "The web server is returning an unexpected networking error for"
cta_text: "Try This Page Again"
cta_action: reloadPage
error_summary: "A 504 error status implies there is a slow IP communication problem between back-end servers attempting to fulfill this request."
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."
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.'
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."
---
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Easy to use, professional error pages to replace the plaintext error pages that
**Quick Details**
* Unbranded and generic informational text for the user
* Single HTML files, no directory structure required.
* Uses Bootstrap 5 via CDN
* Uses Bootstrap Icons via CDN
* Bootstrap 5 and Bootstrap Icons via CDN

**Error Pages Included**
* [403](http://alexphelps.github.io/server-error-pages/403.html)
Expand Down
3 changes: 0 additions & 3 deletions _layouts/error_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
3 changes: 0 additions & 3 deletions _site/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
3 changes: 0 additions & 3 deletions _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
3 changes: 0 additions & 3 deletions _site/429.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
3 changes: 0 additions & 3 deletions _site/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
5 changes: 1 addition & 4 deletions _site/502.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3>What happened?</h3>
<div class="my-5 p-5 card">
<h3>What can I do?</h3>
<p class="fs-4">If you're a site visitor</p>
<p><a class="link" href="#" onclick=javascript:checkSite();>Check to see if this website down for everyone or just you.</a></p>
<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>
<p class="fs-4">If you're the site owner</p>
<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>
</div>
Expand All @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
3 changes: 0 additions & 3 deletions _site/503.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
5 changes: 1 addition & 4 deletions _site/504.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3>What happened?</h3>
<div class="my-5 p-5 card">
<h3>What can I do?</h3>
<p class="fs-4">If you're a site visitor</p>
<p>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.</p>
<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>
<p class="fs-4">If you're the site owner</p>
<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>
</div>
Expand All @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down
3 changes: 1 addition & 2 deletions _site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Easy to use, professional error pages to replace the plaintext error pages that
**Quick Details**
* Unbranded and generic informational text for the user
* Single HTML files, no directory structure required.
* Uses Bootstrap 5 via CDN
* Uses Bootstrap Icons via CDN
* Bootstrap 5 and Bootstrap Icons via CDN

**Error Pages Included**
* [403](http://alexphelps.github.io/server-error-pages/403.html)
Expand Down
3 changes: 0 additions & 3 deletions _site/maintenance.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ <h3>What can I do?</h3>
display.innerHTML = document.domain;
}
// CTA button actions
function checkSite() {
window.location = "https://downforeveryoneorjustme.com/" + window.location.hostname;
}
function goToHomePage() {
window.location = '/';
}
Expand Down

0 comments on commit aab9c73

Please sign in to comment.