made /@channel page match /popular

This commit is contained in:
bill bittner 2017-10-19 17:05:39 -07:00
parent 086da5d7f5
commit bcd12f44ff
2 changed files with 21 additions and 7 deletions

View file

@ -1,13 +1,10 @@
<div class="row row--full-height row--narrow"> <div class="row row--full-height row--narrow">
<div class="column column--10 align-content-center"> <div class="column column--10">
<h2>{{this.channelName}}<span class="h2--secondary">:{{this.longChannelId}}</span></h2> <h2>{{this.channelName}}<span class="h2--secondary">:{{this.longChannelId}}</span></h2>
</div> </div>
<div class="column column--10 align-content-center"> <div class="grid">
<p>Page {{this.currentPage}} / {{this.totalPages}}, Total Files: {{this.totalResults}}</p>
</div>
<div class="row">
{{#each this.claims}} {{#each this.claims}}
{{> contentListItem}} {{> gridItem}}
{{/each}} {{/each}}
</div> </div>
<div class="row"> <div class="row">
@ -31,3 +28,20 @@
</div> </div>
</div> </div>
<script src="/assets/vendors/masonry/masonry.pkgd.min.js"></script>
<script src="/assets/vendors/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script>
// init masonry with element
var grid = document.querySelector('.grid');
var msnry;
imagesLoaded( grid, function() {
msnry = new Masonry( grid, {
itemSelector: '.grid-item',
columnWidth: 3,
percentPosition: true
});
});
</script>

View file

@ -1,5 +1,5 @@
<div class="row row--wide row--short"> <div class="row row--wide row--short">
<p>{{fileInfo.description}}</p> <p class="label">{{fileInfo.description}}</p>
</div> </div>
<div class="row row--wide"> <div class="row row--wide">