WebashalarForML commited on
Commit
25b116a
·
verified ·
1 Parent(s): c878ced

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +33 -2
templates/index.html CHANGED
@@ -78,14 +78,40 @@
78
  0% { transform: rotate(0deg); }
79
  100% { transform: rotate(360deg); }
80
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  </style>
82
  </head>
83
  <body>
84
  <div class="container">
85
  <h1>Resume Data Extractor</h1>
86
 
87
- <div class="file-upload-section">
88
-
 
 
 
 
89
 
90
  <form
91
  id="fileUploadForm"
@@ -140,6 +166,11 @@
140
  setTimeout(() => flashMessage.remove(), 1000);
141
  }
142
  }, 3000);
 
 
 
 
 
143
  </script>
144
  </body>
145
  </html>
 
78
  0% { transform: rotate(0deg); }
79
  100% { transform: rotate(360deg); }
80
  }
81
+
82
+ /* Tabs styles */
83
+ .tab {
84
+ position: absolute;
85
+ top: 10px;
86
+ left: 10px;
87
+ }
88
+
89
+ .tab button {
90
+ background-color: #ee4410;
91
+ border: none;
92
+ padding: 10px;
93
+ margin: 0 5px;
94
+ color: #f5f5f7;
95
+ cursor: pointer;
96
+ border-radius: 5px;
97
+ transition: background-color 0.3s ease;
98
+ }
99
+
100
+ .tab button:hover {
101
+ background-color: #444;
102
+ }
103
  </style>
104
  </head>
105
  <body>
106
  <div class="container">
107
  <h1>Resume Data Extractor</h1>
108
 
109
+ <div class="tab">
110
+ <button class="tablinks" onclick="openLink('https://en.wikipedia.org/wiki/London')">Image Extractor</button>
111
+ <button class="tablinks" onclick="openLink('https://en.wikipedia.org/wiki/Paris')">Resume Parser Extractor</button>
112
+ </div>
113
+
114
+ <div class="file-upload-section">
115
 
116
  <form
117
  id="fileUploadForm"
 
166
  setTimeout(() => flashMessage.remove(), 1000);
167
  }
168
  }, 3000);
169
+
170
+ // Function to open links
171
+ function openLink(url) {
172
+ window.open(url, '_blank'); // Opens the link in a new tab
173
+ }
174
  </script>
175
  </body>
176
  </html>