-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (135 loc) · 4.43 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Predictor</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<style>
body,
html {
margin: 0;
padding: 0;
height: 100%;
/* background: #60a3bc !important; */
background: #0000FF !important;
}
.user_card {
height: 400px;
width: 350px;
margin-top: auto;
margin-bottom: auto;
background: #f39c12;
position: relative;
display: flex;
justify-content: center;
flex-direction: column;
padding: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
-moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 5px;
}
.brand_logo_container {
position: absolute;
height: 170px;
width: 170px;
top: -75px;
border-radius: 50%;
background: #60a3bc;
padding: 10px;
text-align: center;
}
.brand_logo {
height: 150px;
width: 150px;
border-radius: 100%;
border: 2px solid white;
}
.form_container {
margin-top: 100px;
}
.login_btn {
width: 100%;
background: #c0392b !important;
color: white !important;
}
.login_btn:focus {
box-shadow: none !important;
outline: 0px !important;
}
.login_container {
padding: 0 2rem;
}
.input-group-text {
background: #c0392b !important;
color: white !important;
border: 0 !important;
border-radius: 0.25rem 0 0 0.25rem !important;
}
.input_user,
.input_pass:focus {
box-shadow: none !important;
outline: 0px !important;
}
</style>
</head>
<body>
<!-- <div class="container">
<div class="d-flex align-items-center">
<h1>Stock Price Prediction</h1>
</div>
<form action="/predict/" method="post">
<div class="mb-3 from-group">
<label for="Open" class="form-label">Open</label>
<input type="text" class="form-control" id="Open" name="Open">
</div>
<div class="mb-3 from-group">
<label for="High" class="form-label">High</label>
<input type="text" class="form-control" id="High" name="High">
</div>
<div class="mb-3 from-group">
<label for="Low" class="form-label">Low</label>
<input type="text" class="form-control" id="Low" name="Low">
</div>
<div class="mb-3 from-group">
<label for="Volume" class="form-label">Volume</label>
<input type="text" class="form-control" id="Volume" name="Volume">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div> -->
<div class="container h-100">
<div class="d-flex justify-content-center h-100">
<div class="user_card">
<div class="d-flex justify-content-center">
<div class="brand_logo_container">
<img src="../static/aa.jpeg" class="brand_logo" alt="Logo">
</div>
</div>
<div class="d-flex justify-content-center form_container">
<form action="/predict/" method="post">
<div class="input-group mb-3">
<input type="text" name="Open" id="Open" class="form-control input_user" placeholder="Open Price">
</div>
<div class="input-group mb-2">
<input type="text" name="High" id="High" class="form-control input_pass" placeholder="High Price">
</div>
<div class="input-group mb-2">
<input type="text" name="Low" id="Low" class="form-control input_pass" placeholder="Low Price">
</div>
<div class="input-group mb-2">
<input type="text" name="Volume" id="Volume" class="form-control input_pass" placeholder="Stock Volume">
</div>
<div class="d-flex justify-content-center mt-3 login_container">
<button type="submit" class="btn login_btn">Predict Close Price</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>