Compare commits

..

7 Commits

4 changed files with 16 additions and 28 deletions

View File

@ -1,18 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<?php include './page-blocks/headers.php';?>
<title>Athena</title> <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"/>
<link rel="manifest" type="application/json" href="/manifest.json"/>
<script src="/js/tiploc-finder.js"></script> <script src="/js/tiploc-finder.js"></script>
<script src="/js/nav.js"></script> <script src="/js/nav.js"></script>
@ -77,9 +68,7 @@
</div> </div>
<!-- Footer --> <!-- Footer -->
<footer> <?php include "./page-blocks/footer.php" ?>
<p>Created by Fred Boniface - v0.4.0-devel</p>
</footer>
</body> </body>

View File

@ -1,17 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Athena</title> <?php include './page-blocks/headers.php';?>
<title>Athena - Report Issue</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> </head>
<body> <body>
@ -108,10 +99,7 @@
</p> </p>
<!-- Footer --> <!-- Footer -->
<footer>
<?php include "./page-blocks/footer.php" ?> <?php include "./page-blocks/footer.php" ?>
</footer>
</body> </body>
</html> </html>

View File

@ -1,4 +1,5 @@
<?php <?php
include "./php/version.php"; include "./php/version.php";
echo "<footer>"
echo "<p>Created by Fred Boniface - v$athenaVersion</p>" echo "<p>Created by Fred Boniface - v$athenaVersion</p>"
?> echo "</footer>"

10
page-blocks/headers.php Normal file
View File

@ -0,0 +1,10 @@
<?php
echo '<meta charset="UTF-8"/>';
echo '<meta name="description" content="Athena - Live train departures for traincrew."/>;'
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
echo '<meta name="application-name" content="Athena">';
echo '<meta name="author" content="Frederick Boniface">';
echo '<link rel="stylesheet" type="text/css" href="/styles/style.css"/>';
echo '<link rel="icon" type="image/png" href="/assets/icons/favicon.ico"/>';
echo '<link rel="manifest" type="application/json" href="/manifest.json"/>';