You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
![]()
3 years ago
|
<div class="col-xs-12">
|
||
|
<table class="table table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Album Title</th>
|
||
|
<th>Artist</th>
|
||
|
<th>Year</th>
|
||
|
<th>Genre</th>
|
||
|
<th></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr ng-repeat="album in albums | orderBy:sortField:sortDescending">
|
||
|
<td>
|
||
|
<in-place-edit field-name='title' input-type='text' input-class='input-large' model=album>{{album.title}}</in-place-edit>
|
||
|
</td>
|
||
|
<td>
|
||
|
<in-place-edit field-name='artist' input-type='artist' input-class='input-large' model=album>{{album.artist}}</in-place-edit>
|
||
|
</td>
|
||
|
<td>
|
||
|
<in-place-edit field-name='releaseYear' input-type='text' input-class='input-small' model=album>{{album.releaseYear}}</in-place-edit>
|
||
|
</td>
|
||
|
<td>
|
||
|
<in-place-edit field-name='genre' input-type='text' input-class='input-medium' model=album>{{album.genre}}</in-place-edit>
|
||
|
</td>
|
||
|
<td class="dropdown">
|
||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||
|
<span class="glyphicon glyphicon-cog"></span>
|
||
|
</a>
|
||
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
||
|
<li role="presentation"><a ng-click="updateAlbum(album)">edit</a></li>
|
||
|
<li role="presentation"><a ng-click="deleteAlbum(album)">delete</a></li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|