?? chart.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1161115118', 'name' => 'reports/chart.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n"; $output .= "\n \n"; $output .= "\n"; #line 25 "template\en\default\reports\chart.html.tmpl" $stash->set('width', 600, 1); $stash->set('height', 350, 1); $output .= "\n"; #line 29 "template\en\default\reports\chart.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Chart', 'header_addl_info' => $stash->get(['time2str', [ '%Y-%m-%d %H:%M:%S', $stash->get('time') ]]) }); $output .= "\n\n<div align=\"center\">\n"; #line 39 "template\en\default\reports\chart.html.tmpl" # CAPTURE $stash->set('imageurl', do { my $output = ''; $output .= "chart.cgi?"; #line 37 "template\en\default\reports\chart.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('imagebase'); &$_tt_filter($output); }; $output .= "&ctype=png&action=plot&width="; #line 38 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('width'); $output .= "&height="; #line 38 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('height'); $output; }); $output .= "\n\n <img alt=\"Graphical report results\" src=\""; #line 41 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('imageurl'); $output .= "\"\n width=\""; #line 42 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('width'); $output .= "\" height=\""; #line 42 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('height'); $output .= "\">\n <p>"; #line 46 "template\en\default\reports\chart.html.tmpl" # CAPTURE $stash->set('sizeurl', do { my $output = ''; $output .= "chart.cgi?"; #line 45 "template\en\default\reports\chart.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('imagebase'); &$_tt_filter($output); }; $output .= "&action=wrap"; $output; }); $output .= "\n <a href=\""; #line 47 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('sizeurl'); $output .= "&width="; #line 47 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('width'); $output .= "&height="; #line 48 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('height') + 100; $output .= "\">Taller</a><br>\n <a href=\""; #line 49 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('sizeurl'); $output .= "&width="; #line 49 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('width') - 100; $output .= "&height="; #line 50 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('height'); $output .= "\">Thinner</a> * \n <a href=\""; #line 51 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('sizeurl'); $output .= "&width="; #line 51 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('width') + 100; $output .= "&height="; #line 52 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('height'); $output .= "\">Fatter</a> <br>\n <a href=\""; #line 53 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('sizeurl'); $output .= "&width="; #line 53 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('width'); $output .= "&height="; #line 54 "template\en\default\reports\chart.html.tmpl" $output .= $stash->get('height') - 100; $output .= "\">Shorter</a><br>\n </p>\n \n <p>\n <a href=\"chart.cgi?"; #line 59 "template\en\default\reports\chart.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('imagebase'); &$_tt_filter($output); }; $output .= "&ctype=csv&action=plot\">CSV</a> |\n <a href=\"chart.cgi?"; #line 60 "template\en\default\reports\chart.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('imagebase'); &$_tt_filter($output); }; $output .= "&action=assemble\">Edit \n this chart</a>\n </p>\n \n</div>\n"; #line 66 "template\en\default\reports\chart.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -