Adjust robots meta tag

This commit is contained in:
Fred Boniface 2023-04-30 21:39:25 +01:00
parent 2dbdbb2441
commit 75f4290ba3
4 changed files with 13 additions and 6 deletions

View File

@ -3,6 +3,7 @@
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<meta name="description" content="OwlBoard - Live train departures for traincrew."/> <meta name="description" content="OwlBoard - Live train departures for traincrew."/>
<meta name="robots" content="noindex"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="application-name" content="OwlBoard"> <meta name="application-name" content="OwlBoard">
<meta name="author" content="Frederick Boniface"> <meta name="author" content="Frederick Boniface">

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<meta name="description" content="OwlBoard - Live train departures for traincrew."/> <meta name="description" content="OwlBoard - Live train departures for traincrew."/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex"/>
<meta name="application-name" content="OwlBoard"> <meta name="application-name" content="OwlBoard">
<meta name="author" content="Frederick Boniface"> <meta name="author" content="Frederick Boniface">
<meta name="theme-color" content="#00b7b7"> <meta name="theme-color" content="#00b7b7">

View File

@ -5,6 +5,7 @@
<meta name="description" content="OwlBoard - Live train departures for traincrew."/> <meta name="description" content="OwlBoard - Live train departures for traincrew."/>
<meta name="robots" content="noindex"/> <meta name="robots" content="noindex"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex"/>
<meta name="application-name" content="OwlBoard"> <meta name="application-name" content="OwlBoard">
<meta name="author" content="Frederick Boniface"> <meta name="author" content="Frederick Boniface">
<meta name="theme-color" content="#00b7b7"> <meta name="theme-color" content="#00b7b7">

View File

@ -58,10 +58,14 @@ async function displayUnauthorised() {
} }
async function reset() { async function reset() {
try {
document.getElementById('origin').value = "" document.getElementById('origin').value = ""
document.getElementById('destination').value = "" document.getElementById('destination').value = ""
document.getElementById('result-box').style = 'display:none' document.getElementById('result-box').style = 'display:none'
document.getElementById('result-table').remove() document.getElementById('result-table').remove()
document.getElementById('crs-box').style = 'display:block' document.getElementById('crs-box').style = 'display:block'
document.getElementById('result-count').textContent = 0 document.getElementById('result-count').textContent = 0
} catch(e) {
log(`Nothing to reset`)
}
} }