-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (76 loc) · 3.1 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=yes">
<meta name="description" content="ALC currency converter works both offline and online.">
<meta name="author" content="Wilbert Muza">
<link rel="icon" type="icon/image" href="img/icon.png">
<title>ALC Currency Converter</title>
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" type="text/css" href="css/app.css">
</head>
<body>
<div class="limiter">
<div class="body-container">
<div class="wrap-login p-t-190 p-b-30">
<form class="login-form validate-form" onsubmit="return convertCurrency()">
<span class="login-form-title p-t-20 p-b-45">
Currency Converter
</span>
<div class="form-group">
<label for="convert-amount">Amount</label>
<input type="number" min="1" step=any id="convert-amount" value="1" name="Amount" class="input" placeholder="Enter Amount">
<span class="focus-input"></span>
</div>
<div class="form-group">
<label for="from-currency">Convert From</label>
<select class="input" id="from-currency" name="from-currency"></select>
<span class="focus-input"></span>
</div>
<div class="form-group">
<label for="to-currency">Convert To</label>
<select class="input" id="to-currency" name="to-currency"></select>
<span class="focus-input"></span>
</div>
<div class="form-group">
<div class="col-md-12">
<div class="error_msg text-center"></div>
</div>
</div></br>
<div class="form-group">
<div class="col-md-12">
<div class="results"></div>
</div>
</div>
<div class="container-fluid-form-btn p-t-10">
<button class="login-form-btn" id="convert-btn">
Convert
</button>
</div>
<!-- notification section -->
<div class="row" id="alert" style="display: none;">
<div class="alert alert-primary" role="alert">
<strong id="alert-message">New version available</strong>
<div>
<button id="refresh" name="refresh" type="button" aria-label="Refresh" class="btn btn-outline-primary">
Refresh
</button>
<button id="dismiss" name="dismiss" type="button" aria-label="Dismiss" class="btn btn-outline-secondary">
Dismiss
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- scripts section -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<script src="js/app.js" type="text/javascript"></script>
</body>
</html>