2016-06-30 17:36:33 +08:00
|
|
|
<div class="f16 fb fontBlue mb10">代码质量分析</div>
|
|
|
|
<div>
|
2016-07-01 09:31:05 +08:00
|
|
|
<%= form_tag( url_for(:controller => 'quality_analysis', :action => 'update_jenkins_job', :project_id => @project.id), :id => 'quality_analyses_edit_form') do %>
|
2016-06-30 17:36:33 +08:00
|
|
|
<div class="ui form">
|
|
|
|
<div class="mb10" style="margin-right:13px;">
|
|
|
|
<textarea id="path_description" name="path" rows="8" style="height: 87px; resize:vertical;" class="analysis-option-box"><%= @quality_analysis.path %></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="mb10">
|
|
|
|
<div>
|
2016-07-01 09:31:05 +08:00
|
|
|
<%= select_tag :branch, options_for_select(["#{@gitlab_default_branch}"]+ @branch_names, @quality_analysis.branch), :value => 77, :id => 'branch', :class => "analysis-option-box" %>
|
2016-06-30 17:36:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mb10">
|
|
|
|
<div>
|
2016-07-01 09:31:05 +08:00
|
|
|
<%= select_tag :language, options_for_select(["java","python","ruby","c++","c#","c"], "#{@quality_analysis.language}"), :id => 'branch', :class => "analysis-option-box" %>
|
2016-06-30 17:36:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-07-01 09:31:05 +08:00
|
|
|
<div class="courseSendSubmit mr15"><a href="javascript:void(0);" class="sendSourceText" onclick="$('#quality_analyses_edit_form').submit();hideModal()">提交</a></div>
|
2016-06-30 17:36:33 +08:00
|
|
|
<div class="courseSendCancel"><a href="javascript:void(0);" class="sendSourceText" onclick="hideModal()">取消</a></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|