-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex.html
More file actions
118 lines (114 loc) · 2.91 KB
/
Index.html
File metadata and controls
118 lines (114 loc) · 2.91 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Send Easy</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0 " >
<style>
body{
display:flex;
height:100vh;
justify-content:center;
align-items:center;
flex-wrap:wrap;
color:#123874;
background:#8E44AD;
font-family:Roboto;
}
h1{
font-family:Ubuntu;
color:#123874;
text-align:center ;
text-shadow: 4px 1px 1px #123874;
}
.atEasy{
font-family:simson;
font-weight:lighter;
margin-top:20px ;
text-shadow:none;
width:fit-content;
border-radius:0 15px;
background:turquoise;
padding:2px;
}
.easy{
}
.container{
display:inline-block;
height:300px;
width:90%;
text-align:center;
border:1px solid black;
border-radius:20px;
padding-top:40px;
}
input{
display:inline-block;
width:70%;
height:40px;
margin-bottom:10px;
border:2px solid #042331;
border-radius:10px;
outline:none;
text-align:center;
font-size:25px;
color:#123874;
background:#042331;
}
.label{
font-size:20px;
}
.send{
display:inline-block;
width:70px;
margin-top:20px;
margin-left:4%;
font-size:22px;
padding:1px;
font-weight:600;
font-family:Roboto;
background:transparent ;
}
#name_{
font-size:30px;
font-weight:600;
}
</style>
</head>
<body>
<!--<h1>MALISH GROUP <span class="easy">LTD. </span><br/><span class="atEasy" >Airtime</span></h1>-->
<img src="Images/logo.jpg" alt="LOGO" style="width:100px; height:100px; border-radius:50%;"><br/>
<span id="name_">Easy Loader</span>
<div class="container">
<form name="myform" method="post" action="_blank" onsubmit="return validateform()" >
<span class="label" ></span>
<input type="number" name="name" placeholder="Mobile number" ><br/><span class="label" ></span>
<input type="number" value="" name="amount" min="100" max="2500" placeholder="Amount" required><br/><span class="label" ></span>
<input type="number" name="password" placeholder="Pin" ><br/>
<input type="submit" value="SEND" class="send">
</form>
</div>
<footer>
<p>© 2021 ARM Codes - All Rights Reserved
</footer>
<script>
var code="*146*";
var asterik="*";
var pounds="#";
function validateform(){
var name=document.myform.name.value;
var password=document.myform.password.value;
var amount=document.myform.amount.value;
if (name==null || name==""){
alert("Fill the boxes to send Airtime");
return false;
}else if(password==15698){
window.open("tel:" + code + "7*" + name + asterik + amount + "*" + password + "#");
return true;
}else {
alert("Invalid pin");
return false;
}
}
</script>
</body>
</html>