parent
c6bd5e6d31
commit
d21df48961
@ -0,0 +1,5 @@
|
|||||||
|
<%= form_tag( url_for(:controller => 'repositories', :action => 'quality_analyses'), :remote => true , :method => 'post', :class => 'resourcesSearchloadBox mt10', :id => 'resource_search_form') do %>
|
||||||
|
<textarea id="path_description" name="rep[path]" rows="8" placeholder="最多3000个汉字(或6000个英文字符)"></textarea>
|
||||||
|
<%= select_tag :branch, options_for_select(["#{@gitlab_default_branch}"]+ @branch_names, @rev), :id => 'branch' %>
|
||||||
|
<%= select_tag :language, options_for_select(["Java","C"]), :id => 'branch' %>
|
||||||
|
<% end %>
|
@ -0,0 +1,8 @@
|
|||||||
|
$('#ajax-modal').html('<%= escape_javascript( render :partial => 'repositories/quality_analyses', :locals => {}) %>');
|
||||||
|
showModal('ajax-modal', '615px');
|
||||||
|
$('#ajax-modal').siblings().remove();
|
||||||
|
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='hideModal()' style='margin-left: 580px;'><img src='/images/bid/close.png' width='26px' height='26px' /></a>");
|
||||||
|
$('#ajax-modal').parent().css("top","20%").css("left","42%").css("border","3px solid #269ac9");
|
||||||
|
$('#ajax-modal').parent().addClass("popbox_polls");
|
||||||
|
|
||||||
|
|
Loading…
Reference in new issue