X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob_submit.html;h=b25ba06fd5345e51d70d416feeb0c64da2befc35;hb=957dafde8290f3ab8d25f7b96af10e583d50100b;hp=83e90254b4ec4f2d747370e4247ff61c29ecca0b;hpb=368ebd66507c4d45cbc6e77cb3d45624172d0995;p=qcg-portal.git diff --git a/qcg/templates/qcg/job_submit.html b/qcg/templates/qcg/job_submit.html index 83e9025..b25ba06 100644 --- a/qcg/templates/qcg/job_submit.html +++ b/qcg/templates/qcg/job_submit.html @@ -34,7 +34,7 @@ return res; } - $('#id_master_file,#id_executable,#id_input,#id_preprocess_script,#id_postprocess_script').before(function() { + $('#id_master_file,#id_pdb_file,#id_executable,#id_input,#id_preprocess_script,#id_postprocess_script').before(function() { var target = this; return gridftpButton.clone().click(function() { $('#select-btn').off().click(function() { @@ -77,7 +77,7 @@ }); }).wrap('
'); - $('#id_application').selectize(); + $('#id_application,#id_force_field').selectize(); $('#id_arguments,#id_properties,#id_native').selectize({ plugins: ['remove_button'], create: true, @@ -95,10 +95,15 @@ } } }); - $('#id_modules,#id_hosts,#id_master_file,#id_executable,#id_input,#id_stage_in,#id_preprocess_script,#id_postprocess_script').selectize({ + + $('#id_modules,#id_hosts,#id_pdb_file,#id_master_file,#id_executable,#id_input,#id_stage_in,#id_preprocess_script,#id_postprocess_script').selectize({ plugins: ['remove_button'] }); + $('#id_sequence').on("click keyup", function(){ + $(this).val($(this).val().toUpperCase()); + }); + // hide delete checkbox in empty env form $('#env-form-empty').find('div.form-group:last-of-type').hide(); $('#env-controls').find('> div').formset({ @@ -126,6 +131,7 @@ $('#gridftp').one('show.bs.modal', function() { filex.initialLoad(); + $(this).find('.modal-body').css('height', window.innerHeight - 200 + 'px'); }); $('#template').on('show.bs.modal', function() {