⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chart.html.tmpl

📁 buzilla软件
💻 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 .=  "&amp;ctype=png&amp;action=plot&amp;width=";    #line 38 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('width');    $output .=  "&amp;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 .=  "&amp;action=wrap";        $output;    });        $output .=  "\n    <a href=\"";    #line 47 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('sizeurl');    $output .=  "&amp;width=";    #line 47 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('width');    $output .=  "&amp;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 .=  "&amp;width=";    #line 49 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('width') - 100;    $output .=  "&amp;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 .=  "&amp;width=";    #line 51 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('width') + 100;    $output .=  "&amp;height=";    #line 52 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('height');    $output .=  "\">Fatter</a>&nbsp;&nbsp;&nbsp;&nbsp;<br>\n    <a href=\"";    #line 53 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('sizeurl');    $output .=  "&amp;width=";    #line 53 "template\en\default\reports\chart.html.tmpl"    $output .=  $stash->get('width');    $output .=  "&amp;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 .=  "&amp;ctype=csv&amp;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 .=  "&amp;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 + -