From: Chocobozzz Date: Tue, 12 Dec 2017 13:41:59 +0000 (+0100) Subject: Small style fixes X-Git-Tag: v0.0.1-alpha~139 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=b2731bff2834fb6aacf166cf435030bf96eb12f3;p=github%2FChocobozzz%2FPeerTube.git Small style fixes --- diff --git a/client/.angular-cli.json b/client/.angular-cli.json index e277f96b8..9ed4a7ab3 100644 --- a/client/.angular-cli.json +++ b/client/.angular-cli.json @@ -9,7 +9,7 @@ "outDir": "dist", "deployUrl": "client/", "assets": [ - { "glob": "**/*", "input": "./assets/images", "output": "./client/assets/" } + { "glob": "**/*", "input": "./assets/images", "output": "./client/assets/images" } ], "index": "index.html", "main": "main.ts", diff --git a/client/src/app/account/account-videos/account-videos.component.html b/client/src/app/account/account-videos/account-videos.component.html index f69c0487d..4f3a774bd 100644 --- a/client/src/app/account/account-videos/account-videos.component.html +++ b/client/src/app/account/account-videos/account-videos.component.html @@ -12,7 +12,7 @@
-
{{ video.name }}
+ {{ video.name }} {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
diff --git a/client/src/app/account/account-videos/account-videos.component.scss b/client/src/app/account/account-videos/account-videos.component.scss index 28b298c3d..0d478edd7 100644 --- a/client/src/app/account/account-videos/account-videos.component.scss +++ b/client/src/app/account/account-videos/account-videos.component.scss @@ -43,7 +43,7 @@ .video { display: flex; - height: 130px; + min-height: 130px; padding-bottom: 20px; input[type=checkbox] { @@ -68,6 +68,10 @@ flex-grow: 1; .video-info-name { + @include disable-default-a-behaviour; + + color: #000; + display: block; font-size: 16px; font-weight: $font-semibold; } @@ -76,6 +80,10 @@ font-size: 13px; } } + + .video-buttons { + min-width: 190px; + } } @media screen and (max-width: 800px) { diff --git a/client/src/app/account/account-videos/account-videos.component.ts b/client/src/app/account/account-videos/account-videos.component.ts index 5f12cfce0..22941619d 100644 --- a/client/src/app/account/account-videos/account-videos.component.ts +++ b/client/src/app/account/account-videos/account-videos.component.ts @@ -4,6 +4,7 @@ import { NotificationsService } from 'angular2-notifications' import 'rxjs/add/observable/from' import 'rxjs/add/operator/concatAll' import { Observable } from 'rxjs/Observable' +import { AuthService } from '../../core/auth' import { ConfirmService } from '../../core/confirm' import { AbstractVideoList } from '../../shared/video/abstract-video-list' import { Video } from '../../shared/video/video.model' @@ -21,6 +22,7 @@ export class AccountVideosComponent extends AbstractVideoList implements OnInit constructor (protected router: Router, protected route: ActivatedRoute, + protected authService: AuthService, protected notificationsService: NotificationsService, protected confirmService: ConfirmService, private videoService: VideoService) { diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 2671dd90b..6f52f4f45 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -12,6 +12,10 @@