diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index 13bdb29..a40fad0 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -7,6 +7,7 @@ import { AccountComponent } from './components/home/workspace/account/account.co
import { ParametresComponent } from './components/home/workspace/parametres/parametres.component';
import { InfosComponent } from './components/home/workspace/infos/infos.component';
import { HoursComponent } from './components/home/workspace/hours/hours.component';
+import { LogsComponent } from './components/home/workspace/logs/logs.component';
import { ProfileService } from './services/profile/profile.service';
@@ -34,6 +35,10 @@ const routes: Routes = [
{
path:"hours",
component:HoursComponent
+ },
+ {
+ path:"logs",
+ component:LogsComponent
}
],
canActivate: [ProfileService]
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index ca9d3db..9c7bd06 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -28,6 +28,7 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatGridListModule } from '@angular/material/grid-list';
+import { MatTabsModule } from '@angular/material/tabs';
import { ToastrModule } from 'ngx-toastr';
import { CodeInputModule } from 'angular-code-input';
@@ -42,6 +43,7 @@ import { AccountComponent } from './components/home/workspace/account/account.co
import { ParametresComponent } from './components/home/workspace/parametres/parametres.component';
import { InfosComponent } from './components/home/workspace/infos/infos.component';
import { HoursComponent } from './components/home/workspace/hours/hours.component';
+import { LogsComponent } from './components/home/workspace/logs/logs.component';
@NgModule({
declarations: [
@@ -53,7 +55,8 @@ import { HoursComponent } from './components/home/workspace/hours/hours.componen
AccountComponent,
ParametresComponent,
InfosComponent,
- HoursComponent
+ HoursComponent,
+ LogsComponent
],
imports: [
BrowserModule,
@@ -85,6 +88,7 @@ import { HoursComponent } from './components/home/workspace/hours/hours.componen
MatStepperModule,
MatSlideToggleModule,
MatGridListModule,
+ MatTabsModule,
FlexLayoutModule,
RouterModule,
FontAwesomeModule,
diff --git a/src/app/components/home/home.component.html b/src/app/components/home/home.component.html
index 87e4f19..0216a92 100644
--- a/src/app/components/home/home.component.html
+++ b/src/app/components/home/home.component.html
@@ -11,6 +11,7 @@
Paramètres
Horaires
Informations
+ Logs
Déconnecter
@@ -19,8 +20,6 @@
-
+