Merge pull request #5056 from solgenomics/topic/generic_seedlot_upload
[sgn.git] / mason / tools / qualityControl / qualityControl.mas
blob2bc10385e715c1496762ed3feb30927cf1ce45c0
1 <%doc>
3 =head1 NAME
4  
5 /tools/qualityControl/qualityControl.mas - qualityControl output section
7 =AUTHOR
9 Chris Simoes (ccs263@cornell.edu)
11 =cut
13 </%doc>
15 <%args>
17 $pop_id   => undef
18 $trial_id => undef
20 </%args>
22 <%perl>
24 $pop_id = $trial_id if $trial_id;
26 </%perl>
28 <style>
29 /* qualityControl coefficients plot styling */
30 .axis text {
31   font: 10px sans-serif;
34 .axis line,
35 .axis path {
36   fill: none;
37   stroke: #000;
38   shape-rendering: crispEdges;
41 </style>
44 <& /util/import_javascript.mas, classes => ["d3.d3Min", "qualityControl.qualityControl"] &>
45 <&| /page/info_section.mas, 
46       collapsible => 1, 
47       collapsed   => 0, 
48       title       => "Quality Control Tool (st4gi)"
52 <div id="qualityControl_canvas">
53   <input id="run_pheno_qualityControl" class="button" type="button" value="Run QC" /> 
54   <input type="hidden" id="population_id" value="<% $pop_id %>" />
55   <div id="qualityControl_message"  style="font-weight:bold;text-align:center;color:#A7C942"></div>
56 </div>
58 </&>