First instance of report-issue form

This commit is contained in:
Fred Boniface 2022-09-16 20:31:29 +01:00
parent bf3d39121c
commit 10ade25ee9
2 changed files with 51 additions and 0 deletions

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>