-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1663 from ChisSoc/future3/html-404
Give helpful 404 pages with hints how to resolve the underlying issues
- Loading branch information
Showing
4 changed files
with
113 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | ||
<title>Phoniebox: File not found -- 404</title> | ||
<style> | ||
<!-- | ||
body {font-family: arial,sans-serif} | ||
img { border:none; } | ||
//--> | ||
</style> | ||
</head> | ||
<body> | ||
<blockquote> | ||
<h2>Ups! Requested file not found.</h2> | ||
<p>Why not try again from the top-level of | ||
<ul> | ||
<li><a href="/index.html">Web User Interface</a></li> | ||
<li><a href="/docs/index.html">Documentation</a></li> | ||
</ul> | ||
</blockquote> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | ||
<title>Phoniebox Web UI not found: please re-build Web UI</title> | ||
<style> | ||
<!-- | ||
body {font-family: arial,sans-serif} | ||
img { border:none; } | ||
//--> | ||
</style> | ||
</head> | ||
<body> | ||
<blockquote> | ||
<h2>Ups! Looks like your Web UI has not been build!</h2> | ||
<p>No reason to panic. Please run through the following steps: | ||
<ul> | ||
<li>cd /home/pi/RPi-Jukebox-RFID/src/webapp</li> | ||
<li>./run_rebuild.sh</li> | ||
<li>Reload this page</li> | ||
</ul> | ||
<p>In case of trouble when building the Web UI, consult the <a href="/docs/index.html">documentation</a>! | ||
</blockquote> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | ||
<title>Phoniebox documentation not found: please build documentation</title> | ||
<style> | ||
<!-- | ||
body {font-family: arial,sans-serif} | ||
img { border:none; } | ||
//--> | ||
</style> | ||
</head> | ||
<body> | ||
<blockquote> | ||
<h2>Ups! Looks like your documentation has not been build!</h2> | ||
<p>No reason to panic. Please run through the following steps: | ||
<ul> | ||
<li>cd /home/pi/RPi-Jukebox-RFID</li> | ||
<li>./run_sphinx.sh -c</li> | ||
<li>Reload this page</li> | ||
</ul> | ||
<p>Or check out the <a href="https://rpi-jukebox-rfid.readthedocs.io/">online documentation</a> at Read The Docs. | ||
</blockquote> | ||
</body> | ||
</html> |