|
|
|
@ -41,8 +41,8 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr *ngFor="let folder of allUserFolder; let i = index;">
|
|
|
|
|
<td>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-warning" mdbTooltip="Ouvrir : {{folder.name}}" placement="top" (click)="openFolder(folder.path)"><i class="fa fa-folder-open-o" aria-hidden="true"></i></button>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-warning" mdbTooltip="Supprimer : {{folder.name}}" placement="top" (click)="deleteFolder(folder)"><i class="fa fa-close" aria-hidden="true"></i></button>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-warning" mdbTooltip="Ouvrir : {{folder.name}}" placement="top" (click)="openFolder(folder.path)"><i class="fa fa-folder-open-o" aria-hidden="true"></i></button>
|
|
|
|
|
<!--<button type="button" class="btn btn-warning" (click)="renameFolder(folder)">Rename</button>-->
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
@ -61,6 +61,12 @@
|
|
|
|
|
<tr *ngFor="let file of allUserFile; let i = index;">
|
|
|
|
|
<td>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-warning" mdbTooltip="Supprimer : {{file.name}}" placement="top" (click)="deleteFile(file)"><i class="fa fa-close" aria-hidden="true"></i></button>
|
|
|
|
|
|
|
|
|
|
<a href="../../../public/{{ file._id.toString() }}" download="{{ file.name.toString()}}" type="">
|
|
|
|
|
<button class="btn btn-sm btn-warning" tooltip="Télécharger : {{ file.name.toString()}} : " placement="top">
|
|
|
|
|
<i class="fa fa-download" aria-hidden="true"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<button class="btn btn-primary btn-sm waves-light" mdbTooltip="Renommer : {{file.name}}" placement="top" type="button" mdbWavesEffect (click)="renameFile(file)">
|
|
|
|
@ -68,6 +74,7 @@
|
|
|
|
|
</button>
|
|
|
|
|
<input type="search" class="form-control col-xs-2" placeholder= "{{file.name}}" [(ngModel)]="file.name">
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<!--<td>{{ file.name }}</td>-->
|
|
|
|
|
<td>{{ file.taille / ( 1024 * 1024 ) | number : '1.2-2'}} Mo</td>
|
|
|
|
|
<td>{{ file.extention }}</td>
|
|
|
|
@ -93,4 +100,4 @@
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</table>
|