质量分析界面调整
This commit is contained in:
parent
11f8656651
commit
0ea9a49f86
|
@ -6,10 +6,10 @@ class QualityAnalysisController < ApplicationController
|
|||
layout "base_projects"
|
||||
include ApplicationHelper
|
||||
include QualityAnalysisHelper
|
||||
require 'jenkins_api_client'
|
||||
require 'nokogiri'
|
||||
require 'json'
|
||||
require 'open-uri'
|
||||
# require 'jenkins_api_client'
|
||||
# require 'nokogiri'
|
||||
# require 'json'
|
||||
# require 'open-uri'
|
||||
|
||||
def show
|
||||
|
||||
|
|
|
@ -2,6 +2,44 @@
|
|||
// $("#ajax-indicator span").text("载入中...");
|
||||
$("#ajax-indicator").show();
|
||||
</script>
|
||||
<div class="quality_info mb10">
|
||||
<h2><a href="javascript:history.go(-1)" class="fl linkBlue2 mr5" >
|
||||
<span class="new_roadmap_icons_back mr5"></span>
|
||||
返回</a> <span class="fl mr5">|</span> <span class="fl">分析结果</span>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="container-big mb10">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>名称</td>
|
||||
<td>分支</td>
|
||||
<td>语言</td>
|
||||
<td>路径</td>
|
||||
<td>时间</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<% if @quality_analyses && @quality_analyses.count > 0 %>
|
||||
<% @quality_analyses.each do |qa| %>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><%= qa.branch %></td>
|
||||
<td><%= qa.language %></td>
|
||||
<td><%= qa.path %></td>
|
||||
<td><%= format_time(qa.created_at) %></td>
|
||||
<td><%=link_to "删除", delete_project_quality_analysi_path(qa, :project_id => @project.id), :method => "delete", :confirm => "删除会一并删除分析结果,确定删除吗?", :class => "fontBlue2" %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% else %>
|
||||
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-big mb10">
|
||||
<div class="project_r_h" style="width:970px;">
|
||||
<h2 class="project_h2">分析结果</h2>
|
||||
|
|
|
@ -1031,3 +1031,7 @@ a.pro_new_users { max-width:80px; overflow:hidden;overflow:hidden;text-overflow:
|
|||
a:hover.pro_new_users {color: #3b94d6}
|
||||
.pro_new_users img{ width:40px;height:40px; border: 3px solid #fff;-webkit-border-radius:50px;-moz-border-radius:50px;-o-border-radius:50px;border-radius:50px;}
|
||||
.pro_new_users img:hover{border: 3px solid #e6e6e6;}
|
||||
|
||||
/*质量分析*/
|
||||
.quality_info{ border:1px solid #ddd; background-color:#fff; width: 998px;}
|
||||
.quality_info h2{ background: #fff; font-size: 14px; color: #333; height: 40px; line-height: 40px; padding-left: 15px; border-bottom:1px solid #e5e5e5;}
|
||||
|
|
Loading…
Reference in New Issue