From 8ce9e815c8212647d702b94ca8633943d1aa663a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 23 Apr 2017 21:57:08 +0200 Subject: Client: display video tags --- .../app/videos/video-list/video-miniature.component.html | 6 ++++++ .../src/app/videos/video-watch/video-watch.component.html | 13 +++++++++++++ .../src/app/videos/video-watch/video-watch.component.scss | 12 +++++++++++- client/src/sass/_variables.scss | 2 +- 4 files changed, 31 insertions(+), 2 deletions(-) (limited to 'client/src') diff --git a/client/src/app/videos/video-list/video-miniature.component.html b/client/src/app/videos/video-list/video-miniature.component.html index 826aa6a29..ba70002b0 100644 --- a/client/src/app/videos/video-list/video-miniature.component.html +++ b/client/src/app/videos/video-list/video-miniature.component.html @@ -24,6 +24,12 @@ {{ getVideoName() }} +
+ + {{ tag }} + +
+ {{ video.by }} {{ video.createdAt | date:'short' }} diff --git a/client/src/app/videos/video-watch/video-watch.component.html b/client/src/app/videos/video-watch/video-watch.component.html index 059465d65..124a3ba8b 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html @@ -157,6 +157,19 @@ {{ video.languageLabel }} + +
+ + Tags: + + + +
+ diff --git a/client/src/app/videos/video-watch/video-watch.component.scss b/client/src/app/videos/video-watch/video-watch.component.scss index a8c7fdbac..8d8454cfd 100644 --- a/client/src/app/videos/video-watch/video-watch.component.scss +++ b/client/src/app/videos/video-watch/video-watch.component.scss @@ -80,7 +80,7 @@ .option .glyphicon { font-size: 22px; color: inherit; - opacity: 0.9; + opacity: 0.6; margin-bottom: 10px; } @@ -170,5 +170,15 @@ margin-right: 5px; } } + + .video-details-tags { + display: inline-block; + + a { + display: inline-block; + margin-right: 3px; + font-size: 11px; + } + } } } diff --git a/client/src/sass/_variables.scss b/client/src/sass/_variables.scss index 723b2bcc8..5c06fae9d 100644 --- a/client/src/sass/_variables.scss +++ b/client/src/sass/_variables.scss @@ -15,6 +15,6 @@ $video-miniature-other-infos: #686767; $video-watch-border-color: #eceef4; $video-watch-title-height: 90px; -$video-watch-info-color: #8e909b; +$video-watch-info-color: #9da0ae; $video-watch-info-height: 120px; $video-watch-info-padding-left: 40px; -- cgit v1.2.3