-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpaybillsdetails.html
116 lines (112 loc) · 4.09 KB
/
paybillsdetails.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
<!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" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:400,700"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
/>
<!--<link rel="stylesheet" href="css/icon-font.css">-->
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/png" href="img/favicon.png" />
<title>FamBank | Pay Other Bills</title>
</head>
<body>
<div class="warningBox" id="warningBoxSix"></div>
<div class="successBox" id="successBoxBillOthers"></div>
<header class="accountHeader">
<h1 class="accountHeader__h1" id="billDetailsPageName"></h1>
<nav class="accountHeader__nav">
<ul class="accountHeader__list">
<li class="accountHeader__item">
<a href="#" onclick="goHome()">Account Home</a>
</li>
</ul>
</nav>
</header>
<section class="paybills">
<h2
class="heading-secondary"
style="
font-size: 3rem;
margin-top: 2rem;
margin-bottom: 2rem;
margin-left: 0;
margin-right: 0;
"
>
Pay your bill
</h2>
<!-- fix text fields width & position -->
<div class="paybills__form">
<div class="form__group paybillsdetailsform">
<input
type="text"
class="form__input"
placeholder="Type"
id="othersBillType"
required
/>
<label for="othersType" class="form__label">Type</label>
</div>
<div class="form__group paybillsdetailsform">
<input
type="text"
class="form__input"
placeholder="Bill Number"
id="othersBillNumber"
required
/>
<label for="othersBillNumber" class="form__label"
>Bill Number</label
>
</div>
<div class="form__group paybillsdetailsform">
<input
type="text"
class="form__input"
placeholder="Amount"
id="othersAmount"
required
/>
<label for="othersAmount" class="form__label">Amount</label>
</div>
<!-- style this class="form__label"-->
<div class="paybillsdetailsdiv" style="margin-bottom: 2rem">
<input
class="paybillsdetailsdivcheckbox"
type="checkbox"
id="othersAutomaticPayment"
name="automatic-payment"
/>
<label for="othersAutomaticPayment" class="paybillsdetailsdivlabel"
>Automatic Monthly Payment</label
>
</div>
<!-- put this in center -->
<div class="form__group">
<button class="btn btn--green" id="others" onclick="payBill('others')">Submit →</button>
<button class="btn btn--green" onclick="backToBills()">Back →</button>
</div>
</div>
</section>
<script src="integration.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const name = document.getElementById('billDetailsPageName')
name.innerHTML = params.name
})
function backToBills(){
window.location.href = `paybills.html?accId=${params.accId}&name=${params.name}`
}
</script>
</body>
</html>
</head>
</html>