mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
moved pagination into header
This commit is contained in:
@@ -36,7 +36,7 @@ define(function() {
|
||||
|
||||
app.enterRoom('topic_' + tid);
|
||||
|
||||
if($('#post-container .sub-posts').length > 1) {
|
||||
if($('#post-container .posts').length > 1) {
|
||||
$('.topic-main-buttons').removeClass('hide').parent().removeClass('hide');
|
||||
}
|
||||
|
||||
@@ -799,7 +799,7 @@ define(function() {
|
||||
|
||||
var count = 0, smallestNonNegative = 0;
|
||||
|
||||
jQuery('.sub-posts').each(function() {
|
||||
jQuery('.posts > .post-row').each(function() {
|
||||
count++;
|
||||
this.postnumber = count;
|
||||
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
<!-- END navigation -->
|
||||
</ul>
|
||||
|
||||
|
||||
<ul id="logged-in-menu" class="nav navbar-nav navbar-right hide">
|
||||
<li>
|
||||
<a href="#" id="reconnect"></a>
|
||||
@@ -135,11 +134,15 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="pagination-block">
|
||||
<ul class="nav navbar-nav navbar-right pagination-block">
|
||||
<li class="active">
|
||||
<a>
|
||||
<i class="icon-upload pointer"></i>
|
||||
<span id="pagination"></span>
|
||||
<i class="icon-upload pointer icon-rotate-180"></i>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user