2016-06-23 11:24:58 +08:00
|
|
|
<div class="f16 fb fontBlue mb10">代码质量分析</div>
|
|
|
|
<div>
|
2016-06-29 09:59:21 +08:00
|
|
|
<%= form_tag( url_for(:controller => 'quality_analysis', :action => 'create', :project_id => @project.id, :user_id => User.current.id, :identifier => @repository.identifier, :rep_id => @repository.id, :remote => true), :id => 'quality_analyses_form') do %>
|
2016-06-22 17:40:13 +08:00
|
|
|
<div class="ui form">
|
|
|
|
<div class="mb10" style="margin-right:13px;">
|
|
|
|
<textarea id="path_description" name="path" rows="8" placeholder="目录相对于根目录,用半角逗号隔开。如:src/main/java,libs,res/script" style="height: 87px; resize:vertical;" class="analysis-option-box"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="mb10">
|
|
|
|
<div>
|
|
|
|
<%= select_tag :branch, options_for_select(["#{@gitlab_default_branch}"]+ @branch_names, @rev), :id => 'branch', :class => "analysis-option-box" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mb10">
|
|
|
|
<div>
|
2016-06-29 09:59:21 +08:00
|
|
|
<%= select_tag :language, options_for_select(["java","python","ruby","c++","c#","c"]), :id => 'branch', :class => "analysis-option-box" %>
|
2016-06-22 17:40:13 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="courseSendSubmit mr15"><a href="javascript:void(0);" class="sendSourceText" onclick="$('#quality_analyses_form').submit();hideModal()">提交</a></div>
|
|
|
|
<div class="courseSendCancel"><a href="javascript:void(0);" class="sendSourceText" onclick="hideModal()">取消</a></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
2016-06-23 11:24:58 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|