Disable new services
This commit is contained in:
parent
7320c4032a
commit
01e797fe73
|
@ -1,5 +1,5 @@
|
|||
<owner-image></owner-image>
|
||||
<div class="text-center mb-4">
|
||||
<button type="button" class="btn btn-primary" (click)="addService()">Aggiungi intervento</button>
|
||||
<button type="button" class="btn btn-primary" (click)="addService()" disabled>Aggiungi intervento</button>
|
||||
</div>
|
||||
<app-table [sourceType]="'services'"></app-table>
|
|
@ -4,7 +4,7 @@ import { RouterModule, Routes } from '@angular/router';
|
|||
import { ListComponent } from './_components/list/list.component';
|
||||
import { LogsComponent } from './_components/logs/logs.component';
|
||||
import { ServicesComponent } from './_components/services/services.component';
|
||||
import { EditServiceComponent } from './_components/edit-service/edit-service.component';
|
||||
//import { EditServiceComponent } from './_components/edit-service/edit-service.component';
|
||||
import { TrainingsComponent } from './_components/trainings/trainings.component';
|
||||
|
||||
import { AuthorizeGuard } from './_guards/authorize.guard';
|
||||
|
@ -14,7 +14,7 @@ const routes: Routes = [
|
|||
{ path: 'list', component: ListComponent, canActivate: [AuthorizeGuard] },
|
||||
{ path: 'logs', component: LogsComponent, canActivate: [AuthorizeGuard] },
|
||||
{ path: 'services', component: ServicesComponent, canActivate: [AuthorizeGuard] },
|
||||
{ path: 'services/:id', component: EditServiceComponent, canActivate: [AuthorizeGuard] },
|
||||
//{ path: 'services/:id', component: EditServiceComponent, canActivate: [AuthorizeGuard] },
|
||||
{ path: 'trainings', component: TrainingsComponent, canActivate: [AuthorizeGuard] },
|
||||
{ path: "login/:redirect/:extraParam", component: LoginComponent },
|
||||
{ path: "login/:redirect", component: LoginComponent },
|
||||
|
|
|
@ -41,7 +41,7 @@ import { UnauthorizedInterceptor } from './_providers/unauthorized-interceptor.p
|
|||
ListComponent,
|
||||
LogsComponent,
|
||||
ServicesComponent,
|
||||
EditServiceComponent,
|
||||
//EditServiceComponent,
|
||||
TrainingsComponent
|
||||
],
|
||||
imports: [
|
||||
|
@ -59,7 +59,7 @@ import { UnauthorizedInterceptor } from './_providers/unauthorized-interceptor.p
|
|||
ModalModule.forRoot(),
|
||||
TooltipModule.forRoot(),
|
||||
BsDatepickerModule.forRoot(),
|
||||
LeafletModule,
|
||||
//LeafletModule,
|
||||
ServiceWorkerModule.register('ngsw-worker.js', {
|
||||
enabled: false && environment.production,
|
||||
// Register the ServiceWorker as soon as the app is stable
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
@import "~@fortawesome/fontawesome-free/css/all.css";
|
||||
@import '~ngx-toastr/toastr';
|
||||
@import '~ngx-bootstrap/datepicker/bs-datepicker.scss';
|
||||
@import '~leaflet/dist/leaflet.css';
|
||||
@import '~leaflet.locatecontrol/dist/L.Control.Locate.min.css';
|
||||
//@import '~leaflet/dist/leaflet.css';
|
||||
//@import '~leaflet.locatecontrol/dist/L.Control.Locate.min.css';
|
||||
|
||||
.fa {
|
||||
vertical-align: middle;
|
||||
|
|
Loading…
Reference in New Issue