From b8a653901c0b3f1f8f651d9555b073243067eff1 Mon Sep 17 00:00:00 2001 From: aaronkuchma Date: Tue, 7 Oct 2014 00:07:07 -0400 Subject: [PATCH] Added a "flip" search order option to new GUI HTML/CSS might need to be cleaned up (I hate CSS more than python), but sorting/flipping is working on my machine. --- gui/slick/interfaces/default/home.tmpl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gui/slick/interfaces/default/home.tmpl b/gui/slick/interfaces/default/home.tmpl index 772a820e..bb6d304f 100644 --- a/gui/slick/interfaces/default/home.tmpl +++ b/gui/slick/interfaces/default/home.tmpl @@ -109,6 +109,13 @@ }); }); +sortFlipper = true; +function invertSort(){ + sortFlipper = !sortFlipper; + \$('#container').isotope({sortAscending: sortFlipper}); + \$('#container-anime').isotope({sortAscending: sortFlipper}); +} +