my files
This commit is contained in:
@@ -39,6 +39,8 @@
|
||||
</ion-segment-button>
|
||||
</ion-segment>
|
||||
|
||||
<!-- https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/session_id/myfile/file_uid-->
|
||||
|
||||
<div *ngIf="tabs =='myfiles'" class="lesson">
|
||||
|
||||
<div class="video" *ngFor="let item of myFilesData">
|
||||
@@ -48,11 +50,11 @@
|
||||
<div class="text">
|
||||
<ion-label class="bold_text">{{item.title}}</ion-label>
|
||||
<ion-label class="grey_text">{{item.description}}</ion-label>
|
||||
<ion-label class="grey_text">{{item.file_name}}</ion-label>
|
||||
<ion-label class="grey_text"><a href="{{session_image_server}}{{curr_session}}/myfile/{{item.file_uid}}">{{item.file_name}}</a></ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<ion-icon name="lock-closed-outline"></ion-icon>
|
||||
<a href="{{session_image_server}}{{curr_session}}/myfile/{{item.file_uid}}"><ion-icon name="arrow-down"></ion-icon></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -79,10 +81,10 @@
|
||||
|
||||
</ion-content>
|
||||
|
||||
<ion-footer>
|
||||
<ion-toolbar>
|
||||
<div class="button" (click)="onBack()">
|
||||
<ion-label class="text">Return</ion-label>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
</ion-footer>
|
||||
<!--<ion-footer>-->
|
||||
<!-- <ion-toolbar>-->
|
||||
<!-- <div class="button" (click)="onBack()">-->
|
||||
<!-- <ion-label class="text">Return</ion-label>-->
|
||||
<!-- </div>-->
|
||||
<!-- </ion-toolbar>-->
|
||||
<!--</ion-footer>-->
|
||||
|
||||
@@ -13,7 +13,8 @@ export class MyfilesPage implements OnInit {
|
||||
|
||||
|
||||
tabs = 'myfiles';
|
||||
|
||||
session_image_server:string='';
|
||||
curr_session:string="";
|
||||
constructor(
|
||||
private navctr: NavController,
|
||||
private router: Router,
|
||||
@@ -26,7 +27,9 @@ export class MyfilesPage implements OnInit {
|
||||
|
||||
|
||||
ngOnInit() {
|
||||
this.getMyFiles();
|
||||
this.session_image_server = this.sessionDataProviderService.session_image_server;
|
||||
this.curr_session = this.sessionDataProviderService.session;
|
||||
this.getMyFiles();
|
||||
}
|
||||
|
||||
onBack() {
|
||||
@@ -64,7 +67,6 @@ export class MyfilesPage implements OnInit {
|
||||
console.log("myFilesData RETURN DATA->", this.myFilesData);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user