]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Move alert into to pt-alert-primary
authorChocobozzz <me@florianbigard.com>
Wed, 15 Jun 2022 12:43:33 +0000 (14:43 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 15 Jun 2022 12:43:33 +0000 (14:43 +0200)
13 files changed:
client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
client/src/app/+admin/plugins/plugin-search/plugin-search.component.html
client/src/app/+videos/+video-edit/shared/video-edit.component.html
client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html
client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html
client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html
client/src/app/+videos/+video-watch/shared/information/video-alert.component.html
client/src/app/shared/shared-main/misc/channels-setup-message.component.html
client/src/app/shared/shared-video-live/live-documentation-link.component.html
client/src/app/shared/shared-video-live/live-stream-information.component.html
client/src/app/shared/shared-video-live/live-stream-information.component.scss
client/src/sass/class-helpers.scss

index f225c388d7f7ea159de15defcb8d8888ef3d3c92..d0d66d6317dc0fb45673fe1dd8fc2d7b4509b2e9 100644 (file)
             <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">
index 23dde86b4b433f4daafb779e12d08601c7c908e7..c989d2e387058bba4accfa1f5c6f05ec1a6af401 100644 (file)
@@ -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>
 
index 26bfaa583381e28be94881410faec3a8c2d40ec3..b99e430ddb245be9bfae40b317d8f6607aaac701 100644 (file)
       <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>
 
index ecec6045baac48b218a161b008ec14a720215e6c..f537b939fe321aa38732481c6f5643560439bf79 100644 (file)
@@ -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>
index 14a7a287ac49c72c1e284c7f6adb38653a1e8e24..aa34d644a1f80943962595167130c79c56d519ad 100644 (file)
@@ -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>
 
index 60a43c870fedab513449cb938d1782ba10c0ddae..67e1cb418fff5ee6bd3acc9ca4e82cffbc65b98a 100644 (file)
@@ -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>
 
index 860fb76fa1d08874da665f38a9b6742fd0c315ad..728884986ba2cfa33633c2a1695e1219066b8d3a 100644 (file)
@@ -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>
 
index be726c9906369db75b40d0c0cd5bef6c85ba353a..79b83811d6e8775bcfe6e921e6dffb1d45bb76ac 100644 (file)
   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>
 
index 3fe888a350a9ccb6ae533c6d143f142326b4951b..539df06bd3e2cf245da5b9c08ffc75a128c4bf8b 100644 (file)
@@ -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>
index acf8a71eb9220f3e272e8fe51d3f1198da27fdf1..27248645ff0ed40afb98181a9549243405f8c7f1 100644 (file)
@@ -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>
index 6505e50e28b140f0ae78348b77eb5a7b8cd85d22..99c7dbd4c792d3d79650cadfd11bbad652519395 100644 (file)
@@ -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>
 
index fc0b1cea2945547686644f61d7d4308d5b8a50a9..a0cb308979bc98e2dedae50fd1d1bc9b303c9d63 100644 (file)
@@ -9,7 +9,7 @@ p-autocomplete {
   margin: 20px 0;
 }
 
-.alert-info {
+.pt-alert-primary {
   margin: 1rem 0;
 }
 
index 218ca3e768ac896550b8155174639c12631b0315..42e41c96f17777fc4700b52314416a958e80bf70 100644 (file)
@@ -246,10 +246,6 @@ label + .form-group-description {
 // ---------------------------------------------------------------------------
 
 .alert {
-  p {
-    font-size: 16px;
-  }
-
   p:last-child {
     margin-bottom: 0;
   }