[DEV] update interface

This commit is contained in:
Edouard DUPIN 2020-01-11 23:20:13 +01:00
parent a7d340922f
commit 32df2db0bf
3 changed files with 17 additions and 14 deletions

View File

@ -23,8 +23,10 @@ export class ElementGroupComponent implements OnInit {
@Input() id_group:number = -1;
@Input() id_type:number = -1;
error:string = ""
name:string = "plouf"
error:string = "";
name:string = "plouf";
description:string = "";
imageSource:string = null;
constructor(private router: Router,
private groupService: GroupService) {

View File

@ -24,19 +24,20 @@ export class ElementVideoComponent implements OnInit {
@Input() id_video:number = -1;
@Input() display_video:boolean = false;
error:string = ""
error:string = "";
name:string = ""
description:string = ""
episode:number = undefined
group_id:number = undefined
saison_id:number = undefined
data_id:number = -1
time:number = undefined
type_id:number = undefined
generated_name:string = ""
video_source:string = ""
name:string = "";
description:string = "";
episode:number = undefined;
group_id:number = undefined;
saison_id:number = undefined;
data_id:number = -1;
time:number = undefined;
type_id:number = undefined;
generated_name:string = "";
video_source:string = "";
video_enable:boolean = false;
imageSource:string = null;
constructor(private router: Router,
private videoService: VideoService,
private httpService: HttpWrapperService) {

View File

@ -1,6 +1,6 @@
<div class="main-reduce">
<div class="fill-all">
<form [formGroup]="videoForm" (ngSubmit)="submitChange(videoForm.form);">
<form [formGroup]="videoForm"><!-- (ngSubmit)="submitChange(videoForm.form);" -->
<table>
<tr>
<td>