mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Merge pull request #850 from aaronkuchma/dev
Added a "flip" search order option to new GUI
This commit is contained in:
commit
8ca0c14dbe
@ -109,6 +109,13 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
sortFlipper = true;
|
||||||
|
function invertSort(){
|
||||||
|
sortFlipper = !sortFlipper;
|
||||||
|
\$('#container').isotope({sortAscending: sortFlipper});
|
||||||
|
\$('#container-anime').isotope({sortAscending: sortFlipper});
|
||||||
|
}
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
\$.tablesorter.addParser({
|
\$.tablesorter.addParser({
|
||||||
@ -267,13 +274,14 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
#if $layout == 'poster':
|
#if $layout == 'poster':
|
||||||
<ul id="sort-by" class="option-set clearfix" data-option-key="sortBy">
|
<ul id="sort-by" class="option-set" data-option-key="sortBy">
|
||||||
Sort By:
|
Sort By:
|
||||||
<li><a href="#sortBy=name" data-option-value="name">Name</a></li> ·
|
<li><a href="#sortBy=name" data-option-value="name">Name</a></li> ·
|
||||||
<li><a href="#sortBy=date" data-option-value="date">Next Episode</a></li> ·
|
<li><a href="#sortBy=date" data-option-value="date">Next Episode</a></li> ·
|
||||||
<li><a href="#sortBy=network" data-option-value="network">Network</a></li> ·
|
<li><a href="#sortBy=network" data-option-value="network">Network</a></li> ·
|
||||||
<li><a href="#sortBy=progress" data-option-value="progress">Progress</a></li>
|
<li><a href="#sortBy=progress" data-option-value="progress">Progress</a></li> ·
|
||||||
</ul>
|
</ul>
|
||||||
|
<a style="display: inline-block; float: right;" class="clearfix" href="javascript:invertSort();">Flip</a>
|
||||||
#end if
|
#end if
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user