6 |
#with 'Frey::Storage'; |
#with 'Frey::Storage'; |
7 |
with 'Frey::jQuery'; |
with 'Frey::jQuery'; |
8 |
with 'Frey::File'; # FIXME inline on demand? |
with 'Frey::File'; # FIXME inline on demand? |
9 |
|
with 'Frey::Web::IFrame'; |
10 |
|
|
11 |
use DateTimeX::Easy; |
use DateTimeX::Easy; |
12 |
|
|
64 |
$placeholder = qq| |
$placeholder = qq| |
65 |
<div id="placeholder" style="width:600px;height:300px;"></div> |
<div id="placeholder" style="width:600px;height:300px;"></div> |
66 |
<div id="selection">no selection</div> |
<div id="selection">no selection</div> |
67 |
|; |
| |
68 |
|
. $self->iframe_html |
69 |
|
; |
70 |
} |
} |
71 |
|
|
72 |
warn "# $data_js" if $self->debug; |
warn "# $data_js" if $self->debug; |
73 |
|
|
74 |
my $sar = $self->sar_command; |
my $sar = $self->sar_command; |
75 |
my $c = $sar; |
my $c = $sar; |
76 |
$c =~ s{(-n\s*\d+).*}{$1}; |
$c =~ s{sar\s(-n\s*\d+)?(.*?)$}{sar $1}; |
77 |
|
|
78 |
my $form = qq| |
my $form = qq| |
79 |
<form method="post"> |
<form method="post"> |