Compare commits

..

7 Commits

4 changed files with 16 additions and 28 deletions

View File

@ -1,18 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<?php include './page-blocks/headers.php';?>
<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/nav.js"></script>
@ -77,9 +68,7 @@
</div>
<!-- Footer -->
<footer>
<p>Created by Fred Boniface - v0.4.0-devel</p>
</footer>
<?php include "./page-blocks/footer.php" ?>
</body>

View File

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

View File

@ -1,4 +1,5 @@
<?php
include "./php/version.php";
echo "<footer>"
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"/>';