From b72ec06bbe16c17d3af936b59b046cfe6513b977 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 8 May 2020 18:41:32 +0200 Subject: Display video redundancy entries as table link objects --- .../video-redundancies-list.component.html | 12 ++++++------ .../video-redundancies-list.component.scss | 14 ++++++++++++++ .../video-redundancy-information.component.html | 5 ----- 3 files changed, 20 insertions(+), 11 deletions(-) (limited to 'client') diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html index 152f6f29d..28d57f83c 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html @@ -13,15 +13,14 @@ Strategy - Video name - Video URL + Video Total size @@ -38,10 +37,11 @@ {{ getRedundancyStrategy(redundancy) }} - {{ redundancy.name }} - - {{ redundancy.url }} + + {{ redundancy.name }} + + {{ getTotalSize(redundancy) | bytes: 1 }} diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss index e1085cd1b..dc43e4007 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss @@ -1,6 +1,20 @@ @import '_variables'; @import '_mixins'; +a { + @include disable-default-a-behaviour; + display: inline-block; + + &, &:hover { + color: var(--mainForegroundColor); + } + + span { + font-size: 80%; + color: var(--inputPlaceholderColor); + } +} + .expansion-block { margin-bottom: 20px; } diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.html b/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.html index a379520e3..9de6e4661 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.html +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancy-information.component.html @@ -17,8 +17,3 @@ Size {{ redundancyElement.size | bytes: 1 }} - -
- Strategy - {{ redundancyElement.strategy }} -
-- cgit v1.2.3