-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwhoseamount.php
More file actions
168 lines (140 loc) · 3.22 KB
/
whoseamount.php
File metadata and controls
168 lines (140 loc) · 3.22 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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<title>Whose Amount</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style type="text/css">
@font-face{
font-family: 'Varela Round', sans-serif;
src: url(VarelaRound-Regular.ttf);
}
body {
background: #7d1a9b;
}
h4
{
margin-top: 100px;
text-align: center;
color: #c4bec4;
}
.panel
{
margin-top: 20px;
}
.text-center
{
margin-top: 30px;
}
.fa
{
color: white;
font-size: 20px;
}
input[type="number"]
{
border-radius: 2px;
border: 2px solid grey;
height: 40px;
width: 80%;
font-weight:bold;
text-align: center;
transition: box-shadow 0.3s;
}
.btn
{
margin-top: 0px;
margin-bottom: 20p;
}
.rent
{
margin-top: 20px;
text-align:left;
margin-left: 60px;
}
.contain {
display: block;
position: relative;
padding-left: 35px;
margin-bottom: 18px;
cursor: pointer;
font-size: 15px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the browser's default radio button */
.contain input {
position: absolute;
opacity: 0;
}
/* Create a custom radio button */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
border-radius: 50%;
}
/* On mouse-over, add a grey background color */
.contain:hover input ~ .checkmark {
background-color: #ccc;
}
/* When the radio button is checked, add a blue background */
.contain input:checked ~ .checkmark {
background-color: orange;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the indicator (dot/circle) when checked */
.contain input:checked ~ .checkmark:after {
display: block;
}
/* Style the indicator (dot/circle) */
.contain .checkmark:after {
top: 9px;
left: 9px;
width: 8px;
height: 8px;
border-radius: 50%;
background: white;
}
</style>
</head>
<body>
<h4>Add Amount to Box</h4>
<div class="container">
<form method="post" action="whoseamount_check.php">
<div class="text-center">
<i class="fa fa-inr" aria-hidden="true"></i> <input type="number" name="boxamount" required="" placeholder="How Much?"><br>
<div class="panel panel-primary">
<div class="panel-heading">
<p><b>Whose amount is this?</b></p></div>
<div class="panel-body">
<div class="rent">
<label class="contain">Room Rent Amount
<input type="radio" checked="checked" name="whoseamount" value="Room Rent Amount">
<span class="checkmark"></span>
</label>
<label class="contain">My Own Money
<input type="radio" name="whoseamount" value="My Own Money">
<span class="checkmark"></span>
</label></div>
<hr>
<button type="submit" name="submit" class="btn btn-primary">Submit</button><br>
</div></div></div>
<div class="text-center"><a href="enterpurchase.php" style="color: white"><< Back</a></div>
</form>
</body>
</html>