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
e316e2af
Commit
e316e2af
authored
Dec 29, 2020
by
Isabell Heider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added slide toggle
parent
f6f7d8cc
Pipeline
#292
passed with stages
in 5 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app.module.ts
src/app/app.module.ts
+3
-1
overview.component.html
src/app/overview/overview.component.html
+3
-1
No files found.
src/app/app.module.ts
View file @
e316e2af
...
...
@@ -21,6 +21,7 @@ import { FormsModule } from '@angular/forms';
import
{
GameComponent
}
from
'
./game/game.component
'
;
import
{
GuesserComponent
}
from
'
./guesser/guesser.component
'
;
import
{
MatSlideToggleModule
}
from
'
@angular/material/slide-toggle
'
;
import
{
MatIconModule
}
from
'
@angular/material/icon
'
;
@
NgModule
({
declarations
:
[
...
...
@@ -46,7 +47,8 @@ import {MatSlideToggleModule} from '@angular/material/slide-toggle';
MatCardModule
,
MatProgressSpinnerModule
,
FormsModule
,
MatSlideToggleModule
MatSlideToggleModule
,
MatIconModule
],
providers
:
[],
bootstrap
:
[
AppComponent
]
...
...
src/app/overview/overview.component.html
View file @
e316e2af
<div
style=
"text-align: center; margin-left: 15em; margin-right: 15em; margin-top: 5em;"
>
<mat-card
class=
"transparent"
>
<h2>
Wähle dein Team
</h2>
<mat-slide-toggle>
Slide me!
</mat-slide-toggle>
<mat-icon
color =
"disabled"
aria-hidden=
"false"
aria-label=
"home icon blue"
>
home
</mat-icon>
Team grau
<mat-slide-toggle
color =
"warn"
>
Team rot
</mat-slide-toggle>
<mat-icon
color =
"warn"
aria-hidden=
"false"
aria-label=
"home icon red"
>
home
</mat-icon>
</mat-card>
<br>
<br>
...
...
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