ActivityPub-federated video streaming platform using P2P directly in your web browser
Move alert into to pt-alert-primary
Chocobozzzb13a0a48bacb
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.htmlindex f225c388d7..d0d66d6317 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 @@<ng-container ngProjectAs="description"><span i18n>⚠️ This functionality requires a lot of attention and extra moderation.</span>- <div class="alert alert-info alert-signup" *ngIf="signupAlertMessage">{{ signupAlertMessage }}</div>+ <div class="alert pt-alert-primary alert-signup" *ngIf="signupAlertMessage">{{ signupAlertMessage }}</div></ng-container><ng-container ngProjectAs="extra">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.htmlindex 23dde86b4b..c989d2e387 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 @@<my-plugin-navigation [pluginType]="pluginType"></my-plugin-navigation>-<div class="alert alert-info" i18n *ngIf="pluginInstalled">+<div class="alert pt-alert-primary" i18n *ngIf="pluginInstalled">To load your new installed plugins or themes, refresh the page.</div>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.htmlindex 26bfaa5833..b99e430ddb 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 @@<ng-template ngbNavContent><div class="row live-settings"><div class="col-md-12">- <div class="alert alert-info">+ <div class="alert pt-alert-primary"><my-live-documentation-link></my-live-documentation-link></div>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.htmlindex ecec6045ba..f537b939fe 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 }}</div>-<div class="alert alert-info" i18n *ngIf="isInUpdateForm && getMaxLiveDuration() >= 0">+<div class="alert pt-alert-primary" i18n *ngIf="isInUpdateForm && getMaxLiveDuration() >= 0">Max live duration is {{ getMaxLiveDuration() | myDurationFormatter }}.If your live reaches this limit, it will be automatically terminated.</div>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.htmlindex 14a7a287ac..aa34d644a1 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 }}</div>-<div *ngIf="hasImportedVideo && !error" class="alert alert-info" i18n>+<div *ngIf="hasImportedVideo && !error" class="alert pt-alert-primary" i18n>Congratulations, the video will be imported with BitTorrent! You can already add information about this video.</div>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.htmlindex 60a43c870f..67e1cb418f 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 }}</div>-<div *ngIf="!error && hasImportedVideo" class="alert alert-info" i18n>+<div *ngIf="!error && hasImportedVideo" class="alert pt-alert-primary" i18n>Congratulations, the video behind {{ targetUrl }} will be imported! You can already add information about this video.</div>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.htmlindex 860fb76fa1..728884986b 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 }}</div>-<div *ngIf="videoUploaded && !error" class="alert alert-info" i18n>+<div *ngIf="videoUploaded && !error" class="alert pt-alert-primary" i18n>Congratulations! Your video is now available in your private library.</div>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.htmlindex be726c9906..79b83811d6 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.</div>-<div i18n class="alert alert-info" *ngIf="hasVideoScheduledPublication()">+<div i18n class="alert pt-alert-primary" *ngIf="hasVideoScheduledPublication()">This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}.</div>-<div i18n class="alert alert-info" *ngIf="isWaitingForLive()">+<div i18n class="alert pt-alert-primary" *ngIf="isWaitingForLive()">This live has not started yet.</div>-<div i18n class="alert alert-info" *ngIf="isLiveEnded()">+<div i18n class="alert pt-alert-primary" *ngIf="isLiveEnded()">This live has ended.</div>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.htmlindex 3fe888a350..539df06bd3 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 @@-<div *ngIf="hasChannelNotConfigured()" class="channels-setup-message alert alert-info">+<div *ngIf="hasChannelNotConfigured()" class="channels-setup-message alert pt-alert-primary"><my-global-icon iconName="tip"></my-global-icon><div>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.htmlindex acf8a71eb9..27248645ff 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 @@-<div i18n>- See <a href="https://docs.joinpeertube.org/use-create-upload-video?id=publish-a-live-in-peertube-gt-v3" target="_blank" rel="noopener noreferrer">the documentation</a>+<p i18n>+ See <a class="link-orange" href="https://docs.joinpeertube.org/use-create-upload-video?id=publish-a-live-in-peertube-gt-v3" target="_blank" rel="noopener noreferrer">the documentation</a>to learn how to use the PeerTube live streaming feature.-</div>+</p>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.htmlindex 6505e50e28..99c7dbd4c7 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 @@<div class="pt-badge badge-blue" *ngIf="live.saveReplay" i18n>Replay will be saved</div></div>- <div class="alert alert-info">+ <div class="alert pt-alert-primary"><my-live-documentation-link></my-live-documentation-link></div>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.scssindex fc0b1cea29..a0cb308979 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.scssindex 218ca3e768..42e41c96f1 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;}