forked from shell-raiser/Parsify-WebApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (82 loc) · 3.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Parsify</title>
<link rel="stylesheet" href="/public/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
</head>
<body>
<!-- <ul>
<li><a href="info.html">INFO</a></li>
<li><a href="uplode.html">UPLODE</a></li>
<li><a href="result.html">RESULT</a></li>
<li><a href="translate.html">TRANSLATE</a></li>
</ul> -->
<div class="container rounded" style="padding: 30px;">
<h1 class="title"> Parsify</h1>
<b>A Web App and API for PDF Parsing</b>
</div>
<div class="container" style="background-color: rgba(255, 255, 255,0.4);padding: 40px;">
<!-- <input class="button" type="file" id="inpFile"> -->
<!-- <button class="button" type="button" id="btnUpload">Upload</button> -->
<form enctype="multipart/form-data" method="POST" action="extractOne">
<input id="inputfield" class="button" type="file" name="upfile">
<label for="States">Select State:</label>
<select class="menu button" name="States" id="stateMenu">
<option value="0">Andhra Pradesh</option>
<option value="1">Bihar</option>
<option value="2">Chhattisgarh</option>
<option value="3">Gujarat</option>
<option value="4">Haryana</option>
<option value="5">Karnataka</option>
<option value="6">Kerala</option>
<option value="7">Madhya Pradesh</option>
<option value="8">Maharashtra</option>
<option value="9">Orissa</option>
<option value="10">Puducherry</option>
<option value="11">Punjab</option>
<option value="12">Rajasthan</option>
<option value="13">Tamil Nadu</option>
<option value="14">Uttar Pradesh</option>
</select>
<input id="button" class="button" type="submit" value="Upload">
</form>
<br>
<br>
<textarea id="resultText" style="min-width: 80%;min-height:200px; text-align: center;"
placeholder="Your JSON text will appear here..."></textarea>
</div>
<script>
let States = ["Andhra Pradesh", "Bihar", "Chhattisgarh", "Gujarat", "Haryana", "Karnataka", "Kerala", "Madhya Pradesh", "Maharashtra", "Orissa", "Puducherry", "Punjab", "Rajasthan", "Tamil Nadu", "Uttar Pradesh"
];
let languageSelected = stateMenu.value;
console.log(languageSelected)
// const inpFile = document.getElementById("inpFile");
// const btnUpload = document.getElementById("btnUpload");
// const resultText = document.getElementById("resultText");
// button.addEventListener("click", () => {
// var
// });
</script>
<footer id="foot" class="footer">
<!-- <div class="container"> -->
<!-- <div class="row"> -->
<!-- <div class="col2"> -->
<div class="content">
<p>
<h3>Parsify Creators</h3>
<a href="https://github.com/shell-raiser">K S Shailesh | </a>
<a href="https://github.com/thanmaisai">Thanmai Sai P | </a>
<a href="https://github.com/beast-sanjay">Sanjay C Hiremath</a>
<p> See the <a href="https://github.com/shell-raiser/Parsify-WebApp">GitHub Repo</a> for more info</p>
</p>
</div>
<!-- </div> -->
<!-- </div> -->
</footer>
<footer></footer>
</body>
</html>