From 628c155338cf106365a06ca021b9f244b784c003 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sat, 28 Mar 2020 23:54:23 +0100 Subject: Align layout for create/edit video-playlists (my-account) on create/edit user (admin) --- .../my-account-video-channel-edit.component.scss | 10 +- .../my-account-video-playlist-edit.component.html | 129 +++++++++++++-------- .../my-account-video-playlist-edit.component.scss | 13 ++- 3 files changed, 96 insertions(+), 56 deletions(-) (limited to 'client') diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss index cd5e47cdc..c8c327398 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.scss @@ -1,6 +1,11 @@ @import '_variables'; @import '_mixins'; +label { + font-weight: $font-regular; + font-size: 100%; +} + .video-channel-title { @include settings-big-title; } @@ -37,11 +42,6 @@ input { } } -label { - font-weight: $font-regular; - font-size: 100%; -} - textarea { @include peertube-textarea(500px, 150px); diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html index 89b8d19b8..05335dc1a 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.html @@ -1,71 +1,102 @@ -
Create playlist
+
{{ error }}
-
-
-
- - -
- {{ formErrors['displayName'] }} -
-
-
- - -
- {{ formErrors.description }} -
-
+
+
+
NEW PLAYLIST
+
PLAYLIST
-
-
- -
- +
+ +
+
+ + +
+ {{ formErrors['displayName'] }} +
-
- {{ formErrors.privacy }} +
+ + +
+ {{ formErrors.description }} +
-
- -
- +
+
+ +
+ +
+ +
+ {{ formErrors.privacy }} +
-
- {{ formErrors['videoChannelId'] }} +
+ +
+ +
+ +
+ {{ formErrors['videoChannelId'] }} +
-
-
- +
+ + + +
+
- +
+
+
+ +
- diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.scss b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.scss index 5af846d8e..08fab1101 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.scss +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.component.scss @@ -1,8 +1,13 @@ @import '_variables'; @import '_mixins'; -.form-sub-title { - margin-bottom: 20px; +label { + font-weight: $font-regular; + font-size: 100%; +} + +.video-playlist-title { + @include settings-big-title; } input[type=text] { @@ -25,3 +30,7 @@ input[type=submit] { @include peertube-button; @include orange-button; } + +.breadcrumb { + @include breadcrumb; +} -- cgit v1.2.3