HTML Lint

This commit is contained in:
Fred Boniface 2023-05-08 21:36:23 +01:00
parent 9973da52a6
commit 8ed7c6f907
6 changed files with 36 additions and 35 deletions

View File

@ -1,24 +1,24 @@
<html> <html lang="en">
<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="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">
<meta name="theme-color" content="#00b7b7"> <meta name="theme-color" content="#00b7b7">
<link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png"> <link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png">
<link rel="stylesheet" type="text/css" href="./styles/main.css"/> <link rel="stylesheet" type="text/css" href="./styles/main.css">
<link rel="icon" type="image/svg+xml" href="./images/icon.svg"/> <link rel="icon" type="image/svg+xml" href="./images/icon.svg">
<link rel="manifest" type="application/json" href="./manifest.json"/> <link rel="manifest" type="application/json" href="./manifest.json">
<!-- NO SCRIPTS LOADED - NOT REQUIRED AT PRESENT --> <!-- NO SCRIPTS LOADED - NOT REQUIRED AT PRESENT -->
<title>OwlBoard - Error</title> <title>OwlBoard - Error</title>
</head> </head>
<body> <body>
<div id="top_button" class="hide_micro"> <div id="top_button" class="hide_micro">
<picture aria-label="Back" class="sidebar_control" onclick="history.back()"> <picture class="sidebar_control" onclick="history.back()">
<source srcset="/images/nav/back.svg" type="image/svg+xml"> <source srcset="/images/nav/back.svg" type="image/svg+xml">
<img src="back-40.png" alt="Back"> <img aria-label="Back" src="back-40.png" alt="Back">
</picture> </picture>
</div> </div>
<picture> <picture>

View File

@ -1,24 +1,25 @@
<html> <!DOCTYPE html>
<html lang="en">
<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="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">
<meta name="theme-color" content="#00b7b7"> <meta name="theme-color" content="#00b7b7">
<link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png"> <link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png">
<link rel="stylesheet" type="text/css" href="./styles/main.css"/> <link rel="stylesheet" type="text/css" href="./styles/main.css">
<link rel="icon" type="image/svg+xml" href="./images/icon.svg"/> <link rel="icon" type="image/svg+xml" href="./images/icon.svg">
<link rel="manifest" type="application/json" href="./manifest.json"/> <link rel="manifest" type="application/json" href="./manifest.json">
<!-- NO SCRIPTS LOADED - NOT REQUIRED AT PRESENT --> <!-- NO SCRIPTS LOADED - NOT REQUIRED AT PRESENT -->
<title>OwlBoard - Error</title> <title>OwlBoard - Error</title>
</head> </head>
<body> <body>
<div id="top_button" class="hide_micro"> <div id="top_button" class="hide_micro">
<picture aria-label="Close Menu" class="sidebar_control" onclick="history.back()"> <picture class="sidebar_control" onclick="history.back()">
<source srcset="/images/nav/back.svg" type="image/svg+xml"> <source srcset="/images/nav/back.svg" type="image/svg+xml">
<img src="back-40.png" alt="Close menu"> <img aria-label="Close Menu" src="back-40.png" alt="Close menu">
</picture> </picture>
</div> </div>
<picture> <picture>

View File

@ -20,9 +20,9 @@
<body> <body>
<div id="top_button" class="hide_micro"> <div id="top_button" class="hide_micro">
<a href="/"> <a href="/">
<picture aria-label="Home" class="sidebar_control"> <picture class="sidebar_control">
<source srcset="/images/nav/back.svg" type="image/svg+xml"> <source srcset="/images/nav/back.svg" type="image/svg+xml">
<img src="back-40.png" alt="Home"> <img aria-label="Home" src="back-40.png" alt="Home">
</picture> </picture>
</a> </a>
</div> </div>

View File

