moved thread sort out of post bar and into header

main
psychobunny 10 years ago
parent 336a1ddd5b
commit f12d43ead4

@ -84,6 +84,17 @@
.tags {
vertical-align: -40%;
}
.thread-sort {
.btn {
background: @body-bg;
text-transform: uppercase;
font-weight: 600;
box-shadow: none;
font-size: 11px;
color: @gray-light;
}
}
}

@ -28,8 +28,6 @@
<!-- ENDIF !loggedIn -->
<!-- ENDIF privileges.topics:reply -->
<!-- IMPORT partials/thread_sort.tpl -->
<!-- IMPORT partials/thread_tools.tpl -->
</div>
<div style="clear:both;"></div>

@ -1,9 +1,7 @@
<!-- IF loggedIn -->
<div class="btn-group thread-sort dropup">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">[[topic:sort_by]] <span class="caret"></span></button>
<ul class="dropdown-menu pull-right">
<div class="btn-group thread-sort">
<button class="btn dropdown-toggle" data-toggle="dropdown" type="button">[[topic:sort_by]] <span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#" class="oldest_to_newest" data-sort="oldest_to_newest"><i class="fa fa-fw"></i> [[topic:oldest_to_newest]]</a></li>
<li><a href="#" class="newest_to_oldest" data-sort="newest_to_oldest"><i class="fa fa-fw"></i> [[topic:newest_to_oldest]]</a></li>
<li><a href="#" class="most_votes" data-sort="most_votes"><i class="fa fa-fw"></i> [[topic:most_votes]]</a></li>

@ -2,6 +2,8 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<h1 component="post/header" itemprop="name"><i class="fa fa-thumb-tack hide"></i> <i class="fa fa-lock hide"></i> {title}
<!-- IMPORT partials/thread_sort.tpl -->
<span class="browsing-users hidden pull-right">
<span>[[category:browsing]]</span>
<div component="topic/browsing/list" class="thread_active_users active-users inline-block"></div>

Loading…
Cancel
Save