From 4ee4ce3d52fc84023e947c7493eb8b104123c7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20K?= Date: Sun, 13 Mar 2016 12:51:34 +0100 Subject: [PATCH] Filter activate/desactivate plugins --- .../admin/themes/default/css/default.css | 9 ++++++++ bl-kernel/admin/views/plugins.php | 23 +++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) mode change 100644 => 100755 bl-kernel/admin/themes/default/css/default.css diff --git a/bl-kernel/admin/themes/default/css/default.css b/bl-kernel/admin/themes/default/css/default.css old mode 100644 new mode 100755 index 38ba8fad..196d7560 --- a/bl-kernel/admin/themes/default/css/default.css +++ b/bl-kernel/admin/themes/default/css/default.css @@ -541,3 +541,12 @@ div.plugin-links > span.separator { margin-bottom: 0px !important; display: inline-block; } + +/* ----------- PLUGINS FILTER ----------- */ + +tr.plugin-installed.hide, tr.plugin-notInstalled.hide{ + width:0%; + opacity:0; + display:none; + transition:all 0.1s; +} \ No newline at end of file diff --git a/bl-kernel/admin/views/plugins.php b/bl-kernel/admin/views/plugins.php index 30cf1c6a..4a9e2071 100644 --- a/bl-kernel/admin/views/plugins.php +++ b/bl-kernel/admin/views/plugins.php @@ -3,6 +3,12 @@ HTML::title(array('title'=>$L->g('Plugins'), 'icon'=>'puzzle-piece')); echo ' +
+ ALL + '.$L->g('Activate').' + '.$L->g('Deactivate').' +
+ @@ -48,5 +54,18 @@ foreach($plugins['all'] as $Plugin) echo ' -
-'; \ No newline at end of file + + +'; \ No newline at end of file