WebashalarForML
commited on
Commit
•
09388a6
1
Parent(s):
66d51b6
Update templates/index.html
Browse files- templates/index.html +152 -104
templates/index.html
CHANGED
@@ -9,114 +9,162 @@
|
|
9 |
rel="stylesheet"
|
10 |
/>
|
11 |
<style>
|
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 |
</style>
|
110 |
</head>
|
111 |
<body>
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
<button class="tablinks" onclick="openLink('https://webashalarforml-imagedataextractor2.hf.space/')">
|
117 |
-
<button class="tablinks
|
118 |
</div>
|
119 |
-
|
|
|
|
|
120 |
<div class="file-upload-section">
|
121 |
|
122 |
<form
|
|
|
9 |
rel="stylesheet"
|
10 |
/>
|
11 |
<style>
|
12 |
+
body {
|
13 |
+
background-color: #1c1c1e;
|
14 |
+
font-family: "Poppins", sans-serif;
|
15 |
+
color: #f5f5f7;
|
16 |
+
margin: 0;
|
17 |
+
}
|
18 |
+
|
19 |
+
h1 {
|
20 |
+
color: #e5e5e7;
|
21 |
+
text-align: center;
|
22 |
+
margin-bottom: 20px;
|
23 |
+
}
|
24 |
+
|
25 |
+
.container {
|
26 |
+
margin-top: 70px;
|
27 |
+
}
|
28 |
+
|
29 |
+
.file-upload-section {
|
30 |
+
background-color: #2c2c2e;
|
31 |
+
padding: 30px;
|
32 |
+
border-radius: 15px;
|
33 |
+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
|
34 |
+
text-align: center;
|
35 |
+
}
|
36 |
+
|
37 |
+
.file-upload-section input[type="file"] {
|
38 |
+
margin: 20px 0;
|
39 |
+
}
|
40 |
+
|
41 |
+
.file-upload-section input[type="submit"] {
|
42 |
+
background-color: #e68a00;
|
43 |
+
color: white;
|
44 |
+
border: none;
|
45 |
+
padding: 10px 20px;
|
46 |
+
border-radius: 5px;
|
47 |
+
transition: background-color 0.3s ease;
|
48 |
+
}
|
49 |
+
|
50 |
+
.file-upload-section input[type="submit"]:hover {
|
51 |
+
background-color: #e68a00;
|
52 |
+
}
|
53 |
+
|
54 |
+
.file-actions a {
|
55 |
+
margin: 0 10px;
|
56 |
+
text-decoration: none;
|
57 |
+
color: #e68a00;
|
58 |
+
}
|
59 |
+
|
60 |
+
.file-actions a:hover {
|
61 |
+
color: #e68a00;
|
62 |
+
}
|
63 |
+
|
64 |
+
.flash-message {
|
65 |
+
margin-bottom: 20px;
|
66 |
+
padding: 15px;
|
67 |
+
border-radius: 5px;
|
68 |
+
color: #333;
|
69 |
+
}
|
70 |
+
|
71 |
+
.alert {
|
72 |
+
text-align: center;
|
73 |
+
position: sticky;
|
74 |
+
top: 0;
|
75 |
+
right: 15%;
|
76 |
+
}
|
77 |
+
|
78 |
+
/* Loader styles */
|
79 |
+
.loader {
|
80 |
+
border: 8px solid #f3f3f3;
|
81 |
+
border-top: 8px solid #e68a00;
|
82 |
+
border-radius: 50%;
|
83 |
+
width: 60px;
|
84 |
+
height: 60px;
|
85 |
+
animation: spin 2s linear infinite;
|
86 |
+
margin: 20px auto;
|
87 |
+
display: none;
|
88 |
+
}
|
89 |
+
|
90 |
+
@keyframes spin {
|
91 |
+
0% {
|
92 |
+
transform: rotate(0deg);
|
93 |
+
}
|
94 |
+
|
95 |
+
100% {
|
96 |
+
transform: rotate(360deg);
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
/* Top bar styles */
|
101 |
+
.top-bar {
|
102 |
+
background-color: #333;
|
103 |
+
position: fixed;
|
104 |
+
top: 0;
|
105 |
+
width: 100%;
|
106 |
+
z-index: 1000;
|
107 |
+
padding: 10px 20px;
|
108 |
+
display: flex;
|
109 |
+
justify-content: space-between;
|
110 |
+
align-items: center;
|
111 |
+
}
|
112 |
+
|
113 |
+
.top-bar h2 {
|
114 |
+
color: white;
|
115 |
+
}
|
116 |
+
|
117 |
+
/* Navigation tab styles */
|
118 |
+
.tab {
|
119 |
+
display: flex;
|
120 |
+
gap: 10px;
|
121 |
+
}
|
122 |
+
|
123 |
+
.tab button {
|
124 |
+
background-color: inherit;
|
125 |
+
border: none;
|
126 |
+
outline: none;
|
127 |
+
cursor: pointer;
|
128 |
+
padding: 10px 16px;
|
129 |
+
transition: 0.3s;
|
130 |
+
font-size: 17px;
|
131 |
+
color: white;
|
132 |
+
}
|
133 |
+
|
134 |
+
.tab button:hover {
|
135 |
+
background-color: #575757;
|
136 |
+
}
|
137 |
+
|
138 |
+
.tab button.active {
|
139 |
+
background-color: #444;
|
140 |
+
}
|
141 |
+
|
142 |
+
/* Tab content styles */
|
143 |
+
.tabcontent {
|
144 |
+
display: none;
|
145 |
+
padding: 20px;
|
146 |
+
margin-top: 70px;
|
147 |
+
}
|
148 |
+
|
149 |
+
/* Responsive design */
|
150 |
+
@media (max-width: 768px) {
|
151 |
+
.tab {
|
152 |
+
flex-direction: column;
|
153 |
+
}
|
154 |
+
}
|
155 |
</style>
|
156 |
</head>
|
157 |
<body>
|
158 |
+
<div class="top-bar">
|
159 |
+
<h2>Capture AI</h2>
|
160 |
+
<!-- Navigation Tabs -->
|
161 |
+
<div class="tab">
|
162 |
+
<button class="tablinks" onclick="openLink('https://webashalarforml-imagedataextractor2.hf.space/', this, '#ff4d00')">Visiting Card Data Extractor</button>
|
163 |
+
<button class="tablinks" onclick="openLink('https://webashalarforml-resumeextractor2.hf.space/', this, '#ff4d00')" id="defaultOpen">Resume Data Extractor</button>
|
164 |
</div>
|
165 |
+
</div>
|
166 |
+
<div class="container">
|
167 |
+
<h1>Resume Data Extractor</h1>
|
168 |
<div class="file-upload-section">
|
169 |
|
170 |
<form
|