From 1de126172810aa93e39236f375f8ae1262c2cb91 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 19 Oct 2026 22:23:50 -0700 Subject: [PATCH] Ok thats a better start, two tabs --- .../ocr-template-editor.component.html | 353 +++++++++--------- .../ocr-template-editor.component.scss | 4 - .../ocr-template-editor.component.spec.ts | 18 + .../ocr-template-editor.component.ts | 18 +- 4 files changed, 199 insertions(+), 194 deletions(-) diff --git a/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html b/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html index a796966ae..38a02d65f 100644 --- a/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html +++ b/src-ui/src/app/components/manage/ocr-templates/ocr-template-editor/ocr-template-editor.component.html @@ -1,62 +1,20 @@ -
- -
- - - @if (previewDocId) { - - } -
- - {{ documentFormatter(document) }} - -
- @switch (searchStatus()) { - @case ('loading') { Searching... } - @case ('empty') { No matching documents. } - @case ('error') { Document search failed. } - } -
-
+ + Close + +
-
- - - - -
-