-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
151 lines (143 loc) · 5.45 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="css/materialize.min.css">
<link href="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"></head>
<body>
<div>
<h1 class="title center">CryptoCurrency Rates Calculator</h1>
</div>
<div class="container main-content">
<!-- Page Content goes here -->
<div class="row">
<form class="col s8 offset-s2" id="form">
<div class="row">
<div class="form">
<div class="input-field col s12">
<select id="currency">
<option value="" disabled selected>- Select Currency - </option>
<option value="USD">USD</option>
<option value="GBP">GBP</option>
<option value="EUR">Euro</option>
</select>
<label>Currency</label>
</div>
<div class="input-field col s12">
<select id="cryptocurrency">
<option value="" disabled selected>- Select Cryptocurrency -</option>
</select>
<label>Cryptocurrency</label>
</div>
<div class="input-field col s12">
<button class="btn waves-effect waves-light orange darken-3" type="submit" name="action">Get Evaluation
<i class="material-icons right">attach_money</i>
</button>
</div>
<div class="messages col s12"></div>
<div class="spinner"></div>
<div id="result" class="col s12"></div>
</div>
</div>
</form>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script src="js/cryptoAPI.js"></script>
<script src="js/ui.js"></script>
<script src="js/app.js"></script>
<script>
(function() {
$(document).ready(function(){
setTimeout(() => {
$('select').select();
}, 4000);
});
})(jQuery);
</script>
<style>
.fa{
font-size:30px;
margin:5px;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.fa:hover{
font-size: 40px;
transform: rotate(45deg);
}
.fa-github:hover{
color:rgb(255, 0, 200);
}
.fa-twitter:hover{
color:#12c3e2;
}
.fa-linkedin:hover{
color:#12c3e2;
}
.fa-facebook:hover{
color:#10006b;
}
body {
background: #136a8a; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #136a8a, #267871); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #136a8a, #267871); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
h1 {
font-size: 34px;
color: white;
font-family: 'Playfair Display', serif;
}
form {
margin: 50px auto;
}
.main-content {
margin: 50px auto;
background-color: white;
-webkit-box-shadow: -1px 20px 52px -13px rgba(0,0,0,0.75);
-moz-box-shadow: -1px 20px 52px -13px rgba(0,0,0,0.75);
box-shadow: -1px 20px 52px -13px rgba(0,0,0,0.75);
}
.messages {
color: white;
}
#result {
text-align: center;
}
.btn {
width: 100%;
}
.spinner {
text-align: center;
}
.about{
text-decoration-line: underline;
}
.amount{
font-weight: bold;
}
.percent{
text-decoration-line: underline;
}
.title{
font-weight: bold
}
</style>
</div>
<div class="about center">Developed by Nate Osterfeld</div>
<div class="background center">
<span>
<a href="https://www.facebook.com/nathaniel.osterfeld"><i class="fa fa-round fa-facebook"></i></a>
<a href="https://twitter.com/OsterfeldNate"><i class="fa fa-round fa-twitter"></i></a>
<a href="https://github.com/NateOsterfeld"><i class="fa fa-github" style="font-size:48px;"></i></a>
<a href="https://linkedin.com/in/nathanielosterfeld"><i class="fa fa-round fa-linkedin"></i></a>
</span>
</div>
</body>
</html>