-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
137 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 31 additions & 29 deletions
60
DepartureBoardWeb/ClientApp/src/app/Pages/boards/board-modern-rgb/board-modern-rgb.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
<div class="board col"> | ||
<div class="board-row"> | ||
<div class="top-card-section" | ||
[ngClass]="{ 'top-card-normal': Status=='On Time', 'top-card-late': Status?.includes('Exp'), 'top-card-arrived': Status=='Arrived', 'top-card-cancelled': Status=='Cancelled'}"> | ||
<h5 style="margin-bottom: 0">{{DepartureTime | date: 'HH:mm'}}</h5> | ||
<h4 | ||
class="clickable" | ||
> | ||
{{Destination}} | ||
</h4> | ||
<div class="top-card-section" | ||
[ngClass]="{ 'top-card-normal': Status=='On Time', 'top-card-late': Status?.includes('Exp'), 'top-card-arrived': Status=='Arrived', 'top-card-cancelled': Status=='Cancelled'}"> | ||
<h5 class="inline-row" style="right: 5px;position:absolute;">{{Status}}</h5> | ||
<h5 style="margin-bottom: 0">{{DepartureTime | date: 'HH:mm'}}</h5> | ||
<h3 | ||
style="margin-bottom: 0; white-space: nowrap; text-overflow: ellipsis;" | ||
class="clickable" | ||
> | ||
{{Destination}} | ||
</h3> | ||
|
||
<h6>Platform</h6> | ||
<h3 class="inline-row">{{Platform}}</h3> | ||
</div> | ||
<table class="stops"> | ||
<tr class="board-row"> | ||
<td class="inline-row stop" style="color:#ffd128">Calling at:</td> | ||
<td class="inline-row status stop">{{CurrentPage}}/{{TotalPages}}</td> | ||
</tr> | ||
<tr class="board-row stop-row" *ngFor="let stop of DisplayedStops"> | ||
<td class="inline-row stopname-cell stopname clickable stop" (click)="ChangeStation(stop.StationName)"> | ||
{{stop.StationName}} | ||
</td> | ||
<td class="inline-row status stop stop-time"> | ||
{{stop.Time | date: 'HH:mm'}} | ||
</td> | ||
</tr> | ||
</table> | ||
<div class="board-row bottom" style="background-color: #6e766f; padding: 2px; width: 100%"> | ||
<div class="operator" [innerHtml]="information"></div> | ||
</div> | ||
<h6 style="margin-bottom: 0">Platform</h6> | ||
<h1 style="margin-top: 0" class="inline-row clickable" (click)="FilterPlatform(Platform)">{{Platform}}</h1> | ||
</div> | ||
<table class="stops"> | ||
<tr class="board-row"> | ||
<td class="inline-row stop" style="color:#ffd128">Calling at:</td> | ||
<td class="inline-row status stop">{{CurrentPage}}/{{TotalPages}}</td> | ||
</tr> | ||
<tr class="board-row stop-row" *ngFor="let stop of DisplayedStops"> | ||
<td class="inline-row stopname-cell stopname clickable stop" (click)="ChangeStation(stop.StationName)"> | ||
{{stop.StationName}} | ||
</td> | ||
<td class="inline-row status stop stop-time"> | ||
{{stop.Time | date: 'HH:mm'}} | ||
</td> | ||
</tr> | ||
</table> | ||
<canvas class="carImage" #carImage height="20px" width="300px"></canvas> | ||
<div class="board-row bottom" style="background-color: #6e766f; padding: 2px; width: 100%"> | ||
<div class="operator" [innerHtml]="information"></div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
DepartureBoardWeb/ClientApp/src/app/Pages/boards/boards.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
DepartureBoardWeb/ClientApp/src/app/Pages/boards/boards.styling.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
.boards { | ||
padding-left: 10px | ||
padding-left: 10px; | ||
margin: auto!important; | ||
} | ||
|
||
.boards-center { | ||
display: flex; | ||
justify-content: center; | ||
} |
2 changes: 1 addition & 1 deletion
2
DepartureBoardWeb/ClientApp/src/app/fonts/railway/stylesheet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@font-face { | ||
font-family: 'Railway'; | ||
src: url('britrln_.woff') format('woff'); | ||
src: url('./britrln_.woff') format('woff'); | ||
font-style: normal; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters