issue 2344, added a simple/detail view on easyinstall list page

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11478 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-09-24 09:26:31 +00:00
parent 9ac0e5bc99
commit 36f01bde77
4 changed files with 24 additions and 22 deletions

View file

@ -1385,12 +1385,13 @@ jQuery(function($){
tdTitle.each(function(){
var $t = $(this)
if($t.find('p.update').length==0){
$t.addClass('tg').find('>p:not(:first-child)').hide();
$t.addClass('tg').find('>*:not(:first-child)').hide();
} else {
$t.addClass('up');
}
});
var details = $('.x .dsTg td.tg>p:not(:first-child)');
$('.x .dsTg .thumb').hide();
var details = $('.x .dsTg td.tg>*:not(:first-child), .x .dsTg .thumb');
viewBtn.click(function(){
viewBtn.toggleClass('details');
details.slideToggle(200);