From b13a0a48bacb53e65e665774e621326452045294 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Jun 2022 14:43:33 +0200 Subject: [PATCH] Move alert into to pt-alert-primary --- .../edit-basic-configuration.component.html | 2 +- .../plugins/plugin-search/plugin-search.component.html | 2 +- .../+videos/+video-edit/shared/video-edit.component.html | 2 +- .../video-add-components/video-go-live.component.html | 2 +- .../video-import-torrent.component.html | 2 +- .../video-add-components/video-import-url.component.html | 2 +- .../video-add-components/video-upload.component.html | 2 +- .../shared/information/video-alert.component.html | 6 +++--- .../shared-main/misc/channels-setup-message.component.html | 2 +- .../live-documentation-link.component.html | 6 +++--- .../live-stream-information.component.html | 2 +- .../live-stream-information.component.scss | 2 +- client/src/sass/class-helpers.scss | 4 ---- 13 files changed, 16 insertions(+), 20 deletions(-) diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html index f225c388d..d0d66d631 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html @@ -163,7 +163,7 @@ ⚠️ This functionality requires a lot of attention and extra moderation. - + diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html index 23dde86b4..c989d2e38 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html @@ -1,6 +1,6 @@ -
+
To load your new installed plugins or themes, refresh the page.
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index 26bfaa583..b99e430dd 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html @@ -237,7 +237,7 @@
-
+
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html index ecec6045b..f537b939f 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html @@ -44,7 +44,7 @@ {{ error }}
-
+
Max live duration is {{ getMaxLiveDuration() | myDurationFormatter }}. If your live reaches this limit, it will be automatically terminated.
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html index 14a7a287a..aa34d644a 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html @@ -52,7 +52,7 @@ {{ error }}
-
+
Congratulations, the video will be imported with BitTorrent! You can already add information about this video.
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html index 60a43c870..67e1cb418 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html @@ -45,7 +45,7 @@ {{ error }}
-
+
Congratulations, the video behind {{ targetUrl }} will be imported! You can already add information about this video.
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html index 860fb76fa..728884986 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html @@ -87,7 +87,7 @@ {{ error }}
-
+
Congratulations! Your video is now available in your private library.
diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html index be726c990..79b83811d 100644 --- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html +++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.html @@ -22,15 +22,15 @@ The video is being moved to an external server, it may not work properly.
-
+
This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}.
-
+
This live has not started yet.
-
+
This live has ended.
diff --git a/client/src/app/shared/shared-main/misc/channels-setup-message.component.html b/client/src/app/shared/shared-main/misc/channels-setup-message.component.html index 3fe888a35..539df06bd 100644 --- a/client/src/app/shared/shared-main/misc/channels-setup-message.component.html +++ b/client/src/app/shared/shared-main/misc/channels-setup-message.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/client/src/app/shared/shared-video-live/live-documentation-link.component.html b/client/src/app/shared/shared-video-live/live-documentation-link.component.html index acf8a71eb..27248645f 100644 --- a/client/src/app/shared/shared-video-live/live-documentation-link.component.html +++ b/client/src/app/shared/shared-video-live/live-documentation-link.component.html @@ -1,4 +1,4 @@ -
- See the documentation +

+ See the documentation to learn how to use the PeerTube live streaming feature. -

+

diff --git a/client/src/app/shared/shared-video-live/live-stream-information.component.html b/client/src/app/shared/shared-video-live/live-stream-information.component.html index 6505e50e2..99c7dbd4c 100644 --- a/client/src/app/shared/shared-video-live/live-stream-information.component.html +++ b/client/src/app/shared/shared-video-live/live-stream-information.component.html @@ -11,7 +11,7 @@
Replay will be saved
-
+
diff --git a/client/src/app/shared/shared-video-live/live-stream-information.component.scss b/client/src/app/shared/shared-video-live/live-stream-information.component.scss index fc0b1cea2..a0cb30897 100644 --- a/client/src/app/shared/shared-video-live/live-stream-information.component.scss +++ b/client/src/app/shared/shared-video-live/live-stream-information.component.scss @@ -9,7 +9,7 @@ p-autocomplete { margin: 20px 0; } -.alert-info { +.pt-alert-primary { margin: 1rem 0; } diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss index 218ca3e76..42e41c96f 100644 --- a/client/src/sass/class-helpers.scss +++ b/client/src/sass/class-helpers.scss @@ -246,10 +246,6 @@ label + .form-group-description { // --------------------------------------------------------------------------- .alert { - p { - font-size: 16px; - } - p:last-child { margin-bottom: 0; }