package SGN::View::Mason::Commands;
use strict;
use vars qw($m $c);
HTML::Mason::Component::FileBased->new(
'code' => sub {
use utf8; local $SGN::View::Mason::Commands::m = $HTML::Mason::Commands::m;
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 16 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->print( '
' );
#line 17 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"


my $url = $c->req->path;
my $geno_msg = "<p>This database has no genotype data or you have not selected a genotyping protocol. ";
my $geno_msg_part = "either load genotype data to the database and try again or select a genotyping protocol (from above).";
if ($url =~ /solgs/) {
  $geno_msg = "$geno_msg Therefore, solGS does not function in this website.</p>
  <p>Please $geno_msg_part</p>";
} else {
  $geno_msg = "$geno_msg  Therefore, this tool does not function on genotype data in this website.</p>
  <p>If you intend to use the tool on genotype data, please $geno_msg_part</p>";
}

#line 31 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->print( '
' );
#line 32 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->comp(   '/util/import_javascript.mas', classes => ['solGS.genotypingProtocol']   
); #line 32 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->print( '

<div id="genotyping_protocols_canvas">
  <div id="genotyping_protocols_message" class="message" style="display:none;">Retrieving genotyping protocols...please wait...</div>
    <div id="genotyping_protocols_progress">
      ' );
#line 37 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->comp(   '/solgs/spinner/spinner.mas'  
); #line 37 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->print( '
    </div>
  </div>

<div  class=\'row text-center\'
       id=\'genotyping_protocol\'
       style=\'margin:40px 0 40px 0;display:none\'>
    <div>
      <button class=\'btn btn-light\'
	      type=\'button\'
	      id=\'genotyping_protocol_message\'>Retrieving genotyping protocols...
      </button>
      <button class=\'btn btn-success\'
	      type=\'button\'
	      id=\'genotyping_protocols_change\'>Change
      </button>
    </div>
    <div id=\'genotyping_protocols_list_div\' style=\'text-align:center;width:40%;display:none;margin:0 auto;\'>
      <select class=\'form-control text-center\'
	      id=\'genotyping_protocols_list_select\'>
      </select>
    </div>

   <input type=\'hidden\'
	   id=\'genotyping_protocol_id\'
	   value=\'\'/>
</div>

<div class="row" style="margin-top:10px;margin-bottom:10px">
	<div  id="genotype_missing_message"  class="col-md-6 col-md-offset-3  bg-danger" style="padding-top:10px;padding-bottom:10px;display:none">
  	' );
#line 67 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->print(  $geno_msg  );
#line 67 "/home/production/cxgn/sgn/mason/solgs/genotyping_protocol/index.mas"
$m->print( '
  </div>
</div>

' );
;return;
},
'load_time' => 1763091696,

)
;