Spaces:
Sleeping
Sleeping
Commit
·
04c6a1c
1
Parent(s):
7ebdfaa
updated html&css
Browse files- static/style.css +77 -0
- templates/home.html +7 -0
static/style.css
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*{
|
2 |
+
padding: 0%;
|
3 |
+
margin: 0%;
|
4 |
+
}
|
5 |
+
body {
|
6 |
+
display: flex;
|
7 |
+
justify-content: center;
|
8 |
+
align-items: center;
|
9 |
+
min-height: 50vh;
|
10 |
+
background-color:#001C30;
|
11 |
+
/* Add some margin around the body */
|
12 |
+
}
|
13 |
+
.all {
|
14 |
+
background-color: #7895CB;
|
15 |
+
border-radius: 20px;
|
16 |
+
border: none;
|
17 |
+
}
|
18 |
+
|
19 |
+
h1 {
|
20 |
+
background-color: #7895CB; /* Light blue background */
|
21 |
+
color: #001C30; /* Dark text color for readability */
|
22 |
+
padding: 10px 20px;
|
23 |
+
border-radius: 5px;
|
24 |
+
margin: 10px;
|
25 |
+
|
26 |
+
display: flex;
|
27 |
+
justify-content: center;
|
28 |
+
text-align: center;
|
29 |
+
/* Rounded corners */
|
30 |
+
}
|
31 |
+
.login {
|
32 |
+
border: none; /* Add a border to the login form */
|
33 |
+
padding: 10px; /* Add some padding inside the form */
|
34 |
+
border-radius: 3px; /* Add rounded corners to the form */
|
35 |
+
}
|
36 |
+
|
37 |
+
.mb-3 {
|
38 |
+
margin-bottom: 1rem; /* Class for spacing between form elements */
|
39 |
+
}
|
40 |
+
|
41 |
+
.form-label {
|
42 |
+
display: flex; /* Make labels appear on separate lines */
|
43 |
+
margin-bottom: 5px;
|
44 |
+
border: none;
|
45 |
+
/* Add space below labels */
|
46 |
+
}
|
47 |
+
|
48 |
+
.btn-primary {
|
49 |
+
background-color: #3C5B6F; /* Set blue color for button */
|
50 |
+
color: #001C30; /* Set white text color for button */
|
51 |
+
border: none; /* Remove button border */
|
52 |
+
padding: 10px 20px; /* Add padding to the button */
|
53 |
+
border-radius: 5px;
|
54 |
+
border-color: #001C30;
|
55 |
+
display: flex;
|
56 |
+
justify-content: center;
|
57 |
+
text-align: center; /* Add rounded corners to button */
|
58 |
+
}
|
59 |
+
select {
|
60 |
+
width: 100%; /* Make select boxes fill full width */
|
61 |
+
}
|
62 |
+
|
63 |
+
input[type="number"] {
|
64 |
+
width: 50%; /* Set width for number input fields */
|
65 |
+
}
|
66 |
+
h2 {
|
67 |
+
display: flex;
|
68 |
+
justify-content: center;
|
69 |
+
text-align: center; /* Center align the prediction result */
|
70 |
+
color: #001C30; /* Set green color for the prediction */
|
71 |
+
}
|
72 |
+
legend {
|
73 |
+
font-size: 1.5rem; /* Adjust font size as needed */
|
74 |
+
padding: 5px; /* Adjust padding for spacing */
|
75 |
+
}
|
76 |
+
|
77 |
+
|
templates/home.html
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
|
2 |
<html>
|
|
|
|
|
|
|
|
|
|
|
3 |
<body>
|
|
|
4 |
<div class="login">
|
5 |
<h1>Student Exam Performance Indicator</h1>
|
6 |
|
@@ -108,5 +114,6 @@
|
|
108 |
<h2>
|
109 |
THE prediction is {{results}}
|
110 |
</h2>
|
|
|
111 |
<body>
|
112 |
</html>
|
|
|
1 |
|
2 |
<html>
|
3 |
+
<head>
|
4 |
+
<title>Student Exam Performance Indicator</title>
|
5 |
+
<link rel="stylesheet" type="text/css" href="style.css">
|
6 |
+
</head>
|
7 |
+
|
8 |
<body>
|
9 |
+
<div class="all">
|
10 |
<div class="login">
|
11 |
<h1>Student Exam Performance Indicator</h1>
|
12 |
|
|
|
114 |
<h2>
|
115 |
THE prediction is {{results}}
|
116 |
</h2>
|
117 |
+
</div>
|
118 |
<body>
|
119 |
</html>
|