]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/angular/videos/components/add/videos-add.component.html
Use progress bar from bootstrap for the upload
[github/Chocobozzz/PeerTube.git] / client / angular / videos / components / add / videos-add.component.html
index 7336ad0c05886563bab688cf3b75c584749c76e4..80d229cb8863141f03115ba5c83a370c36daf39f 100644 (file)
@@ -34,7 +34,7 @@
   </div>
 
   <div id="progress" *ngIf="progressBar.max !== 0">
-    <progress [value]="progressBar.value" [max]="progressBar.max"></progress>
+    <progressbar [value]="progressBar.value" [max]="progressBar.max">{{ progressBar.value | bytes }} / {{ progressBar.max | bytes }}</progressbar>
   </div>
 
   <input type="submit" value="Upload" class="btn btn-default" [disabled]="!videoForm.form.valid || !fileToUpload">