|
|
@ -1,4 +1,45 @@ |
|
|
@if( race != undefined ) { |
|
|
@if( race != undefined ) { |
|
|
|
|
|
<div class="column side"> |
|
|
|
|
|
<img |
|
|
|
|
|
src={{race.mapImgUrl}} |
|
|
|
|
|
class="img-thumbnail shadow-2-strong img-width" |
|
|
|
|
|
/> |
|
|
|
|
|
<br/> |
|
|
|
|
|
<a mat-raised-button extended href="{{race.mapURL}}" class="button img-width" title="{{race.mapName}}.Map.Gbx" color="primary"> |
|
|
|
|
|
<mat-icon>download</mat-icon> |
|
|
|
|
|
Download map |
|
|
|
|
|
</a> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="column middle"> |
|
|
|
|
|
<h1 style="text-align: center;" >{{race.mapName}}</h1> |
|
|
|
|
|
<div class="count-down-timer"> |
|
|
|
|
|
@if(openToUploads) { |
|
|
|
|
|
<h2>Entries Close on: {{currentTime}} </h2> |
|
|
|
|
|
<div class="wrapper"> |
|
|
|
|
|
<div class="description"> |
|
|
|
|
|
<p>Days</p> |
|
|
|
|
|
<p>Hours</p> |
|
|
|
|
|
<p>Minutes</p> |
|
|
|
|
|
<p>Seconds</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="times"> |
|
|
|
|
|
<p #days></p> |
|
|
|
|
|
<p #hours></p> |
|
|
|
|
|
<p #minutes></p> |
|
|
|
|
|
<p #seconds></p> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
} |
|
|
|
|
|
@else { |
|
|
|
|
|
<h2>Closed for new entries</h2> |
|
|
|
|
|
} |
|
|
|
|
|
</div> |
|
|
|
|
|
<div style="text-align: center;"> |
|
|
|
|
|
<p>Author: {{formatMilliseconds(race.authorTime)}} Gold: {{formatMilliseconds(race.goldTime)}} Silver: {{formatMilliseconds(race.silverTime)}} Bronze: {{formatMilliseconds(race.bronzeTime)}}</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<mat-divider></mat-divider> |
|
|
|
|
|
<!-- |
|
|
<div class="race-details"> |
|
|
<div class="race-details"> |
|
|
<div class="details-container"> |
|
|
<div class="details-container"> |
|
|
<div class="map-title"> |
|
|
<div class="map-title"> |
|
|
@ -44,6 +85,7 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
--> |
|
|
<br/> |
|
|
<br/> |
|
|
<div> |
|
|
<div> |
|
|
<table mat-table [dataSource]="sortedResults" class="mat-elevation-z8"> |
|
|
<table mat-table [dataSource]="sortedResults" class="mat-elevation-z8"> |
|
|
|