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
fbd9fe2b
Commit
fbd9fe2b
authored
Dec 30, 2020
by
Dennis Willers
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change new Game Start Button
parent
866e8b3f
Pipeline
#306
passed with stages
in 5 minutes and 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
app.module.ts
src/app/app.module.ts
+3
-1
overview.component.html
src/app/overview/overview.component.html
+9
-3
overview.component.scss
src/app/overview/overview.component.scss
+4
-0
No files found.
src/app/app.module.ts
View file @
fbd9fe2b
...
...
@@ -22,6 +22,7 @@ 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
'
;
import
{
MatTooltipModule
}
from
'
@angular/material/tooltip
'
;
@
NgModule
({
declarations
:
[
...
...
@@ -48,7 +49,8 @@ import {MatIconModule} from '@angular/material/icon';
MatProgressSpinnerModule
,
FormsModule
,
MatSlideToggleModule
,
MatIconModule
MatIconModule
,
MatTooltipModule
],
providers
:
[],
bootstrap
:
[
AppComponent
]
...
...
src/app/overview/overview.component.html
View file @
fbd9fe2b
<div
style=
"text-align: center; margin-left: 15em; margin-right: 15em; margin-top: 5em;"
>
<mat-card
class=
"transparent"
>
<h2>
{{membership}}
</h2>
<div
class=
"FloatLeftAndCenterElement"
>
<div
class=
"newStartButtonLeft"
>
<button
matTooltip=
"Neues Spiel starten"
[disabled]=
"buttonPlayDisabled"
mat-raised-button
color=
"primary"
(click)=
"startGame()"
>
<mat-icon
color =
"white"
aria-hidden=
"false"
>
autorenew
</mat-icon></button>
</div>
<div
class=
"CenterText"
>
<h2>
{{membership}}
</h2>
</div>
</div>
<button
mat-raised-button
class =
"{{red}}"
(click)=
"joinTeam('red')"
>
<mat-icon
color =
"warn"
aria-hidden=
"false"
aria-label=
"home icon red"
>
home
</mat-icon>
</button>
<button
mat-raised-button
class =
"{{blue}}"
(click)=
"joinTeam('blue')"
>
<mat-icon
style=
"color: darkblue"
aria-hidden=
"false"
aria-label=
"home icon blue"
>
home
</mat-icon>
</button>
</mat-card>
<br>
<br>
...
...
@@ -33,7 +40,6 @@
<mat-card-title>
{{nextTeam}} ist am Zug:
</mat-card-title>
<br>
<button
[disabled]=
"buttonPlayDisabled"
mat-raised-button
color=
"primary"
>
Nächste Runde
</button>
<button
[disabled]=
"buttonPlayDisabled"
mat-raised-button
color=
"primary"
(click)=
"startGame()"
>
Neues Spiel starten
</button>
</mat-card-actions>
</mat-card>
</div>
src/app/overview/overview.component.scss
View file @
fbd9fe2b
...
...
@@ -22,3 +22,7 @@ table {
margin
:
5px
;
cursor
:
pointer
;
}
.FloatLeftAndCenterElement
{
width
:
100%
;}
.newStartButtonLeft
{
float
:left
;
width
:
100px
;}
.CenterText
{
margin
:
0
auto
;
width
:
250px
;}
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