From 41c8a69ca2e6c754dc5e08c9362805a6b051bc82 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 27 Oct 2012 10:59:31 +0000 Subject: feature:2718 Add batch manager filters for photo dimensions, redisgn git-svn-id: http://piwigo.org/svn/trunk@18758 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../default/template/batch_manager_global.tpl | 42 ++++++++++++---------- 1 file changed, 23 insertions(+), 19 deletions(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index 5b031fc6b..154a19f20 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -392,6 +392,11 @@ $(document).ready(function() { $("span[id^='filter_dimension_']").hide(); $("span#filter_dimension_"+ $(this).attr("value")).show(); }); + + $("a.ratio-choice").click(function() { + $("input[name='filter_ratio_min']").val($(this).data("min")); + $("input[name='filter_ratio_max']").val($(this).data("max")); + }); function filter_disable(filter) { /* hide the filter line */ @@ -552,25 +557,23 @@ $(document).ready(function() {
  • [x] - - px - px - px - px - - - + {'Dimensions'|@translate} : + — + — + — + +
  • + +
  • + [x] + + {'Ratio'|@translate} : + — + — + {'Portrait'|@translate} | + {'square'|@translate} | + {'Landscape'|@translate} | + {'Panorama'|@translate}
  • @@ -583,6 +586,7 @@ $(document).ready(function() { + {'Remove all filters'|@translate}

    -- cgit v1.2.3