Skip to content

Commit

Permalink
let's not paginate
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 21, 2015
1 parent 9ec2172 commit 013e069
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions output/index.html
Expand Up @@ -88,7 +88,7 @@
<!-- /.navbar-header -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">

<li>
<a href="https://getnikola.com/documentation.html">Documentation</a>
</li>
Expand All @@ -115,7 +115,7 @@

</li>
</ul>


</div>
<!-- /.navbar-collapse -->
Expand Down Expand Up @@ -146,8 +146,8 @@ <h2>Themes for Nikola <small>version
</div>
<div class="row">
<div class="col-md-4" style="padding-left: 0;">
<div class="holder"></div>
<div class="list-group" id="itemContainer">
<!-- <div class="holder"></div> let's do this once we have 100 themes-->
<div class="list-group" style="margin-top: 14px" id="itemContainer">
</div>
</div>
<div class="col-md-8" id="rightside" style="margin-top:14px; border: 1px solid #dddddd; border-radius: 5px; padding-bottom: 15px; background-color: white; margin-bottom: 10px;">
Expand Down Expand Up @@ -205,7 +205,8 @@ <h2>Themes for Nikola <small>version
}
};
// Paginate
$("div.holder").jPages({ containerID : "itemContainer", perPage: 10 });
// Let's do this once we have 100 themes, dude
//$("div.holder").jPages({ containerID : "itemContainer", perPage: 30 });
hash_handler();
}

Expand Down Expand Up @@ -256,7 +257,7 @@ <h2>Themes for Nikola <small>version
console.log(item.id , 'li-'+theme)
if (item.id == 'li-'+theme) {
$('#li-'+theme).addClass('active');
var page = parseInt(idx/10)+1;
var page = parseInt(idx/30)+1;
$("div.holder").jPages(page);
document.title = theme + ' — Themes for Nikola';
} else {
Expand Down

0 comments on commit 013e069

Please sign in to comment.