-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1 lines (1 loc) · 2.18 KB
/
index.html
1
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Weather</title><link rel="shortcut icon" href="assets/image/icon.png" type="image/x-icon"><link rel="stylesheet" href="assets/bootstrap.min.css"><link rel="stylesheet" href="assets/style.css"><link rel="manifest" href="manifest.webmanifest"><meta name=description content="Your personal weather app"><link rel="apple-touch-icon" href="assets/image/icon.png"><meta name="apple-mobile-web-app-status-bar-style" content="#0fff37"><meta name="theme-color" content="#0fff37"></head><body><main><div class="contain"><div class="title noselect"><img src="assets/image/icon.png"><h1>Weather</h1></div><div class="search"><div class="input mb-3 mt-3"><div class="unit noselect"><select><option value="C">°C</option><option value="F">°F</option></select></div><input type="search" class="form-control" placeholder="Search City" autofocus><button type="button" class="btn btn-dark location" onclick="geo()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" fill="white" width="22px" height="22px"><path d="M0 0h24v24H0z" fill="none" /><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" /></svg></button></div><button type="submit" class="btn btn-warning submit mb-3">Search</button><div class="alert alert-danger" role="alert"></div></div><div class="show mt-3 mb-3 noselect"><div class="top"></div><div class="middle mb-3 mt-2"><canvas id="canvas">Your browser does not support the canvas element</canvas></div><div class="bottom"></div></div><div id="map" class="noselect"><img src=""></div><div class="load-div mt-5 mb-5"><div class="load"><div></div></div></div><br><br><br><br><div class="br"></div></div></main><script src="assets/Chart.min.js"></script><script src="assets/jquery-3.5.1.min.js"></script><script src="assets/script.js"></script><script>window.addEventListener('load', async function(){if('serviceWorker' in navigator){try{await navigator.serviceWorker.register('sw.js');} catch(err){console.log(`SW registration failed`, err);}}})</script></body></html>