forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			103 lines
		
	
	
	
		
			5.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
	
		
			5.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <!-- WARNING: index.html serves as a template. If you want to change something, change it there -->
 | |
| <html lang="en">
 | |
| <head>
 | |
|     <meta charset="UTF-8">
 | |
|     <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
 | |
|     <link href="./vendor/leaflet.css" rel="stylesheet"/>
 | |
|     <link href="./css/userbadge.css" rel="stylesheet"/>
 | |
|     <link href="./css/tabbedComponent.css" rel="stylesheet"/>
 | |
|     <link href="./css/mobile.css" rel="stylesheet"/>
 | |
|     <link href="./css/openinghourstable.css" rel="stylesheet"/>
 | |
|     <link href="./css/tagrendering.css" rel="stylesheet"/>
 | |
|     <link href="css/ReviewElement.css" rel="stylesheet"/>
 | |
|     <link href="./css/index-tailwind-output.css" rel="stylesheet"/>
 | |
|     <link href="./css/wikipedia.css" rel="stylesheet"/>
 | |
|     <meta content="website" property="og:type">
 | |
| 
 | |
|     <!-- THEME-SPECIFIC -->
 | |
|     <!-- Every theme gets their own html page, this is created by a script; this part will be removed except for the index -->
 | |
|     <title>MapComplete</title>
 | |
|     <link href="./assets/svg/add.svg" rel="icon" sizes="any" type="image/svg+xml">
 | |
|     <meta content="./assets/SocialImage.png" property="og:image">
 | |
|     <meta content="MapComplete - editable, thematic maps with OpenStreetMap" property="og:title">
 | |
|     <meta content="MapComplete is a platform to visualize OpenStreetMap on a specific topic and to easily contribute data back to it."
 | |
|           property="og:description">
 | |
| 
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo512.png" rel="apple-touch-icon" sizes="512x512">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo384.png" rel="apple-touch-icon" sizes="384x384">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo192.png" rel="apple-touch-icon" sizes="192x192">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo180.png" rel="apple-touch-icon" sizes="180x180">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo152.png" rel="apple-touch-icon" sizes="152x152">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo144.png" rel="apple-touch-icon" sizes="144x144">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo128.png" rel="apple-touch-icon" sizes="128x128">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo120.png" rel="apple-touch-icon" sizes="120x120">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo96.png" rel="apple-touch-icon" sizes="96x96">
 | |
|     <link href="./assets/generated/images/assets_svg_mapcomplete_logo72.png" rel="apple-touch-icon" sizes="72x72">
 | |
| 
 | |
|     <!-- THEME-SPECIFIC-END-->
 | |
|     
 | |
| </head>
 | |
| <body>
 | |
| 
 | |
| <div id="decoration-desktop" style="position: fixed; left: 1em; bottom: 1em; width:35vh; height:35vh;">
 | |
|     <!-- A nice decoration while loading or on errors -->
 | |
|     <!-- DECORATION 0 START -->
 | |
|     <img src="./assets/svg/add.svg"/>
 | |
|     <!-- DECORATION 0 END -->
 | |
| </div>
 | |
| 
 | |
| <div class="very-small-screen fixed inset-0 block z-above-controls" id="on-small-screen"></div>
 | |
| <div class="fixed inset-0 block z-above-controls hidden hidden-on-very-small-screen md:w-1/3" style="min-width: 28rem" id="fullscreen"></div>
 | |
| 
 | |
| <div class="absolute top-12 sm:top-3 left-3 rounded-3xl z-above-map" id="top-left"></div>
 | |
| <div class="absolute top-3 right-2 rounded-3xl z-above-map pl-3 sm:pl-0 w-full sm:w-fit" id="top-right"></div>
 | |
| 
 | |
| <div class="absolute bottom-3 left-3 rounded-3xl z-above-map" id="bottom-left"></div>
 | |
| <div class="absolute bottom-3 right-2 rounded-3xl z-above-map" id="bottom-right"></div>
 | |
| 
 | |
| <div class="clutter absolute h-24 left-24 right-24 top-56 text-xl text-center"
 | |
|      id="centermessage" style="z-index: 4000">
 | |
|     <div style="height: max-content">
 | |
|     <div style="margin-top: -3rem">
 | |
|         <div class="flex" style="justify-content: center">
 | |
|             <img src="./assets/svg/loading.svg" class="animate-spin" style="width: 1.5rem; height: 1.5rem; min-width: 1.5rem;"/>
 | |
|             <h1 style="font-weight: bold; font-size: xx-large; margin-bottom: 1rem; padding-left: 1rem">Loading MapComplete, hang on...</h1>
 | |
|         </div>
 | |
|     <p class="subtle" style="padding-bottom: 1rem">Powered by OpenStreetMap</p>
 | |
|     <div style="background: #ffffffaa; padding-bottom: 1rem; border-radius: 0.25rem">
 | |
|     <!-- DESCRIPTION START -->
 | |
|     MapComplete is an easy to use map viewer and map editor
 | |
|     <!-- DESCRIPTION END -->
 | |
|     </div>
 | |
|     </div>
 | |
|     </div>
 | |
| </div>
 | |
| 
 | |
| 
 | |
| <span class="absolute" id="belowmap" style="z-index: -1">Below</span>
 | |
| <div id="leafletDiv"></div>
 | |
| 
 | |
| 
 | |
| <script src="./index.ts"></script>
 | |
| <script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
 | |
| 
 | |
| <script>
 | |
|     window.addEventListener('load', () => {
 | |
|         if ('serviceWorker' in navigator) {
 | |
|             // register service worker
 | |
|             navigator.serviceWorker.register('/service-worker.js').then(
 | |
|                 () => {
 | |
|                     console.log('Service worker registration successful');
 | |
|                 },
 | |
|                 err => {
 | |
|                     console.error('Service worker registration failed', err)
 | |
|                 });
 | |
|         } else {
 | |
|             console.log("Service workers are not supported")
 | |
|         }
 | |
|     });
 | |
| </script>
 | |
| 
 | |
| </body>
 | |
| </html>
 |