mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
56 lines
2.1 KiB
HTML
56 lines
2.1 KiB
HTML
<table class="table table-bordered box">
|
|
<thead>
|
|
<tr>
|
|
<th>Team</th>
|
|
<th>Score</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="teamName">{{match.Host}}</span></td>
|
|
<td><span class="teamScore"> {{match.HostScore}} </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="teamName"> {{match.Guest}} </span></td>
|
|
<td><span class="teamScore">{{match.GuestScore}}</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span class="label label-success">{{match.Type}}</span>
|
|
</td>
|
|
<td>
|
|
<button type="button" class="btn btn-default btn-xs" (click)="subscribe()">
|
|
Subscribe to feed
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><button type="button" class="btn btn-default btn-xs">Send</button></td>
|
|
<td><input type="text" class="form-control" placeholder="Type message.." /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div class="feed-table">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Update</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let feed of match.Feeds">
|
|
<td>
|
|
<span class="feed-time">{{feed.CreatedAt | date:'shortTime' }}</span>
|
|
</td>
|
|
<td class="filterable-cell">
|
|
<span class="feed-update"> {{feed.Description}} </span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table> |