PWA Fundvelo der Caritas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html lang="de-ch">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="description" content="Caritas PWA, developed by INTEGRATE AG, Switzerland">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" />
  7. <title>Caritas PWA</title>
  8. <base href="/" />
  9. <script src="_content/BlazorAnimate/blazorAnimateInterop.js"></script>
  10. <script src="_content/MatBlazor/dist/matBlazor.js"></script>
  11. <link href="_content/MatBlazor/dist/matBlazor.css" rel="stylesheet" />
  12. <link href="css/united/bootstrap.min.css" rel="stylesheet" />
  13. <link href="css/united/_bootswatch.min.css" rel="stylesheet" />
  14. <link href="css/united/_variables.min.css" rel="stylesheet" />
  15. <link href="css/app.css" rel="stylesheet" />
  16. <link href="manifest.json" rel="manifest" />
  17. <link rel="apple-touch-icon" href="/icons/icon-60@3x.png" />
  18. <meta name="apple-mobile-web-app-status-bar" content="#db001b">
  19. <meta name="theme-color" content="#db001b">
  20. </head>
  21. <body>
  22. <app>Loading...</app>
  23. <div id="blazor-error-ui">
  24. An unhandled error has occurred.
  25. <a href="" class="reload">Reload</a>
  26. <a class="dismiss">🗙</a>
  27. </div>
  28. <script src="_framework/blazor.webassembly.js"></script>
  29. <script>
  30. if ('serviceWorker' in navigator) {
  31. navigator.serviceWorker.register('service-worker.js')
  32. .then((reg) => console.log('Service worker registered.', reg))
  33. .catch((err) => console.log('Failed to registe Service worker.', err));
  34. }
  35. </script>
  36. <script>
  37. function BlazorSetLocalStorage(key, value) {
  38. localStorage.setItem(key, value);
  39. }
  40. function BlazorGetLocalStorage(key) {
  41. return localStorage.getItem(key);
  42. }
  43. function BlazorRegisterStorageEvent(component) {
  44. window.addEventListener("storage", async e => {
  45. await component.invokeMethodAsync("OnStorageUpdated", e.key);
  46. });
  47. }
  48. </script>
  49. </body>
  50. </html>