<div class="clear"></div> <a href="/files/GigaDBUploadForm-example2.xls" class="btn pull-right">Download Example File 2</a> <div class="clear"></div> <input id="agree-checkbox" type="checkbox" style="margin-right:5px"/><a target="_blank" href="/site/term">I have read GigaDB's Terms and Conditions</a> <br/> <div class="clear"></div> <?php echo MyHtml::form(Yii::app()->createUrl('dataset/upload'), 'post', array('enctype' => 'multipart/form-data')); ?> <div class="pull-right"> <?php echo MyHtml::submitButton('Upload New Dataset', array('class' => 'btn-green upload-control', 'disabled' => 'disabled', 'title' => 'You must agree to the terms and conditions before continuing.')); ?> </div> <?php echo MyHtml::hiddenField('userId', Yii::app()->user->id); ?> <?php echo MyHtml::label('Excel File', 'xls'); ?> <?php echo MyHtml::fileField('xls', null, array('disabled' => 'disabled', 'class' => 'upload-control', 'title' => 'You must agree to the terms and conditions before continuing.')); ?> <?php echo MyHtml::endForm(); ?> </div> </div> </td> <td style="vertical-align: top; padding-left: 0px"> <div> <h2>Online Submission</h2> <div class="form well" style="height: 340px;width: 415px"> Provide all the information required for submission via a series of web-forms: <br/><br/> <ul> <li>Study details</li> <li>Authors</li>
<button class="btn btn_filter" id="btn_release_date"><? if(empty($model->size_from) && empty($model->size_to)) echo Yii::t('app' , 'Enable'); else echo Yii::t('app' , 'Disable'); ?></button> <div class="options <? if(empty($model->size_from) && empty($model->size_to)) echo 'disabled'; ?>"> <label>From</label> <? echo Myhtml::textField("size_from",$model->size_from,array('class'=>'size')); echo Myhtml::dropDownList("size_from_unit",$model->size_from_unit,array("1"=>"KB","2"=>"MB","3"=>"GB","4"=>"TB"),array('class'=>'unit')); ?> <div style="clear:both"></div> <label>To</label> <? echo Myhtml::textField("size_to",$model->size_to,array('class'=>'size')); echo Myhtml::dropDownList("size_to_unit",$model->size_to_unit,array("1"=>"KB","2"=>"MB","3"=>"GB","4"=>"TB"),array('class'=>'unit'));?> <div style="clear:both"></div> </div> </div> </div> </div> <?php echo MyHtml::submitButton(Yii::t('app', 'Apply Filters'), array('class' => 'span2 btn-green filter')); echo MyHtml::endForm(); ?> <script> submitFilter = function(){ var action=$(this).attr("action"); var tab=$("#filter_tab").val(); if(tab!="" && action.indexOf("#") ==-1){ action=action+tab; } $(this).attr("action",action); $(this).submit(); return false; }; $(function () { $('.date, .size').focus(function() {