mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
toggle ascending/descending mode
This commit is contained in:
5
src/interface/static/css/main.css
vendored
5
src/interface/static/css/main.css
vendored
@@ -349,6 +349,11 @@ body {
|
||||
/* min-width: 55px; */
|
||||
}
|
||||
|
||||
#flip_sort {
|
||||
margin: 0px;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.ui_icon_notxt {
|
||||
margin: 0px 5px 0px 0px;
|
||||
}
|
||||
|
||||
4
src/interface/static/css/main.scss
vendored
4
src/interface/static/css/main.scss
vendored
@@ -364,6 +364,10 @@ body {
|
||||
justify-content: center;
|
||||
align-items: center;/* min-width: 55px; */
|
||||
}
|
||||
#flip_sort{
|
||||
margin: 0px;
|
||||
display: inline-flex;
|
||||
}
|
||||
.ui_icon_notxt{
|
||||
margin: 0px 5px 0px 0px;
|
||||
}
|
||||
|
||||
3
src/interface/static/js/pyshelf_ux.js
vendored
3
src/interface/static/js/pyshelf_ux.js
vendored
@@ -84,6 +84,9 @@ $(document).ready(function(){
|
||||
_location = $(this).attr('data-location');
|
||||
window.location.href=_location;
|
||||
});
|
||||
$('#flip_sort').on("click", function(){
|
||||
window.location.href="/flip_sort/"+$("#_order").val()
|
||||
});
|
||||
$('#search_string').html("<i> "+$('#_search').val().substr(0,15)+"</i>")
|
||||
resize_search();
|
||||
$(window).resize(resize_search(win_width));
|
||||
|
||||
Reference in New Issue
Block a user