Implements a better modal for an album
This commit is contained in:
@@ -42,4 +42,7 @@ directives.controller('AlbumModalInstanceCtrl', function($scope,$uibModalInstanc
|
||||
$scope.ok = function() {
|
||||
$uibModalInstance.close('');
|
||||
};
|
||||
$scope.getLink = function(n) {
|
||||
return $scope.album[n];
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
<a href="" ng-click="openAlbumModal()">
|
||||
<div class="cover-container">
|
||||
<div class="cover">
|
||||
<img class="img-responsive img-rounded" alt="{{album.titre}}" ng-src="{{album.CoverURL}}"/>
|
||||
<div class="rating">
|
||||
<img class="img-responsive img-rounded" alt="{{album.titleDisplay}}" ng-src="{{album.CoverURL}}"/>
|
||||
<div class="over-img-rating">
|
||||
<uib-rating ng-model="album.Note" readonly="true"></uib-rating>
|
||||
</div>
|
||||
<div class="over-img-ref">{{album.ref}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="album-ellipsis">
|
||||
|
||||
Reference in New Issue
Block a user