diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 18:04:40 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-06 18:04:40 +0100 |
commit | 6a9e1d42f878c55ac5e2af8a1c98e6fe28a04f36 (patch) | |
tree | 3485a0d7fa8858dc42d9d5fdf37784144c62e651 /client/src/app/videos/+video-watch/video-watch.component.html | |
parent | b1fa3eba70dbd7d9e5b795ad251e293c88ebeee2 (diff) | |
download | PeerTube-6a9e1d42f878c55ac5e2af8a1c98e6fe28a04f36.tar.gz PeerTube-6a9e1d42f878c55ac5e2af8a1c98e6fe28a04f36.tar.zst PeerTube-6a9e1d42f878c55ac5e2af8a1c98e6fe28a04f36.zip |
Add likes/dislikes bar
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.html')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 10 |
1 files changed, 8 insertions, 2 deletions
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 f31e82bff..b17392ff1 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -73,8 +73,14 @@ | |||
73 | </div> | 73 | </div> |
74 | </div> | 74 | </div> |
75 | 75 | ||
76 | <div class="video-info-date-views"> | 76 | <div class="video-info-date-views-bar"> |
77 | {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views | 77 | <div class="video-info-date-views"> |
78 | {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views | ||
79 | </div> | ||
80 | |||
81 | <div class="video-info-likes-dislikes-bar"> | ||
82 | <div class="likes-bar" [ngStyle]="{ 'width.%': video.likesPercent }"></div> | ||
83 | </div> | ||
78 | </div> | 84 | </div> |
79 | 85 | ||
80 | <div class="video-info-channel"> | 86 | <div class="video-info-channel"> |