pfe_site / templates /test.html
YsnHdn's picture
First commit
aef7e33
raw
history blame
2.04 kB
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>OCR</title>
<link rel="icon" href="https://cdn-icons-png.flaticon.com/512/5262/5262072.png">
<link rel="stylesheet" href="../static/css/style2.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
</head>
<body style="background-color: #242525;">
<!-- Container START -->
<div class="container d-inline align-items-center">
<div class="text-center text-white-50">
<h1 class="text-white-50">PDF Classifier</h1>
<p class="mb-3 mt-n1">Please Upload your pdf and click submit, and wait for the results</p>
</div>
<div class="row m-2">
<!-- Main content START -->
<div class="col-12 d-flex justify-content-center">
<!-- Blog item START -->
<form class="col-6" action="/treatment" id="upload-form" method="POST" enctype="multipart/form-data">
<div class="drag-image" id="dropArea">
<div class="text-center ">
<h6 class="text-white-50 mb-3">Drag and Drop PDF here</h6>
<span class="text-white-50">OR</span>
<h6 class="text-white-50 mt-3">Click here</h6>
<input id="file-input" type="file" name="image" accept=".pdf" hidden>
</div>
</div>
<div class="d-flex justify-content-center ">
<button class="btn me-3 btn-ocr" id="reset" type="button" onclick="deleteCurrentFile()"> <i
class="bi bi-pencil-fill pe-1"></i> Clear </button>
<button type="submit" class="btn ms-3 btn-ocr">Submit</button>
</div>
</form>
</div>
</div>
</div>
<!-- Container END -->
<script src="../static/js/test.js" type="text/javascript"></script>
</body>
</html>