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

📄 dependency-graph.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1161115118',        'name' => 'bug/dependency-graph.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 35 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 37 "template\en\default\bug\dependency-graph.html.tmpl"    $stash->set('title', 'Dependency Graph');    $stash->set('header', $stash->get('title'));        $output .=  "\n";    #line 47 "template\en\default\bug\dependency-graph.html.tmpl"    if (! $stash->get('multiple_bugs') && ! $stash->get('doall')) {    #line 42 "template\en\default\bug\dependency-graph.html.tmpl"        # CAPTURE    $stash->set('filtered_desc', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('short_desc');                &$_tt_filter($output);    };            $output;    });        #line 0 "template\en\default\bug\dependency-graph.html.tmpl"    $stash->set('title', ($stash->get('title') . " for " . $stash->get(['terms', 0, 'bug', 0]) . " " . $stash->get('bug_id')));    $stash->set('header', ($stash->get('header') . " for " . $stash->get(['terms', 0, 'bug', 0]) . " <a href=\"show_bug.cgi?id=" . $stash->get('bug_id') . "\">" . $stash->get('bug_id') . "</a>"));    $stash->set('subheader', $stash->get('filtered_desc'));        }        $output .=  "\n";    #line 49 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $context->process('global/header.html.tmpl');    $output .=  "\n";    #line 51 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get('image_map');    $output .=  "\n\n<p>\n  Green circles represent open ";    #line 54 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  ".\n</p>\n";    #line 63 "template\en\default\bug\dependency-graph.html.tmpl"    if ($stash->get('image_map')) {    $output .=  "\n  <img src=\"";    #line 58 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get('image_url');    $output .=  "\" alt=\"Dependency graph\" usemap=\"#imagemap\">";    }    else {    $output .=  "\n  <a href=\"";    #line 60 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get('map_url');    $output .=  "\">\n    <img src=\"";    #line 61 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get('image_url');    $output .=  "\" alt=\"Dependency graph\" ismap=\"ismap\">\n  </a>";    }        $output .=  "\n\n<hr>\n\n<form action=\"showdependencygraph.cgi\">\n  <table>\n    <tr>\n      <td>";    #line 71 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  " numbers:\n        <input name=\"id\" value=\"";    #line 72 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get('bug_id');    $output .=  "\">\n      </td>\n    </tr>\n\n    <tr>\n      <td>\n        <input type=\"checkbox\" name=\"doall\"";    #line 79 "template\en\default\bug\dependency-graph.html.tmpl"    if ($stash->get('doall')) {    $output .=  ' checked';    }        $output .=  ">\n        Show <b>every</b> ";    #line 80 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " in the system with dependencies\n      </td>\n    </tr>\n\n    <tr>\n      <td colspan=\"3\">\n        <input type=\"checkbox\" name=\"showsummary\"";    #line 87 "template\en\default\bug\dependency-graph.html.tmpl"    if ($stash->get('showsummary')) {    $output .=  ' checked';    }        $output .=  ">\n        Show the summaries of all displayed ";    #line 88 "template\en\default\bug\dependency-graph.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  "\n      </td>\n    </tr>\n\n    <tr>\n      <td colspan=\"3\">\n        <select name=\"rankdir\">\n          <option value=\"TB\"";    #line 96 "template\en\default\bug\dependency-graph.html.tmpl"    if ($stash->get('rankdir') eq 'TB') {    $output .=  ' selected';    }        $output .=  ">\n            Orient top-to-bottom\n          </option>\n          <option value=\"LR\"";    #line 100 "template\en\default\bug\dependency-graph.html.tmpl"    if ($stash->get('rankdir') eq 'LR') {    $output .=  ' selected';    }        $output .=  ">\n            Orient left-to-right\n          </option>\n        </select>\n      </td>\n    </tr>\n  </table>\n  <input type=\"submit\" id=\"change\" value=\"Change Parameters\">\n</form>\n";    #line 110 "template\en\default\bug\dependency-graph.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 + -