import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
-import { NgBootstrapFormValidationModule } from 'ng-bootstrap-form-validation';
-import { AlertModule } from 'ngx-bootstrap/alert';
-import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
-import { ModalModule } from 'ngx-bootstrap/modal';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
-import { TabsModule } from 'ngx-bootstrap/tabs';
-import { TooltipModule } from 'ngx-bootstrap/tooltip';
-
-import { SharedModule } from '../../../shared/shared.module';
+import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
+import { SharedModule } from '~/app/shared/shared.module';
import { BootstrapCreateModalComponent } from './bootstrap-create-modal/bootstrap-create-modal.component';
import { BootstrapImportModalComponent } from './bootstrap-import-modal/bootstrap-import-modal.component';
import { DaemonListComponent } from './daemon-list/daemon-list.component';
import { PoolListComponent } from './pool-list/pool-list.component';
@NgModule({
- entryComponents: [
- BootstrapCreateModalComponent,
- BootstrapImportModalComponent,
- EditSiteNameModalComponent,
- OverviewComponent,
- PoolEditModeModalComponent,
- PoolEditPeerModalComponent
- ],
imports: [
CommonModule,
- TabsModule.forRoot(),
SharedModule,
+ NgbNavModule,
RouterModule,
FormsModule,
ReactiveFormsModule,
- ProgressbarModule.forRoot(),
- BsDropdownModule.forRoot(),
- ModalModule.forRoot(),
- AlertModule.forRoot(),
- TooltipModule.forRoot(),
- NgBootstrapFormValidationModule
+ NgbProgressbarModule
],
declarations: [
BootstrapCreateModalComponent,