[DEV] some cleans
This commit is contained in:
parent
1f7e34236b
commit
e10ebe4de8
@ -9,9 +9,7 @@ import { NgModule } from '@angular/core';
|
|||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { HttpClientModule } from '@angular/common/http';
|
import { HttpClientModule } from '@angular/common/http';
|
||||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { SelectDropDownModule } from 'ngx-select-dropdown'
|
|
||||||
|
|
||||||
import { UploadFileComponent } from './component/upload-file/upload-file';
|
import { UploadFileComponent } from './component/upload-file/upload-file';
|
||||||
import { TopMenuComponent } from './component/top-menu/top-menu';
|
import { TopMenuComponent } from './component/top-menu/top-menu';
|
||||||
@ -99,10 +97,7 @@ import { AppComponent } from './app.component';
|
|||||||
RouterModule,
|
RouterModule,
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
HttpClientModule,
|
HttpClientModule
|
||||||
FormsModule,
|
|
||||||
ReactiveFormsModule,
|
|
||||||
SelectDropDownModule
|
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
PopInService,
|
PopInService,
|
||||||
|
@ -9,7 +9,6 @@ import { ActivatedRoute } from '@angular/router';
|
|||||||
import { Router } from "@angular/router";
|
import { Router } from "@angular/router";
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
import { slideInOutAnimation } from '../../_animations/index';
|
|
||||||
import { UserService } from '../../service/user';
|
import { UserService } from '../../service/user';
|
||||||
import { SessionService } from '../../service/session';
|
import { SessionService } from '../../service/session';
|
||||||
import { CookiesService } from '../../service/cookies';
|
import { CookiesService } from '../../service/cookies';
|
||||||
|
@ -5,10 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { NgForm } from '@angular/forms';
|
|
||||||
import { FormGroup, FormControl } from "@angular/forms";
|
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
|
|
||||||
import { SeasonService } from '../../service/season';
|
import { SeasonService } from '../../service/season';
|
||||||
@ -33,7 +31,7 @@ export class ElementList {
|
|||||||
animations: [fadeInAnimation],
|
animations: [fadeInAnimation],
|
||||||
host: { '[@fadeInAnimation]': '' }
|
host: { '[@fadeInAnimation]': '' }
|
||||||
})
|
})
|
||||||
// https://www.sitepoint.com/angular-forms/
|
|
||||||
export class SeasonEditScene implements OnInit {
|
export class SeasonEditScene implements OnInit {
|
||||||
id_season:number = -1;
|
id_season:number = -1;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
|
|
||||||
|
@ -5,10 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { NgForm } from '@angular/forms';
|
|
||||||
import { FormGroup, FormControl } from "@angular/forms";
|
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
|
|
||||||
import { SeriesService } from '../../service/series';
|
import { SeriesService } from '../../service/series';
|
||||||
@ -33,7 +31,7 @@ export class ElementList {
|
|||||||
animations: [fadeInAnimation],
|
animations: [fadeInAnimation],
|
||||||
host: { '[@fadeInAnimation]': '' }
|
host: { '[@fadeInAnimation]': '' }
|
||||||
})
|
})
|
||||||
// https://www.sitepoint.com/angular-forms/
|
|
||||||
export class SeriesEditScene implements OnInit {
|
export class SeriesEditScene implements OnInit {
|
||||||
id_series:number = -1;
|
id_series:number = -1;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
|
|
||||||
|
@ -5,13 +5,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
|
|
||||||
import { TypeService } from '../../service/type';
|
import { TypeService } from '../../service/type';
|
||||||
import { ArianeService } from '../../service/ariane';
|
import { ArianeService } from '../../service/ariane';
|
||||||
import { environment } from '../../../environments/environment';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-type',
|
selector: 'app-type',
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
|
|
||||||
|
@ -88,8 +88,6 @@
|
|||||||
==>
|
==>
|
||||||
</div>
|
</div>
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<!-- <ngx-select-dropdown [config]="config" [options]="listSeries2"
|
|
||||||
[(ngModel)]="parse_series" [multiple]="false" ></ngx-select-dropdown>-->
|
|
||||||
<select [ngModel]="series_id"
|
<select [ngModel]="series_id"
|
||||||
(ngModelChange)="onChangeSeries($event)">
|
(ngModelChange)="onChangeSeries($event)">
|
||||||
<option *ngFor="let element of listSeries" [ngValue]="element.value">{{element.label}}</option>
|
<option *ngFor="let element of listSeries" [ngValue]="element.value">{{element.label}}</option>
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { NgForm } from '@angular/forms';
|
|
||||||
import { FormGroup, FormControl } from "@angular/forms";
|
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
import { HttpWrapperService } from '../../service/http-wrapper';
|
import { HttpWrapperService } from '../../service/http-wrapper';
|
||||||
import { HttpEventType, HttpResponse } from '@angular/common/http';
|
import { HttpEventType, HttpResponse } from '@angular/common/http';
|
||||||
@ -40,7 +38,7 @@ export class ElementList {
|
|||||||
animations: [fadeInAnimation],
|
animations: [fadeInAnimation],
|
||||||
host: { '[@fadeInAnimation]': '' }
|
host: { '[@fadeInAnimation]': '' }
|
||||||
})
|
})
|
||||||
// https://www.sitepoint.com/angular-forms/
|
|
||||||
export class UploadScene implements OnInit {
|
export class UploadScene implements OnInit {
|
||||||
id_video: number = -1;
|
id_video: number = -1;
|
||||||
|
|
||||||
|
@ -7,11 +7,8 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { NgForm } from '@angular/forms';
|
|
||||||
import { FormGroup, FormControl } from "@angular/forms";
|
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
import { HttpWrapperService } from '../../service/http-wrapper';
|
import { HttpWrapperService } from '../../service/http-wrapper';
|
||||||
import { HttpEventType, HttpResponse} from '@angular/common/http';
|
|
||||||
|
|
||||||
|
|
||||||
import { PopInService } from '../../service/popin';
|
import { PopInService } from '../../service/popin';
|
||||||
@ -70,7 +67,7 @@ class DataToSend {
|
|||||||
animations: [fadeInAnimation],
|
animations: [fadeInAnimation],
|
||||||
host: { '[@fadeInAnimation]': '' }
|
host: { '[@fadeInAnimation]': '' }
|
||||||
})
|
})
|
||||||
// https://www.sitepoint.com/angular-forms/
|
|
||||||
export class VideoEditScene implements OnInit {
|
export class VideoEditScene implements OnInit {
|
||||||
id_video:number = -1;
|
id_video:number = -1;
|
||||||
mediaIsRemoved:boolean = false
|
mediaIsRemoved:boolean = false
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Router, ActivatedRoute, ParamMap } from '@angular/router';
|
import { Router, ActivatedRoute } from '@angular/router';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
import { fadeInAnimation } from '../../_animations/index';
|
import { fadeInAnimation } from '../../_animations/index';
|
||||||
import { HttpWrapperService } from '../../service/http-wrapper';
|
import { HttpWrapperService } from '../../service/http-wrapper';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user