diff --git a/ui/src/Result.svelte b/ui/src/Result.svelte index 425243a..ea8c877 100644 --- a/ui/src/Result.svelte +++ b/ui/src/Result.svelte @@ -6,6 +6,13 @@ console.log(parseResult.metadata); +
+ Parsed + {parseResult.pages.length} + pages with + {parseResult.pages.reduce((count, page) => count + page.items.length, 0)} + items +
Title: {parseResult.metadata.title()}
Author: {parseResult.metadata.author()}
diff --git a/ui/src/Upload.svelte b/ui/src/Upload.svelte index 5965d70..fee4cc1 100644 --- a/ui/src/Upload.svelte +++ b/ui/src/Upload.svelte @@ -23,7 +23,7 @@ } -
+
(dragover = true)} @@ -35,7 +35,7 @@ -
+
Drop your PDF file here...
Or click the box to select one...
Note: Your data stays locally in your browser.