You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.3 KiB
HTML
48 lines
1.3 KiB
HTML
<div class="container-fluid">
|
|
|
|
<label class="btn btn-danger col-sm-2 col-md-2" >
|
|
Fichier à ajouter<input type="file" style="display: none;" #myPicture name="myPicture" (change)="fileChangeEvent($event)">
|
|
</label>
|
|
|
|
<button type="button" class="btn btn-warning" (click)="upload()">Ajouter le fichier {{fileChooseName}}</button>
|
|
|
|
<label> Vous avez choisi : {{fileChooseName}}</label>
|
|
</div>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Nom</th>
|
|
<th>Taille</th>
|
|
<th>Type</th>
|
|
<th>Date d'ajout</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let file of allUserFile; let i = index;">
|
|
<th scope="row">{{ i + 1 }}</th>
|
|
<td>{{ file.name }}</td>
|
|
<td>{{ file.taille / ( 1024 * 1024 ) | number : '1.2-2'}} Mo</td>
|
|
<td>{{ file.extention }}</td>
|
|
<td>{{ file.path }}</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<img src="../../../public/23460.jpg" class="img-fluid flex-center">
|
|
|
|
|
|
<!--
|
|
<form enctype="multipart/form-data" method="post" name="fileinfo">
|
|
<label>Fichier à mettre de côté :</label>
|
|
<input type="file" name="file" (change)="fileChangeEvent($event)" required />
|
|
<input type="submit" (click)="upload2()" value="Mettez le fichier de côté." />
|
|
</form>
|
|
<div></div>
|
|
-->
|
|
|
|
|
|
|
|
|