Lines 23-29
use diagnostics;
Link Here
|
23 |
use C4::InstallAuth qw( get_template_and_user ); |
23 |
use C4::InstallAuth qw( get_template_and_user ); |
24 |
use CGI qw ( -utf8 ); |
24 |
use CGI qw ( -utf8 ); |
25 |
use POSIX; |
25 |
use POSIX; |
26 |
use HTML::FromANSI::Tiny; |
26 |
use HTML::FromANSI::Tiny::Bootstrap; |
27 |
|
27 |
|
28 |
use C4::Context; |
28 |
use C4::Context; |
29 |
use C4::Output qw( output_html_with_http_headers ); |
29 |
use C4::Output qw( output_html_with_http_headers ); |
Lines 557-565
sub chk_log { #returns a logfile in $dir or - if that failed - in temp dir
Link Here
|
557 |
|
557 |
|
558 |
sub colorize { |
558 |
sub colorize { |
559 |
my ($report) = @_; |
559 |
my ($report) = @_; |
560 |
my $h = HTML::FromANSI::Tiny->new( |
560 |
my $h = HTML::FromANSI::Tiny::Bootstrap->new( |
561 |
auto_reverse => 0, background => 'white', foreground => 'black', |
561 |
auto_reverse => 0, background => 'white', foreground => 'black', |
562 |
inline_style => 1, no_plain_tags => 1 |
562 |
no_plain_tags => 1 |
563 |
); |
563 |
); |
564 |
|
564 |
|
565 |
my @states = ( 'success', 'error' ); |
565 |
my @states = ( 'success', 'error' ); |