Compare commits

..

2 Commits

Author SHA1 Message Date
Fred Boniface 10ade25ee9 First instance of report-issue form 2022-09-16 20:31:29 +01:00
Fred Boniface bf3d39121c Updated error pages 2022-09-16 20:21:21 +01:00
5 changed files with 90 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<!-- Main Content Begins -->
<img class="titleimg" src="/assets/title/title.webp"></img>
<h1>I don't think so, you're not allowed to see that!</h1>
<h1>You're not allowed to see that!</h1>
<p><a href="https://athena.fb-infra.uk">Go back to the homepage</a></p>

View File

@ -23,6 +23,8 @@
<p><a href="https://athena.fb-infra.uk">Go back to the homepage</a></p>
<h3>404 - Not Found</h3>
<!-- Footer -->
<footer>

36
error-pages/50x.html Normal file
View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>Athena</title>
<meta charset="UTF-8"/>
<meta name="description" content="Athena - Quick links to live train departures for traincrew."/>
<meta name="viewport" content="width=device-width, initial=scale=1.0">
<meta name="application-name" content="Athena">
<meta name="author" content="Frederick Boniface">
<link rel="stylesheet" type="text/css" href="/styles/style.css"/>
<link rel="icon" type="image/png" href="/assets/icons/favicon.ico"/>
</head>
<body>
<!-- Main Content Begins -->
<img class="titleimg" src="/assets/title/title.webp"></img>
<h1>Ah, sorry. There's a problem at our end</h1>
<p><a href="https://athena.fb-infra.uk">Try the homepage</a></p>
<h3>50x - Server Error</h3>
<!-- Footer -->
<footer>
<p>Created by Fred Boniface - v0.4.0-devel</p>
</footer>
</body>
</html>

41
report-issue/index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<title>Athena</title>
<meta charset="UTF-8"/>
<meta name="description" content="Athena - Quick links to live train departures for traincrew."/>
<meta name="viewport" content="width=device-width, initial=scale=1.0">
<meta name="application-name" content="Athena">
<meta name="author" content="Frederick Boniface">
<link rel="stylesheet" type="text/css" href="/styles/style.css"/>
<link rel="icon" type="image/png" href="/assets/icons/favicon.ico"/>
</head>
<body>
<!-- Main Content Begins -->
<img class="titleimg" src="/assets/title/title.webp"></img>
<h1>Please help us fix your issue</h1>
<p>Give as much detail as possible so we can try to fix the problem.</p>
<form action="/report-issue/submit.php" method="post">
Subject: <input type="text" name="subject">
<br>
Details:
<br>
<input type="text" name="detail">
</form>
<!-- Footer -->
<footer>
<p>Created by Fred Boniface - v0.4.0-devel</p>
</footer>
</body>
</html>

10
report-issue/submit.php Normal file
View File

@ -0,0 +1,10 @@
<html>
<body>
Subject: <?php echo $_GET["subject"]; ?>
<br>
Details: <?php echo $_GET["details"]; ?>
<br>
Browser: <?php echo get_browser(user_agent, return_array); ?>
</body>
</html>