First attempt to display cover only
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<link href="/css/satbd.sateliite.bar.css" rel="stylesheet" />
|
||||
<title>satbd: explorez la betheque de sat</title>
|
||||
</head>
|
||||
<body ng-app="satbd.satellite.bar">
|
||||
<body ng-app="satbd.satellite.bar" ng-controller="GlobalCtrl">
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container" ng-controller="NavbarCollapseCtrl">
|
||||
<script type="text/ng-template" id="help.html">
|
||||
@@ -54,18 +54,12 @@
|
||||
</nav>
|
||||
|
||||
<!-- Begin page content -->
|
||||
<div class="container">
|
||||
<div class="results" ng-controller="ResultsCtrl">
|
||||
<ul>
|
||||
<li ng-repeat="id in albumIDs">
|
||||
<div ng-controller="AlbumCtrl" ng-init="init_by_id(id)">
|
||||
<h3>{{album.titre}}</h3>
|
||||
<img src="{{album.CoverURL}}">
|
||||
<p>Description: {{album.description}} </p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="recent row" ng-controller="RecentCtrl">
|
||||
<div class="album col-xs-6 col-sm-4 col-md-3 col-lg-2" ng-repeat="id in albumIDs" ng-controller="RecentAlbumCtrl" ng-init="init_by_id(id)">
|
||||
<img class="cover img-responsive img-rounded center-block" src="{{album.CoverURL}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/js/angular.min.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user