DigitalConsumer.ISS/public/index.html
Bill Richardson 68d9101f53 Show All Fields and Skip Autocomplete if cannot reach google api
Some Auto formatting on save for the index page
Add global auth handler on Index page.
remove a left in console.warn on schedule.
2026-05-26 15:18:53 -04:00

51 lines
No EOL
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<script>
window.dataLayer = [{}];
</script>
<script>
window.gm_authFailure = function () {
console.error("Google Maps failed to authenticate! Check your API key or billing.");
// Add your fallback logic here (e.g., show an error message, hide the map, or enable fallback inputs)
if (typeof window.handleGoogleMapsAuthFailure === "function") {
window.handleGoogleMapsAuthFailure();
} else {
console.warn("No custom auth failure handler defined.");
}
};
</script>
<script><%= process.env.VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY %></script>
<script><%= process.env.VUE_APP_GOOGLE_MAPS_API_SCRIPT %></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet">
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
</head>
<body>
<!-- Google Tag Manager -->
<noscript>
<iframe src="<%= process.env.VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC %>" height="0" width="0"
style="display:none;visibility:hidden"></iframe>
</noscript>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>