@ -1,16 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8">
<meta name="description" content="OwlBoard - Live train departures, PIS codes & reference data for traincrew."/> <meta name="description" content="OwlBoard - Live train departures, PIS codes & reference data 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="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">
<link rel="apple-touch-icon" href="./images/app-icons/any/apple-192.png"> <link rel="apple-touch-icon" href="./images/app-icons/any/apple-192.png">
<link rel="stylesheet" href="./styles/main.css"/> <link rel="stylesheet" href="./styles/main.css">
<link rel="icon" type="image/svg+xml" href="./images/icon.svg"/> <link rel="icon" type="image/svg+xml" href="./images/icon.svg">
<link rel="manifest" type="application/json" href="./manifest.json"/> <link rel="manifest" type="application/json" href="./manifest.json">
<script src="./js/lib.main.js" defer></script> <script src="./js/lib.main.js" defer></script>
<script src="./js/index.js" defer></script> <script src="./js/index.js" defer></script>
<title>OwlBoard</title> <title>OwlBoard</title>
@ -25,13 +25,13 @@
<!-- Popup Menu --> <!-- Popup Menu -->
<div id="top_button" class="hide_micro"> <div id="top_button" class="hide_micro">
<picture aria-label="Menu" class="sidebar_control" id="sidebar_open_short" onclick="sidebarOpen()"> <picture class="sidebar_control" id="sidebar_open_short" onclick="sidebarOpen()">
<source srcset="./images/nav/hamburger.svg" type="image/svg+xml"> <source srcset="./images/nav/hamburger.svg" type="image/svg+xml">
<img src="./images/nav/hamburger_40.png" alt="Open menu"> <img aria-label="Menu" src="./images/nav/hamburger_40.png" alt="Open menu">
</picture> </picture>
<picture aria-label="Close Menu" class="sidebar_control" id="sidebar_close_short" onclick="sidebarClose()"> <picture class="sidebar_control" id="sidebar_close_short" onclick="sidebarClose()">
<source srcset="./images/nav/close.svg" type="image/svg+xml"> <source srcset="./images/nav/close.svg" type="image/svg+xml">
<img src="./images/nav/close-40.png" alt="Close menu"> <img aria-label="Close Menu" src="./images/nav/close-40.png" alt="Close menu">
</picture> </picture>
</div> </div>
<div id="sidebar"> <div id="sidebar">
@ -52,7 +52,7 @@
</picture> </picture>
<br> <br>
<form action="board.html"> <form action="board.html">
<input class="lookup-box" type="text" id="crs-lookup" name="stn" placeholder="Enter CRS/TIPLOC" autocomplete="off"/> <input class="lookup-box" type="text" id="crs-lookup" name="stn" placeholder="Enter CRS/TIPLOC" autocomplete="off">
<br> <br>
<input type="submit" value="Lookup Board" class="lookup-button" onclick="vibe('ok')"> <input type="submit" value="Lookup Board" class="lookup-button" onclick="vibe('ok')">
</form> </form>

View File

@ -25,9 +25,9 @@
</div> </div>
<div id="top_button" class="hide_micro"> <div id="top_button" class="hide_micro">
<a href="/"> <a href="/">
<picture aria-label="Home" class="sidebar_control"> <picture class="sidebar_control">
<source srcset="/images/nav/back.svg" type="image/svg+xml"> <source srcset="/images/nav/back.svg" type="image/svg+xml">
<img src="back-40.png" alt="Home"> <img aria-label="Home" src="back-40.png" alt="Home">
</picture> </picture>
</a> </a>
</div> </div>
@ -52,8 +52,8 @@
<h3>---</h3> <h3>---</h3>
<h4 id="pre_subject">Subject</h4> <h4 id="pre_subject">Subject</h4>
<p id="pre_message"></p> <p id="pre_message"></p>
<button id="send" class="lookup-button" onclick="send()">Send</button> <button type="submit" id="send" class="lookup-button" onclick="send()">Send</button>
<button id="cancel" class="lookup-button" onclick="cancel()">Cancel</button> <button type="reset" id="cancel" class="lookup-button" onclick="cancel()">Cancel</button>
</div> </div>
</body> </body>
</html> </html>

View File

@ -107,6 +107,6 @@
<td id="ver_str">Unknown</td> <td id="ver_str">Unknown</td>
</tr> </tr>
</table> </table>
<p>The statistics represent hits & queries from all instances in the stack.</p> <p>The statistics represent hits &amp; queries from all instances in the stack.</p>
</body> </body>
</html> </html>