-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
54 lines (52 loc) · 2.43 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IP Address Tracker</title>
<link rel="shortcut icon" href="/app/assests/favicon-32x32.png" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
</head>
<body>
<div class="app-container">
<div class="form-container">
<h1 class="title">IP Address Tracker</h1>
<form class="form-elements">
<input id="ip_address" type="text" class="form-control" placeholder="Search for any IP address or domain">
<button id="search_btn" class="btn btn-dark">
<img src="assests/icon-arrow.svg" width="12px" height="12px" alt="" srcset="">
</button>
</form>
</div>
<div class="results-display">
<div class="display-container">
<div class="info-block block-seperator">
<h4 class="muted-title">IP Address</h4>
<span id="current_ip" class="results">192.212.174.101</span>
</div>
<div class="info-block block-seperator">
<h4 class="muted-title">Location</h4>
<span id="current_town" class="results">Cape Town, SA 7530</span>
</div>
<div class="info-block block-seperator">
<h4 class="muted-title">Timezone</h4>
<span id="current_zone" class="results">UTC +2:00</span>
</div>
<div class="info-block info-block-last">
<h4 class="muted-title">ISP</h4>
<span id="current_isp" class="results">Rain</span>
</div>
</div>
</div>
<div id="display-map" class="map-container"></div>
</div>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="/app/js/ip_tracker.js"></script>
</body>
</html>