Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Tabu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dennis Willers
Tabu
Commits
3e08e648
Commit
3e08e648
authored
Dec 28, 2020
by
Dennis Willers
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Error in Header
parent
ed45d4a5
Pipeline
#273
passed with stages
in 7 minutes and 32 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
header.component.html
src/app/header/header.component.html
+4
-5
header.component.scss
src/app/header/header.component.scss
+3
-0
header.component.ts
src/app/header/header.component.ts
+5
-1
No files found.
src/app/header/header.component.html
View file @
3e08e648
<mat-toolbar
color=
"primary"
>
<span>
Tabu
</span>
<a
href=
"router.navigate(['/overview'])"
>
<img
style=
"display: inline;"
src=
"./assets/Icon.png"
alt=
"logo"
height=
"30px"
width=
"30"
/>
</a>
<span
class=
"mousefinger"
(click)=
"toStartpage()"
>
Tabu
</span>
<a>
<img
class=
"mousefinger"
style=
"display: inline"
src=
"./assets/Icon.png"
alt=
"logo"
height=
"30px"
width=
"30"
(click)=
"toStartpage()"
/>
</a>
</mat-toolbar>
src/app/header/header.component.scss
View file @
3e08e648
.mousefinger
{
cursor
:
pointer
}
src/app/header/header.component.ts
View file @
3e08e648
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Router
}
from
'
@angular/router
'
;
@
Component
({
selector
:
'
app-header
'
,
...
...
@@ -7,9 +8,12 @@ import { Component, OnInit } from '@angular/core';
})
export
class
HeaderComponent
implements
OnInit
{
constructor
()
{
}
constructor
(
private
router
:
Router
)
{
}
ngOnInit
():
void
{
}
toStartpage
():
void
{
this
.
router
.
navigate
([
''
]);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment