A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Add preview tab for mobile & hide larger preview
Michael Shamoon05b9af619552
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.htmlindex f9f6e57ef..0fb91af23 100644--- a/src-ui/src/app/components/document-detail/document-detail.component.html+++ b/src-ui/src/app/components/document-detail/document-detail.component.html@@ -160,6 +160,15 @@</ng-template></li>++ <li [ngbNavItem]="4" class="d-md-none">+ <a ngbNavLink>Preview</a>+ <ng-template ngbNavContent>+ <div class="pdf-viewer-container" *ngIf="getContentType() == 'application/pdf'">+ <pdf-viewer [src]="previewUrl" [original-size]="false" [show-borders]="true"></pdf-viewer>+ </div>+ </ng-template>+ </li></ul><div [ngbNavOutlet]="nav" class="mt-2"></div>@@ -171,7 +180,7 @@</form></div>- <div class="col-md-6 col-xl-8 mb-3">+ <div class="col-md-6 col-xl-8 mb-3 d-none d-md-block"><div class="pdf-viewer-container" *ngIf="getContentType() == 'application/pdf'"><pdf-viewer [src]="previewUrl" [original-size]="false" [show-borders]="true"></pdf-viewer></div>