version final

anis
Tmadkaud 6 years ago
parent 88d24f1c14
commit 2905047311

@ -199,3 +199,4 @@ body {
right: 3.5% right: 3.5%
} }
} }

@ -4,13 +4,13 @@
<div *ngIf="mainFolder" class="card d-print-inline-flex text-center topcard"> <div *ngIf="mainFolder" class="card d-print-inline-flex text-center topcard">
<div class="row"> <div class="row">
<div class="col-md-4 card-text"> <div class="col-md-4 card-text">
<p> Current Folder : {{mainFolder?.name}}</p> <p> <strong>Current Folder :</strong> {{mainFolder?.name}}</p>
</div> </div>
<div class="col-md-4 card-text"> <div class="col-md-4 card-text">
<p> Used space : {{sizeFile.toString() === '0' ? '0' : (sizeFile/ ( 1024 * 1024 ) | number : '1.2-2')}} Mo / 30 Go</p> <p> <strong>Used space :</strong> {{sizeFile.toString() === '0' ? '0' : (sizeFile/ ( 1024 * 1024 ) | number : '1.2-2')}} Mo / 30 Go</p>
</div> </div>
<div class="col-md-4 card-text"> <div class="col-md-4 card-text">
<p> Path : {{mainFolder?.path}}</p> <p> <strong>Path :</strong> {{mainFolder?.path}}</p>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
@ -46,8 +46,7 @@
<i class="fa fa-plus-circle" aria-hidden="true"><i class="fa fa-file-o" aria-hidden="true"></i></i> <i class="fa fa-plus-circle" aria-hidden="true"><i class="fa fa-file-o" aria-hidden="true"></i></i>
<input type="file" style="display: none;" #myPicture name="myPicture" (change)="fileChangeEvent($event)"> <input type="file" style="display: none;" #myPicture name="myPicture" (change)="fileChangeEvent($event)">
</label> </label>
<button type="button" class="btn btn-default btn-sm" mdbTooltip="Add File : {{fileChooseName}}" placement="top" (click)="upload()" >Ajouter le fichier {{fileChooseName}}</button> <button *ngIf="fileChooseName !== 'None'" type="button" class="btn btn-default btn-sm" mdbTooltip="Add File : {{fileChooseName}}" placement="top" (click)="upload()" >Add selected file : {{fileChooseName}}</button>
<label *ngIf="fileChooseName !== ''"> Vous avez choisi : {{fileChooseName}}</label>
</div> </div>
<div class="col-md-4 align-middle l-flex--center"> <div class="col-md-4 align-middle l-flex--center">
@ -76,10 +75,10 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>Nom</th> <th>Name</th>
<th>Taille</th> <th>Size</th>
<th>Type</th> <th>Type</th>
<th>Date d'ajout</th> <th>Date added</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -131,7 +130,7 @@
<!--<td>{{ folder.name }}</td>--> <!--<td>{{ folder.name }}</td>-->
<td><label></label></td> <td><label></label></td>
<td><label>Folder</label></td> <td><label>Folder</label></td>
<td><label>{{ folder.owner }}</label></td> <td><label></label></td>
</tr> </tr>
<tr *ngFor="let file of allUserFile; let i = index;"> <tr *ngFor="let file of allUserFile; let i = index;">
<td class="row"> <td class="row">
@ -273,7 +272,7 @@
<!--<td>{{ file.name }}</td>--> <!--<td>{{ file.name }}</td>-->
<td>{{ file.taille / ( 1024 * 1024 ) | number : '1.2-2'}} Mo</td> <td>{{ file.taille / ( 1024 * 1024 ) | number : '1.2-2'}} Mo</td>
<td>{{ file.type }}</td> <td>{{ file.type }}</td>
<td>{{ file.lastDate }}</td> <td>{{ file.lastDate | date: 'MM/dd/yyyy'}}</td>
</tr> </tr>
</tbody> </tbody>

@ -81,6 +81,7 @@ export class BookComponent implements OnInit, OnDestroy {
this.isClickCreateFolder = false; this.isClickCreateFolder = false;
this.fileChooseName = 'None'; this.fileChooseName = 'None';
console.log('this.fileChooseName' + this.fileChooseName);
this.filesToUpload = []; this.filesToUpload = [];
this.test = ''; this.test = '';
this.sizeFile = 0; this.sizeFile = 0;

@ -11,7 +11,7 @@
<!-- Logo --> <!-- Logo -->
<li> <li>
<div class="logo-wrapper flex-center waves-light" style="padding-bottom: 5%"> <div class="logo-wrapper flex-center waves-light" style="padding-bottom: 5%">
<a href="#"><img style="height: 90px; margin-left: 13%;"src="https://openclipart.org/image/2400px/svg_to_png/190248/slogonormal.png" class="img-fluid flex-center"></a> <a href="#"><img style="height: 90px; margin-left: 13%;"src="../../assets/logo%20supfile.png" class="img-fluid flex-center"></a>
</div> </div>
</li> </li>
<!--/. Logo --> <!--/. Logo -->
@ -21,8 +21,7 @@
<!--Social--> <!--Social-->
<li> <li>
<ul class="social"> <ul class="social">
<li><a class="icons-sm fb-ic"><i class="fa fa-facebook"> </i></a></li> <li><a class="icons-sm fb-ic" href="https://www.facebook.com/ArcadiaDev"><i class="fa fa-facebook"> </i></a></li>
<li><a class="icons-sm pin-ic"><i class="fa fa-pinterest"> </i></a></li>
<li><a class="icons-sm gplus-ic"><i class="fa fa-google-plus"> </i></a></li> <li><a class="icons-sm gplus-ic"><i class="fa fa-google-plus"> </i></a></li>
<li><a class="icons-sm tw-ic"><i class="fa fa-twitter"> </i></a></li> <li><a class="icons-sm tw-ic"><i class="fa fa-twitter"> </i></a></li>
</ul> </ul>

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Loading…
Cancel
Save