$tr->fclass('result_text')->attr(class => "r$data->{result}");
};
$tree->find('table')->find('tbody')->find('tr')->iter3($args{log}, $iter);
- $args{next_page} ? $tree->fclass('next')->namedlink($args{next_page}, 'Next') : $tree->fclass('next')->attr(class => 'next disabled');
- $args{previous_page} ? $tree->fclass('previous')->namedlink($args{previous_page}, 'Previous') : $tree->fclass('previous')->attr(class => 'previous disabled');
+ $args{next_page} ? $tree->fclass('next')->namedlink($args{next_page}, 'Next') : $tree->fclass('next')->detach;
+ $args{previous_page} ? $tree->fclass('previous')->namedlink($args{previous_page}, 'Previous') : $tree->fclass('previous')->detach;
$tree->fclass('current')->replace_content("Page $args{current_page} of $args{last_page}");
}