Add PWA manifest
This commit is contained in:
		
							parent
							
								
									cdb5243e00
								
							
						
					
					
						commit
						29d0671282
					
				
					 4 changed files with 26 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,8 @@
 | 
			
		|||
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
	<title>InfoTren</title>
 | 
			
		||||
 | 
			
		||||
	<link rel="manifest" href="/manifest.json">
 | 
			
		||||
 | 
			
		||||
	<link rel="stylesheet" href="/base.css">
 | 
			
		||||
 | 
			
		||||
	<script src="/items.js"></script>
 | 
			
		||||
| 
						 | 
				
			
			@ -28,4 +30,4 @@
 | 
			
		|||
		<div class="rsk"></div>
 | 
			
		||||
	</footer>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										17
									
								
								manifest.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								manifest.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
{
 | 
			
		||||
  "name": "Info Tren: Romanian Railways",
 | 
			
		||||
  "short_name": "Info Tren",
 | 
			
		||||
  "theme_color": "#0000ff",
 | 
			
		||||
  "background_color": "#ffffff",
 | 
			
		||||
  "display": "minimal-ui",
 | 
			
		||||
  "scope": "/",
 | 
			
		||||
  "start_url": "/",
 | 
			
		||||
  "shortcuts": [
 | 
			
		||||
    {
 | 
			
		||||
      "name": "My train",
 | 
			
		||||
      "short_name": "My train",
 | 
			
		||||
      "description": "Find information about a train",
 | 
			
		||||
      "url": "/train.html"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -6,6 +6,8 @@
 | 
			
		|||
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
	<title>Train - InfoTren</title>
 | 
			
		||||
 | 
			
		||||
	<link rel="manifest" href="/manifest.json">
 | 
			
		||||
 | 
			
		||||
	<link rel="stylesheet" href="/base.css">
 | 
			
		||||
 | 
			
		||||
	<script src="/back.js"></script>
 | 
			
		||||
| 
						 | 
				
			
			@ -29,4 +31,4 @@
 | 
			
		|||
		<div class="rsk"></div>
 | 
			
		||||
	</footer>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,8 @@
 | 
			
		|||
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
	<title>View Train - InfoTren</title>
 | 
			
		||||
 | 
			
		||||
	<link rel="manifest" href="/manifest.json">
 | 
			
		||||
 | 
			
		||||
	<link rel="stylesheet" href="/base.css">
 | 
			
		||||
	<link rel="stylesheet" href="view-train.css">
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -43,4 +45,4 @@
 | 
			
		|||
		<div class="rsk">Refresh</div>
 | 
			
		||||
	</footer>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue