-
+
-
-
+
{{ confirmationDialogInput.confirmationText | translate: confirmationDialogInput.translateParams }}
-
+
{{ confirmationDialogInput.denyText | translate: confirmationDialogInput.translateParams }}
diff --git a/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.html b/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.html
index 2ac26d0e4..0b6a89394 100644
--- a/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.html
+++ b/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.html
@@ -32,7 +32,7 @@
-
+
@@ -47,7 +47,9 @@
-
+
+ {{ 'manual-annotation.dialog.actions.save' | translate }}
+
diff --git a/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts b/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts
index 3e3197507..17e3fd101 100644
--- a/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts
+++ b/apps/red-ui/src/app/dialogs/manual-redaction-dialog/manual-annotation-dialog.component.ts
@@ -31,8 +31,6 @@ export class ManualAnnotationDialogComponent implements OnInit {
redactionDictionaries: TypeValue[] = [];
legalOptions: LegalBasisOption[] = [];
- @ViewChild('textarea') private _textarea: ElementRef;
-
get title() {
return this._manualAnnotationService.getTitle(this.manualRedactionEntryWrapper.type);
}
@@ -85,10 +83,6 @@ export class ManualAnnotationDialogComponent implements OnInit {
this.redactionDictionaries.sort((a, b) => a.label.localeCompare(b.label));
}
- public get hasScrollbar() {
- return this._textarea?.nativeElement.clientHeight < this._textarea?.nativeElement.scrollHeight;
- }
-
handleAddRedaction() {
this._enhanceManualRedaction(this.manualRedactionEntryWrapper.manualRedactionEntry);
this._manualAnnotationService.addAnnotation(this.manualRedactionEntryWrapper.manualRedactionEntry).subscribe(
diff --git a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.html b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.html
index 45b1b5915..72b0407d3 100644
--- a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.html
+++ b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.html
@@ -5,15 +5,28 @@
-
-
-
-
-
-
-
{{ 'add-edit-dictionary.form.redaction' | translate }}
@@ -61,7 +69,9 @@
-
+
+ {{ 'add-edit-dictionary.save' | translate }}
+
diff --git a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.scss b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.scss
index 9bec5b50c..176922a86 100644
--- a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.scss
+++ b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/add-edit-dictionary-dialog/add-edit-dictionary-dialog.component.scss
@@ -4,7 +4,7 @@
display: flex;
> *:not(last-child) {
- margin-right: 24px;
+ margin-right: 16px;
}
.red-input-group {
@@ -23,3 +23,7 @@
transition: background-color 0.25s ease;
color: $white;
}
+
+.mb-14 {
+ margin-bottom: 14px;
+}
diff --git a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html
index 59c630664..14ab60446 100644
--- a/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html
+++ b/apps/red-ui/src/app/screens/admin/dictionary-listing-screen/dictionary-listing-screen.component.html
@@ -68,7 +68,7 @@
-
+
{{ currentMatch + '/' + searchPositions.length }}
-
+
diff --git a/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.scss b/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.scss
index 035108650..28ba1375a 100644
--- a/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.scss
+++ b/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.scss
@@ -45,7 +45,7 @@
.red-input-group {
margin-bottom: 16px;
- max-width: 450px;
+ max-width: 300px;
input {
padding-right: 32px;
diff --git a/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.html b/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.html
index 4d3f0e01d..db5068b80 100644
--- a/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.html
+++ b/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.html
@@ -37,7 +37,7 @@
-
+
diff --git a/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.scss b/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.scss
index a31941627..4cb561573 100644
--- a/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.scss
+++ b/apps/red-ui/src/app/screens/admin/users/user-listing-screen.component.scss
@@ -4,7 +4,7 @@
.grid-container {
grid-template-columns: 1fr 1fr 11px;
- &:hover {
+ &.has-scrollbar:hover {
grid-template-columns: 1fr 1fr;
}
diff --git a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html
index 23418b272..152a9d25b 100644
--- a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html
+++ b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html
@@ -26,9 +26,8 @@
diff --git a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.ts b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.ts
index d8e041e78..54f04ac2a 100644
--- a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.ts
+++ b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.ts
@@ -36,8 +36,6 @@ export class WatermarkScreenComponent implements OnInit {
@ViewChild('viewer', { static: true })
private _viewer: ElementRef;
- @ViewChild('textarea') private _textarea: ElementRef;
-
public viewReady = false;
public configForm: FormGroup;
@@ -104,10 +102,6 @@ export class WatermarkScreenComponent implements OnInit {
public triggerChanges() {}
- public get hasScrollbar() {
- return this._textarea?.nativeElement.clientHeight < this._textarea?.nativeElement.scrollHeight;
- }
-
private _loadViewer() {
WebViewer(
{
diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html
index 7ce8378cd..5a7884bcd 100644
--- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html
+++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html
@@ -157,14 +157,7 @@
-
+
{{ activeViewerPage }} - {{ displayedAnnotations[activeViewerPage]?.annotations?.length || 0 }}
@@ -172,38 +165,48 @@
>
-
- {{ 'file-preview.no-annotations-for-page' | translate }}
-
-
-
-
-
-
- {{ annotation.typeLabel | translate }}
-
-
- : {{ annotation.dictionary | humanize: false }}
-
-
- : {{ annotation.content }}
-
-
+
+ {{ 'file-preview.no-annotations-for-page' | translate }}
+
+
+
+
+
+
+
+ {{ annotation.typeLabel | translate }}
+
+
+ : {{ annotation.dictionary | humanize: false }}
+
+
+ : {{ annotation.content }}
+
+
+
+
+
-
-
diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss
index 9b810e8bb..ed43c7d7a 100644
--- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss
+++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.scss
@@ -60,7 +60,6 @@
.pages,
.annotations {
overflow-y: scroll;
- @include no-scroll-bar();
outline: none;
&.active-panel {
@@ -71,34 +70,37 @@
.pages {
border-right: 1px solid $separator;
min-width: 61px;
+ @include no-scroll-bar();
+ }
+
+ .page-separator {
+ border-bottom: 1px solid $separator;
+ height: 32px;
+ box-sizing: border-box;
+ padding: 0 10px;
+ display: flex;
+ align-items: center;
+ background-color: $grey-6;
}
.annotations {
+ overflow: hidden;
width: 100%;
-
- .page-separator {
- border-bottom: 1px solid $separator;
- height: 32px;
- box-sizing: border-box;
- padding: 0 10px;
- display: flex;
- align-items: center;
- background-color: $grey-6;
- }
+ height: 100%;
.annotation {
border-bottom: 1px solid $separator;
- padding: 10px 10px 10px 6px;
+ padding: 10px 21px 10px 6px;
font-size: 11px;
line-height: 14px;
cursor: pointer;
- position: relative;
display: flex;
flex-direction: column;
border-left: 4px solid transparent;
.details {
display: flex;
+ position: relative;
}
redaction-type-annotation-icon {
@@ -118,6 +120,17 @@
border-left: 4px solid $primary;
}
}
+
+ &:hover {
+ overflow-y: auto;
+ @include scroll-bar;
+ }
+
+ &.has-scrollbar:hover {
+ .annotation {
+ padding-right: 10px;
+ }
+ }
}
}
}
diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-details/project-listing-details.component.scss b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-details/project-listing-details.component.scss
index e74f5c002..05197f10b 100644
--- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-details/project-listing-details.component.scss
+++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-details/project-listing-details.component.scss
@@ -4,19 +4,14 @@
flex: 1;
display: flex;
flex-direction: row;
- justify-content: space-between;
+ justify-content: space-evenly;
> div {
display: flex;
- flex: 1;
flex-direction: column;
align-items: center;
padding-top: 50px;
- //&:first-child {
- // border-right: 1px solid $separator;
- //}
-
.project-stats-container {
.project-stats-item {
display: flex;
diff --git a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html
index c22f5dbac..e589200c3 100644
--- a/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html
+++ b/apps/red-ui/src/app/screens/project-listing-screen/project-listing-screen.component.html
@@ -3,16 +3,16 @@
@@ -45,31 +45,31 @@
-