mirror of
https://github.com/fergalmoran/ngrx-demo.git
synced 2026-01-04 16:05:26 +00:00
Changed ul to table
This commit is contained in:
@@ -5,11 +5,17 @@
|
||||
</h1>
|
||||
<div class="col-md-6">
|
||||
<h1>List of things</h1>
|
||||
<ul class="list-unstyled">
|
||||
<li *ngFor="let p of podcasts$ | async" (click)="onSelect(p)">
|
||||
{{p.title}}
|
||||
</li>
|
||||
</ul>
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Id</td>
|
||||
<td>Title</td>
|
||||
</thead>
|
||||
<tr *ngFor="let p of podcasts$ | async" (click)="onSelect(p)" style="cursor: pointer;">
|
||||
<td>{{p.id}}</td>
|
||||
<td>{{p.title}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h1>Details are here</h1>
|
||||
|
||||
Reference in New Issue
Block a user