-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
110 lines (110 loc) · 4.61 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
<title>Loan Eligibility</title>
</head>
<body>
<div class="head_section">
<h2>ABC Banking Solutions</h2>
<hr>
<p>Loan Eligibility System</p>
</div>
<form action="/predict", method="POST">
<div class="flex_container">
<div class="left">
<p class="name">
Applicant's Name *:
<input type="text" placeholder="First Name" required>
<input type="text" placeholder="Last Name" required>
</p>
<p class="gender">
Gender *:
<input type="radio" value="0" name="gender" required>
<label for="Male">Male</label>
<input type="radio" value="1" name="gender">
<label for="Female">Female</label>
</p>
<p class="married">
Married *:
<input type="radio" value="1" name="married" required>
<label for="yes">Yes</label>
<input type="radio" value="0" name="married">
<label for="no">No</label>
</p>
<p class="dependants">
Dependants *:
<select name="dependants" required>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3+</option>
</select>
</p>
<p class="education">
Education *:
<select name="education" required>
<option value="1">Graduate</option>
<option value="0">Non-Graduate</option>
</select>
</p>
<p class="selfemployed">
Self-Employed *:
<input type="radio" value="1" name="self" required>
<label for="yes">Yes</label>
<input type="radio" value="0" name="self">
<label for="no">No</label>
</p>
</div>
<div class="right">
<p class="appincome">
Applicant's Income *:
<input type="number" name="app_income" required>
</p>
<p class="coappincome">
Co-applicant's Income *:
<input type="number" name="coapp_income" required>
</p>
<p class="loanamt">
Loan Amount *:
<input type="number" name="loan_amt" required>
</p>
<p class="loanterm">
Loan Term (in months) *:
<select name="loan_term" required>
<option value="12">12</option>
<option value="36">36</option>
<option value="60">60</option>
<option value="84">84</option>
<option value="120">120</option>
<option value="180">180</option>
<option value="240">240</option>
<option value="300">300</option>
<option value="360">360</option>
<option value="480">480</option>
</select>
</p>
<p class="credit">
Credit History *:
<input type="radio" value="1" name="credit" required>
<label for="yes">Yes</label>
<input type="radio" value="0" name="credit">
<label for="no">No</label>
</p>
<p class="location">
Address Location *:
<select name="location" required>
<option value="0">Urban</option>
<option value="1">Rural</option>
<option value="2">Semi-urban</option>
</select>
</p>
</div>
</div>
<input type="submit" class="button" value="Check Eligibility">
</form>
<h3 class="output">{{ output }}</h3>
</body>
</html>