Switch to absolute references throughout

This commit is contained in:
Fred Boniface 2022-09-16 20:02:46 +01:00
parent 3f89231959
commit 542a51c4a4
2 changed files with 14 additions and 14 deletions

View File

@ -9,17 +9,17 @@
<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="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>
<img class="titleimg" src="/assets/title/title.webp"></img>
<h1>oops, that page can't be found</h1>
<h1>Oh no! That page can't be found</h1>
<p><a href="https://athena.fb-infra.uk">Go back to the homepage</a></p>

View File

@ -9,12 +9,12 @@
<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"/>
<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="./scripts/tiploc-finder.js"></script>
<script src="./scripts/nav.js"></script>
<script src="/scripts/tiploc-finder.js"></script>
<script src="/scripts/nav.js"></script>
</head>
@ -22,16 +22,16 @@
<!-- Popup Menu -->
<div id="menu-button" class="menu-button">
<img onclick="openMenu()" src="./assets/icons/menu.png"></img>
<img onclick="openMenu()" src="/assets/icons/menu.png"></img>
</div>
<div id="menu" class="menu">
<button class="menuitem" onclick="openAboutPopup(),closeMenu()">Help</button>
<button class="menuitem" onclick="openTiplocPopup(),closeMenu()">Code Lookup</button>
<img onclick="closeMenu()" class="popup-close" src="./assets/icons/close-circle.png"></img>
<img onclick="closeMenu()" class="popup-close" src="/assets/icons/close-circle.png"></img>
</div>
<!-- Main Content Begins -->
<img class="titleimg" src="./assets/title/title.webp"></img>
<img class="titleimg" src="/assets/title/title.webp"></img>
<br>
@ -61,7 +61,7 @@
<!-- Popup Boxes (Usually Hidden with CSS) -->
<div id="popup-about" class="popup-info">
<img onclick="closeAboutPopup()" class="popup-close" src="./assets/icons/close-circle.png"></img>
<img onclick="closeAboutPopup()" class="popup-close" src="/assets/icons/close-circle.png"></img>
<h2>Help</h2>
<p>Just type in a three character CRS code or a TIPLOC into the text
box and tap the Lookup button.</p>
@ -81,7 +81,7 @@
</div>
<div id="popup-tiploc" class="popup-info">
<img onclick="closeTiplocPopup()" class="popup-close" src="./assets/icons/close-circle.png"></img>
<img onclick="closeTiplocPopup()" class="popup-close" src="/assets/icons/close-circle.png"></img>
<h2>Code Lookup</h2>
<p hidden>Enter a CRS Code in the textbox and tap Go.</p>
<p hidden>All GWR managed stations can be looked up but others cannot be