...
HTML |
---|
<STYLE TYPE='text/css'>BODY, input, select, table { font-size: 12px;font-family: Arial,Helvetica,FreeSans,'sans - serif';} </STYLE> <div id='feedback-main-div' style='font-size: 12px; font-family: Arial,Helvetica,FreeSans,sans-serif'> <div id='feedback-error'></div> <form enctype='multipart/form-data' id='feedback-form' name='feedback-form' target='feedback-response' method='post' action='http://jira.teamlead.ru/plugins/servlet/feedback/create'> <input type='hidden' name='form-index' id='form-index' value='11'/> <div><input type='Hidden' id='feedback-summary' name='feedback-summary' size='60' placeholder='Summary' value='Запрос на тренинг'/></div> <div><TEXTAREA id='feedback-body' name='feedback-body' COLS='55' ROWS='5' placeholder='Ваши пожелания по тренингу'></TEXTAREA></div> <div><input type='Hidden' id='feedback-component' name='feedback-component' value='Покупка продуктов и услуг'></div> <fieldset class='group'> <legend><span>Тренинг</span></legend> <div class='checkbox'> <input type='checkbox' value='12795' name='customfield_15342' id='customfield_15342-1' class='checkbox'> <label for='customfield_15342-1'>[JIRA-A-B] Тренинг для администраторов JIRA (Базовый курс)</label> </div> <div class='checkbox'> <input type='checkbox' value='12796' name='customfield_15342' id='customfield_15342-2' class='checkbox'> <label for='customfield_15342-2'>[JIRA-A-E] Тренинг для администраторов JIRA (Расширенный курс)</label> </div> <div class='checkbox'> <input type='checkbox' value='12797' name='customfield_15342' id='customfield_15342-3' class='checkbox'> <label for='customfield_15342-3'>[CASE] Тренинг по методологии использования продуктов Atlassian</label> </div> <div class='checkbox'> <input type='checkbox' value='12798' name='customfield_15342' id='customfield_15342-4' class='checkbox'> <label for='customfield_15342-4'>[DEVELOP] Тренинг для разработчиков модулей расширения продуктов Atlassian</label> </div> <div class='checkbox'> <input type='checkbox' value='12799' name='customfield_15342' id='customfield_15342-5' class='checkbox'> <label for='customfield_15342-5'>[CONF-U] Тренинг для пользователей Confluence</label> </div> <div class='checkbox'> <input type='checkbox' value='12800' name='customfield_15342' id='customfield_15342-6' class='checkbox'> <label for='customfield_15342-6'>[CONF-A] Тренинг для администраторов Confluence</label> </div> <div class='checkbox'> <input type='checkbox' value='12801' name='customfield_15342' id='customfield_15342-7' class='checkbox'> <label for='customfield_15342-7'>[CWARE] Тренинг по плагинам CustomWare для Confluence</label> </div> <div class='checkbox'> <input type='checkbox' value='12802' name='customfield_15342' id='customfield_15342-8' class='checkbox'> <label for='customfield_15342-8'>[GH-U] Тренинг для пользователей GreenHopper</label> </div> <div class='checkbox'> <input type='checkbox' value='12803' name='customfield_15342' id='customfield_15342-9' class='checkbox'> <label for='customfield_15342-9'>[BAMB-A] Тренинг для администраторов Bamboo</label> </div> <div class='checkbox'> <input type='checkbox' value='12804' name='customfield_15342' id='customfield_15342-10' class='checkbox'> <label for='customfield_15342-10'>[CRUC-A] Тренинг для администраторов Crucible</label> </div> <div class='checkbox'> <input type='checkbox' value='12805' name='customfield_15342' id='customfield_15342-11' class='checkbox'> <label for='customfield_15342-11'>[FISH-A] Тренинг для администраторов FishEye</label> </div> </fieldset> <div><select id='customfield_15344' name='customfield_15344'> <option value='' >Тип тренинга</option> <option value='12806'>Онлайн</option> <option value='12807'>Очный</option> <option value='12808'>Запись тренинга</option> </select> <script type='text/javascript'> jQuery(window).load(function() { jQuery('#customfield_15344').change(function() { var val = jQuery('#customfield_15344 option:selected').val(); jQuery('#customfield_15344_1').empty(); if (val == '12806') { } else if (val == '12807') { } else if (val == '12808') { } }); }); </script> </div> <input type='text' id='feedback-email' name='feedback-email' placeholder='E-mail' size='38' value=''/> <input type='button' value=' Ask ' onclick='addFeedback()'/> </form></div> <iframe id='feedback-response' name='feedback-response' frameborder='no' style='display: none' width='450' height='200'></iframe><div id='feedback-new-issue-div'><input type='button' id='feedback-new-issue-button' value='Create more issue'></div><scriptiframe><script type='text/javascript'> jQuery(window).load(function() { jQuery('#feedback-main-div').show(); jQuery('#feedback-new-issue-div').hide(); jQuery('#feedback-response').hide(); jQuery('#feedback-new-issue-button').click(function () { jQuery('#feedback-form')[0].reset(); jQuery('#feedback-main-div').show(); jQuery('#feedback-new-issue-div').hide(); jQuery('#feedback-response').hide(); }); }); function addFeedback() { var summary = jQuery('#feedback-summary').val(); var email = jQuery('#feedback-email').val(); if (summary == '' || email == '') { var message = ''; if (summary == '') { message = message + '<div>Enter the summary</div>'; } if (email == '') { message = message + '<div>Enter E-mail</div>'; } jQuery('#feedback-error').html(message); return false; } jQuery('#feedback-error').html(''); jQuery('#feedback-main-div').hide(); jQuery('#feedback-new-issue-div').show(); jQuery('#feedback-response').show(); jQuery('#feedback-form').submit(); return false; } </script> |