59 lines
1.9 KiB
HTML
59 lines
1.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>BizMatch QC</title>
|
|
<link rel="stylesheet" href="/styles.css">
|
|
<script type="module">
|
|
import * as pdfjsLib from "/pdfjs/pdf.min.mjs";
|
|
pdfjsLib.GlobalWorkerOptions.workerSrc = "/pdfjs/pdf.worker.min.mjs";
|
|
globalThis.pdfjsLib = pdfjsLib;
|
|
</script>
|
|
<script type="module" src="/pdf_viewer.js"></script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<strong>BizMatch QC</strong>
|
|
<input id="search" placeholder="Search name, business, or address">
|
|
<button id="settings">Settings</button>
|
|
<span id="status"></span>
|
|
</header>
|
|
<div id="errorBanner" class="error-banner" hidden></div>
|
|
<main>
|
|
<aside>
|
|
<div id="people"></div>
|
|
</aside>
|
|
<section class="details">
|
|
<div id="fields"></div>
|
|
</section>
|
|
<section class="viewer">
|
|
<div id="pdfViewer"></div>
|
|
<div id="pdfMessage">Select a document</div>
|
|
</section>
|
|
</main>
|
|
<dialog id="settingsDialog">
|
|
<form method="dialog">
|
|
<h2>Settings</h2>
|
|
<label class="checkbox-label">
|
|
<input type="checkbox" id="useAnonData">
|
|
Use anonymized sample data
|
|
</label>
|
|
<label>buyers_vision.json
|
|
<input id="jsonPath" autocomplete="off">
|
|
</label>
|
|
<label>PDF base directory
|
|
<input id="pdfBase" autocomplete="off">
|
|
</label>
|
|
<div id="settingsError" class="dialog-error" hidden></div>
|
|
<div class="actions">
|
|
<button value="cancel">Cancel</button>
|
|
<button id="saveSettings" value="default">Save</button>
|
|
</div>
|
|
<p class="hint">Full PDF path: base directory / _letter / file_name</p>
|
|
</form>
|
|
</dialog>
|
|
<script type="module" src="/app.js"></script>
|
|
</body>
|
|
</html>
|