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