From 5da75a34a0fe1dfbc8f276dceb95d41601d4d391 Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Fri, 11 Oct 2024 15:23:05 +0200 Subject: [PATCH 1/3] Removed flex class and used width style instead of col --- .../clarin-license-table.component.html | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html index 5515637a564..922c12bc794 100644 --- a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html +++ b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html @@ -22,32 +22,33 @@ [retainScrollPosition]="true"> - - - - + + + + - + - - + + - - + - - + [ngModel]="selectedLicense?.id === cLicense.id" + (change)="switchSelectedLicense(cLicense)" + type="checkbox" + name="{{cLicense.id}}"> + + + - + - - + +
{{"clarin-license.table.name" | translate}}{{"clarin-license.table.definition" | translate}}
{{"clarin-license.table.name" | translate}}{{"clarin-license.table.definition" | translate}} {{"clarin-license.table.confirmation" | translate}}{{"clarin-license.table.required-user-info" | translate}}{{"clarin-license.table.required-user-info" | translate}} {{"clarin-license.table.label" | translate}}{{"clarin-license.table.extended-labels" | translate}}{{"clarin-license.table.bitstreams" | translate}}{{"clarin-license.table.extended-labels" | translate}}{{"clarin-license.table.bitstreams" | translate}}
+
{{cLicense?.name}}{{cLicense?.definition}}{{cLicense?.name}}{{cLicense?.definition}} {{cLicense?.confirmation}}{{cLicense?.requiredInfo | dsCLicenseRequiredInfo}}{{cLicense?.requiredInfo | dsCLicenseRequiredInfo}} {{cLicense?.clarinLicenseLabel?.label}}{{cLicense?.extendedClarinLicenseLabels | dsExtendedCLicense}}{{cLicense?.bitstreams}}{{cLicense?.extendedClarinLicenseLabels | dsExtendedCLicense}}{{cLicense?.bitstreams}}
From af3b1bb4da7da8a04c1d500f5d51b7497eccf9d2 Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Fri, 11 Oct 2024 15:25:37 +0200 Subject: [PATCH 2/3] Removed unsued class --- .../clarin-license-table/clarin-license-table.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html index 922c12bc794..fa1eeb1bb39 100644 --- a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html +++ b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html @@ -35,7 +35,7 @@ - + Date: Wed, 16 Oct 2024 17:25:00 +0200 Subject: [PATCH 3/3] Changed style in the html into classes --- .../clarin-license-table.component.html | 16 ++++++++-------- .../clarin-license-table.component.scss | 13 +++++++++++++ 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html index fa1eeb1bb39..678427e9865 100644 --- a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html +++ b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.html @@ -23,11 +23,11 @@ - - - + + + - + @@ -35,17 +35,17 @@ - - - + + - + diff --git a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.scss b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.scss index 540382722e3..b4dab6de9bf 100644 --- a/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.scss +++ b/src/app/clarin-licenses/clarin-license-table/clarin-license-table.component.scss @@ -2,3 +2,16 @@ table-layout: fixed; word-wrap: break-word; } + +.w-20 { + width: 20%; +} + +.w-12 { + width: 12%; +} + +.wm-3p5 { + width: 3.5%; + max-width: 3.5%; +}
{{"clarin-license.table.name" | translate}}{{"clarin-license.table.definition" | translate}}{{"clarin-license.table.name" | translate}}{{"clarin-license.table.definition" | translate}} {{"clarin-license.table.confirmation" | translate}}{{"clarin-license.table.required-user-info" | translate}}{{"clarin-license.table.required-user-info" | translate}} {{"clarin-license.table.label" | translate}} {{"clarin-license.table.extended-labels" | translate}} {{"clarin-license.table.bitstreams" | translate}}
+ {{cLicense?.name}}{{cLicense?.definition}}{{cLicense?.name}}{{cLicense?.definition}} {{cLicense?.confirmation}}{{cLicense?.requiredInfo | dsCLicenseRequiredInfo}}{{cLicense?.requiredInfo | dsCLicenseRequiredInfo}} {{cLicense?.clarinLicenseLabel?.label}} {{cLicense?.extendedClarinLicenseLabels | dsExtendedCLicense}} {{cLicense?.bitstreams}}