Add link to video in update view and smooth progress bar repositioning

This commit is contained in:
Rigel Kent 2020-01-13 22:14:04 +01:00
parent a004ff1726
commit 2ba5ac3354
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
4 changed files with 13 additions and 3 deletions

View File

@ -5,6 +5,15 @@
@include peertube-select-container(auto);
}
.title-page a {
color: var(--mainForegroundColor);
&:hover {
text-decoration: none;
opacity: .8;
}
}
my-peertube-checkbox {
display: block;
margin-bottom: 1rem;

View File

@ -1,6 +1,7 @@
<div class="margin-content">
<div i18n class="title-page title-page-single">
Update {{ video?.name }}
<div class="title-page title-page-single">
<span class="mr-1" i18n>Update</span>
<a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a>
</div>
<form novalidate [formGroup]="form">

View File

@ -35,7 +35,6 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
private route: ActivatedRoute,
private router: Router,
private notifier: Notifier,
private serverService: ServerService,
private videoService: VideoService,
private loadingBar: LoadingBarService,
private videoCaptionService: VideoCaptionService,

View File

@ -185,6 +185,7 @@ body {
.vjs-play-progress {
background: var(--embedForegroundColor);
transition: all .2s ease 0s;
// Not display the circle if the progress is not hovered
&::before {