renommer file folder v3

anis
Tmadkaud 6 years ago
parent e1bf54f896
commit 22da6d895f

@ -4,7 +4,7 @@
"license": "custom",
"scripts": {
"ng": "ng",
"start": "ng build && node ./bin/www",
"start": "ng build && ng serve --port 3000 && node ./bin/www",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",

Binary file not shown.

Binary file not shown.

@ -1,6 +1,5 @@
<div class="container-fluid">
<div *ngIf="mainFolder">
<p> Path : {{mainFolder.path}}</p>
<p> Vous êtes dans le dossier : {{mainFolder.name}}</p>
<button type="button" class="btn btn-sm btn-warning" mdbTooltip="Retour à : {{mainFolder.parent}}" placement="top" (click)="backToParentFolder()" *ngIf="mainFolder.path !== 'Home'"><i class="fa fa-chevron-left" aria-hidden="true"></i> {{mainFolder.parent}}</button>

@ -23,8 +23,7 @@ export class BookComponent implements OnInit, OnDestroy {
fileChooseName: string;
httpOptions: any;
isClickCreateFolder: boolean;
inputCreateFolder: String;
inputCreateFolder: String;
constructor(private http: HttpClient, private router: Router, private route: ActivatedRoute) {
this.isClickCreateFolder = false;
@ -92,7 +91,6 @@ export class BookComponent implements OnInit, OnDestroy {
} else {
this.allUserFolder = [];
}
});
}
@ -118,8 +116,6 @@ export class BookComponent implements OnInit, OnDestroy {
}, err => {
console.log('errrrr folllder : ' + err);
});
}
}
});
@ -160,7 +156,6 @@ export class BookComponent implements OnInit, OnDestroy {
console.error(err);
});
}
}
fileChangeEvent(fileInput: any){

Loading…
Cancel
Save