auto spinner enabled
This commit is contained in:
parent
c7c12ca72a
commit
e2b585215c
@ -21,7 +21,7 @@
|
|||||||
<p class="racetimetotal">{{getRaceTime(x, team.idteam)/1000 | number:'1.2-2'}}s</p>
|
<p class="racetimetotal">{{getRaceTime(x, team.idteam)/1000 | number:'1.2-2'}}s</p>
|
||||||
</td>
|
</td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<td>{{getAvgOfBestTwo(team.idteam)/1000 | number:'1.2-2'}}</td>
|
<td>{{getAvgOfBestTwo(team.idteam)/1000 | number:'1.2-2'}}s</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
<app-poule *ngFor="let poule of poules" [poule]="poule" [idChampionship]="idChampionship" [tier]="tier"></app-poule>
|
<div id="poulecontainer">
|
||||||
|
<app-poule *ngFor="let poule of poules" [poule]="poule" [idChampionship]="idChampionship" [tier]="tier"></app-poule>
|
||||||
|
</div>
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
app-poule {
|
app-poule {
|
||||||
background-color: yellowgreen;
|
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
grid-row: 1;
|
||||||
|
min-width: 470px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#poulecontainer {
|
||||||
|
display: grid;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,14 +16,3 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#goleftbutton, #gorightbutton {
|
|
||||||
//position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
#goleftbutton {
|
|
||||||
left: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#gorightbutton {
|
|
||||||
right: 0px;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit} from '@angular/core';
|
||||||
|
import {timer} from 'rxjs';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-reclamespinner',
|
selector: 'app-reclamespinner',
|
||||||
@ -19,6 +20,10 @@ export class ReclamespinnerComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
// spin the commercials every 20s
|
||||||
|
timer(5000, 20000).subscribe(val => {
|
||||||
|
this.goRight();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
goRight() {
|
goRight() {
|
||||||
|
|||||||
@ -2,5 +2,4 @@
|
|||||||
<!--pick a year-->
|
<!--pick a year-->
|
||||||
<button mat-raised-button (click)="openDialog()">{{currentChampionship()}}</button>
|
<button mat-raised-button (click)="openDialog()">{{currentChampionship()}}</button>
|
||||||
<button mat-raised-button color="primary" *ngFor="let tier of tiers" routerLink="/championship/20/tier/{{tier}}">Tier {{tier}}</button>
|
<button mat-raised-button color="primary" *ngFor="let tier of tiers" routerLink="/championship/20/tier/{{tier}}">Tier {{tier}}</button>
|
||||||
<a mat-button routerLink=".">Link</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
.button-row {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user