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="application-name" content="Athena">
<meta name="author" content="Frederick Boniface"> <meta name="author" content="Frederick Boniface">
<link rel="stylesheet" type="text/css" href="./styles/style.css"/> <link rel="stylesheet" type="text/css" href="/styles/style.css"/>
<link rel="icon" type="image/png" href="./assets/icons/favicon.ico"/> <link rel="icon" type="image/png" href="/assets/icons/favicon.ico"/>
</head> </head>
<body> <body>
<!-- Main Content Begins --> <!-- 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> <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="application-name" content="Athena">
<meta name="author" content="Frederick Boniface"> <meta name="author" content="Frederick Boniface">
<link rel="stylesheet" type="text/css" href="./styles/style.css"/> <link rel="stylesheet" type="text/css" href="/styles/style.css"/>
<link rel="icon" type="image/png" href="./assets/icons/favicon.ico"/> <link rel="icon" type="image/png" href="/assets/icons/favicon.ico"/>
<link rel="manifest" type="application/json" href="./manifest.json"/> <link rel="manifest" type="application/json" href="/manifest.json"/>
<script src="./scripts/tiploc-finder.js"></script> <script src="/scripts/tiploc-finder.js"></script>
<script src="./scripts/nav.js"></script> <script src="/scripts/nav.js"></script>
</head> </head>
@ -22,16 +22,16 @@
<!-- Popup Menu --> <!-- Popup Menu -->
<div id="menu-button" class="menu-button"> <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>
<div id="menu" class="menu"> <div id="menu" class="menu">
<button class="menuitem" onclick="openAboutPopup(),closeMenu()">Help</button> <button class="menuitem" onclick="openAboutPopup(),closeMenu()">Help</button>
<button class="menuitem" onclick="openTiplocPopup(),closeMenu()">Code Lookup</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> </div>
<!-- Main Content Begins --> <!-- Main Content Begins -->
<img class="titleimg" src="./assets/title/title.webp"></img> <img class="titleimg" src="/assets/title/title.webp"></img>
<br> <br>
@ -61,7 +61,7 @@
<!-- Popup Boxes (Usually Hidden with CSS) --> <!-- Popup Boxes (Usually Hidden with CSS) -->
<div id="popup-about" class="popup-info"> <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> <h2>Help</h2>
<p>Just type in a three character CRS code or a TIPLOC into the text <p>Just type in a three character CRS code or a TIPLOC into the text
box and tap the Lookup button.</p> box and tap the Lookup button.</p>
@ -81,7 +81,7 @@
</div> </div>
<div id="popup-tiploc" class="popup-info"> <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> <h2>Code Lookup</h2>
<p hidden>Enter a CRS Code in the textbox and tap Go.</p> <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 <p hidden>All GWR managed stations can be looked up but others cannot be