From 6417b7afb9fe19d916d3711a2f6c1c93ca596e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6ckelmann?= Date: Wed, 17 Apr 2024 20:37:27 +0200 Subject: [PATCH] Navigation Link Tree in Register Forgotten Task Schedule --- .../forgotten-task-start-dialog.component.css | 5 +++++ .../forgotten-task-start-dialog.component.html | 4 ++++ .../forgotten-task-start-dialog.component.ts | 11 +++++++++++ 3 files changed, 20 insertions(+) diff --git a/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.css b/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.css index 240434b..d0a81f3 100644 --- a/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.css +++ b/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.css @@ -5,6 +5,11 @@ justify-content: space-between; } +.navi-link-container { + margin: 20px auto; + width: 80%; +} + .spacer { margin-bottom: 2.5%; } diff --git a/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.html b/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.html index 791f57b..a28e708 100644 --- a/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.html +++ b/frontend/src/app/dashboard/forgotten-task-start-dialog/forgotten-task-start-dialog.component.html @@ -1,4 +1,8 @@ +
+

Register forgotten activity

= { @@ -65,6 +66,16 @@ export class ForgottenTaskStartDialogComponent implements OnInit{ }, }, ]; + defaultNavigationLinks: NavigationLink[] = [ + { + linkText: "Dashboard", + routerLink: ['/'] + }, + { + linkText: "Register Forgotten Activity", + routerLink: ["/forgotten"] + } + ]; constructor(private router: Router,