-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
78 lines (70 loc) · 2.76 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.1.4/tailwind.min.css">
<link href="https://fonts.googleapis.com/css2?family=Nunito&display=swap" rel="stylesheet">
<title>Paytm-Nodejs</title>
<style>
body {
background-color: #e9e8e8;
font-family: Nunito, sans-serif;
}
footer {
position: fixed;
bottom: 0;
text-align: center;
background: #212529;
color: white;
padding: 15px;
width: 100%;
}
.footer a {
text-decoration: none;
color: white;
}
</style>
</head>
<body class="bg-gray-100">
<nav class="bg-gray-800 p-3">
<a class="text-white font-bold text-xl" href="/">Paytm Node.js Demo App</a>
</nav>
<div class="mx-auto my-5 max-w-sm sm:max-w-md bg-white rounded-lg overflow-hidden shadow-lg">
<div class="px-4 py-4">
<form class="" action="/paynow" method="post">
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="name">Name:</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="name" type="text" placeholder="Subham Maity" name="name">
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="email">Email:</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="email" type="text" placeholder="youremail@example.com" name="email">
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="phone">Phone:</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="phone" type="text" placeholder="+91 9999999999" name="phone">
</div>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="amount">Amount:</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="amount" type="text" placeholder="9999" name="amount">
</div>
<div class="flex items-center justify-center">
<button
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
type="submit">
Pay Now
</button>
</div>
</form>
</div>
</div>
</body>
</html>