-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.html
83 lines (81 loc) · 3.31 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="tr" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Türkiye il ve ilçeler json</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<div class="container mb-5">
<div class="row">
<div class="col-lg-12">
<h1 class="text-center pt-5">Türkiye il ve ilçe JSON Data</h1><br />
<div class="button-filter">
<a href="#">Akdeniz</a>
<a href="#">Doğu Anadolu</a>
<a href="#">Ege</a>
<a href="#">Güneydoğu Anadolu</a>
<a href="#">Karadeniz</a>
<a href="#">Marmara</a>
<a href="#">İç Anadolu</a>
<button type="button" name="button" class="all">Temizle</button>
</div>
<table id="data-table" class="table table-bordered table-responsive">
<thead>
<tr>
<th>İl</th>
<th>Plaka Kodu</th>
<th>Alan Kodu</th>
<th>Nüfus</th>
<th>Bölge</th>
<th>Yüzölçümü</th>
<th>Erkek Nüfus</th>
<th>Kadın Nüfus</th>
<th>Nüfus Yüzdesi</th>
<th>İlçe Sayısı</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<div class="city-details">
<div class="city-details-close">
<img src="close.png" alt="">
</div>
<h3 class="text-center pt-5" id="il_adi"></h3><br />
<div id="sehirDetay">
<p>
<span>Plaka Kodu : <strong id="plaka_kodu"></strong></span>
<span>Alan Kodu : <strong id="alan_kodu"></strong></span>
<span>Bölge : <strong id="bolge"></strong></span>
</p>
<p>
<span>Nüfus : <strong id="nufus"></strong></span>
<span>Yüzölçümü : <strong id="yuzolcumu"></strong></span>
<span>Nüfus Payı : <strong id="nufus_yuzdesi_genel"></strong></span>
</p>
<p>
<span>Erkek Nüfüsu : <strong id="erkek_nufus"></strong></span>
<span>Erkek Nüfusu Yüzdesi : <strong id="erkek_nufus_yuzde"></strong></span>
</p>
<p>
<span>Kadın Nüfüsu : <strong id="kadin_nufus"></strong></span>
<span>Kadın Nüfusu Yüzdesi : <strong id="kadin_nufus_yuzde"></strong></span>
</p>
<p>
<span>Kısa Bilgi : <strong id="kisa_bilgi"></strong></span>
</p>
<p>İlçeler : <strong id="ilceler"></strong> </p>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.js"> </script>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"> </script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"> </script>
<script src="js/index.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.10.19/sorting/turkish-string.js"></script>
</body>
</html>