-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (92 loc) · 4.12 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Emmanuel Daniel">
<meta name="slack" content="emmsdan">
<meta name="facebook" content="emmsdan">
<meta name="project" content="ALC 3.0 Project">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title> CurrencyConverter.io by EmmsDan for ALC</title>
<link rel="stylesheet" href="./css/alcproject.css"/>
<link href="https://fonts.googleapis.com/css?family=Markazi+Text" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Galada" rel="stylesheet">
<link rel="manifest" href="manifest.json">
</head>
<body>
<div id="snackbar" class="w3-red-text">Welcome to CurrencyConverter.io</div>
<div class="w3-padding-16 w3-light-grey">
<div class="w3-row-padding">
<div class="w3-col s12 m8 l8 w3-center">
<div class="w3-col s12">
<img class="w3-image w3-round-large w3-grayscale" src="img/loogo.png" alt="App" width="335" height="471">
</div>
<table class="w3-bordered w3-table s12 w3-padding-32 w3-card w3-hide-small w3-white">
<thead class="w3-blue-grey">
<tr>
<th> Currency </th>
<th> Exchange</th>
<th> Date</th>
</tr>
</thead>
<tbody class="w3-black-text indexDBTable itable" style="height: 200px; overflow: hidden;">
</tbody>
</table>
</div>
<div class="w3-col s12 m4 l4">
<ul class="w3-ul w3-card w3-hover-shadow">
<li class="w3-dark-grey w3-center w3-xlarge w3-padding-16 Galada">Convert-Currency</li>
<li class="">
<label>Amount</label>
<input type="number" id="amountInput" class="w3-input">
</li>
<li class="">
<label>Convert From</label>
<select class="w3-select" id="currencyFrom">
</select>
</li>
<li class="">
<label>Convert To</label>
<select class="w3-select" id="currencyTo">
</select>
</li>
<li class="w3-padding-24 exchange w3-row-padding w3-white">
<span class="w3-text-red exchangeRate" style="font-weight: 900;">
<img src="./img/AGNB-loading.gif" style="visibility: hidden;width: 100px;"/>
</span>
<button id="userSubmit" class="w3-button w3-teal w3-right w3-padding-large l12 m12 s12"><i class="fa fa-download"></i>Convert</button>
</li>
</ul>
</div>
</div>
<!-- Footer -->
<footer class="w3-container w3-light-grey w3-center w3-xlarge"> <br/>
<div class="w3-section">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
</div>
<p class="w3-medium">Powered by <strong><a href="https://free.currencyconverterapi.com" target="_blank" class="w3-hover-text-green">https://free.currencyconverterapi.com </a></strong></p>
</footer>
<script src="./js/emmsdanExtra.js"></script>
<script src="./js/controller.js"></script>
<script src="./js/database.js"></script>
<script src="./js/converter.js"></script>
<script src="./serviceWorker.js"></script>
<script>
/*
* author @emmsdan
* for @alc 3.0
* date @2018-june
*/
/* DB server, serviceWorker and get currency into select buttons */
getCurrency();
startDb();
setInterval(getIndexDBList, 5000);
</script>
</body>
</html>