welcometoFightclub's picture
Upload 48 files
a263bf4 verified
Raw History Blame Contribute Delete
1.03 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Purchase order extractor</title>
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<main class="card">
<h1>Purchase order extractor</h1>
<p class="hint">Upload a purchase-order PDF. The page checks its extraction status every 2.5 seconds.</p>
<form id="upload-form">
<label for="document">Document</label>
<input id="document" name="file" type="file" accept="application/pdf,.pdf" required>
<button id="submit" type="submit">Extract content</button>
</form>
<section aria-live="polite">
<h2>Document status</h2>
<p id="status">No document submitted.</p>
</section>
<section>
<h2>Extracted JSON</h2>
<pre id="result">The extraction result will appear here.</pre>
</section>
</main>
<script src="/static/app.js"></script>
</body>
</html>