some css to added
This commit is contained in:
parent
dcd2aa7848
commit
05eb71036d
|
@ -1,26 +1,9 @@
|
|||
<p> lines: <%= @complexity["msr"][0]["frmt_val"] %></p>
|
||||
<p> classes: <%= @complexity["msr"][1]["frmt_val"] %></p>
|
||||
<p> files: <%= @complexity["msr"][2]["frmt_val"] %></p>
|
||||
<p> directories: <%= @complexity["msr"][3]["frmt_val"] %></p>
|
||||
<p> function: <%= @complexity["msr"][4]["frmt_val"] %></p>
|
||||
<p> comment_lines_density: <%= @complexity["msr"][5]["frmt_val"] %></p>
|
||||
<p> function_complexity: <%= @complexity["msr"][6]["frmt_val"] %></p>
|
||||
<p> duplicated_lines_density: <%= @complexity["msr"][7]["frmt_val"] %></p>
|
||||
<p> sqale_index: <%= @complexity["msr"][8]["frmt_val"] %></p>
|
||||
<p> sqale_rating: <%= @complexity["msr"][9]["frmt_val"] %></p>
|
||||
|
||||
<p> issues: <%= @sonar_issues["msr"][0]["frmt_val"] %></p>
|
||||
<%# DD %>
|
||||
|
||||
|
||||
<%= javascript_include_tag 'highcharts','highcharts-more' %>
|
||||
<%= render :partial => "hightchars" %>
|
||||
|
||||
|
||||
<div class="project_r_h">
|
||||
<h2 class="project_h2" style="width:180px;">SonarQube质量分析</h2>
|
||||
</div>
|
||||
<a href="javascript:void(0);" class="blue_btn_cir fl mt5 c_white" style="background-color:#64bdd9;">branch:master</a>
|
||||
<!--<a href="javascript:void(0);" class="blue_btn_cir fl mt5 c_white" style="background-color:#64bdd9;">branch:master</a>-->
|
||||
<div class="cl"></div>
|
||||
<div class="tac f20 fb mt35 mb30">项目代码质量分析报告</div>
|
||||
<div class="analysis-tag-wrap f16"> <span class="analysis-tag fl mr15"></span> <span class="fb fl">概要信息</span></div>
|
||||
|
@ -40,7 +23,7 @@
|
|||
<div class="flex">
|
||||
<div class="analysis-genral">
|
||||
<p id="container_duplicated_lines_density" style="max-width:260px;min-height:260px;width:260px; margin:0 auto;"></p>
|
||||
<p class="fontGrey3 mt15">重复</p>
|
||||
<p class="fontGrey3">重复</p>
|
||||
<p class="fontBlue2 pr"><%= @complexity["msr"][7]["frmt_val"] %><span class="f8 c_white analysis-genral-icon b_green2 borderRadius"><%= duplicated_lines_density_status(@complexity["msr"][7]["val"]) %></span></p>
|
||||
</div>
|
||||
<div class="analysis-genral">
|
||||
|
|
|
@ -27,6 +27,7 @@ a.btn_message_free{ background:#ff5722; display:block; text-align:center; color
|
|||
h2{ font-size:18px; }
|
||||
h3{ font-size:14px; }
|
||||
h4{ font-size:14px; }
|
||||
.f8 {font-size:8px;}
|
||||
.f12{font-size:12px; font-weight:normal;}
|
||||
.f14{font-size:14px;}
|
||||
.f16{font-size:16px;}
|
||||
|
@ -130,6 +131,7 @@ h4{ font-size:14px; }
|
|||
.mt12 { margin-top:12px !important;}
|
||||
.mt15 {margin-top:15px;}
|
||||
.mt19 {margin-top:19px !important;}
|
||||
.mt35 {margin-top:35px;}
|
||||
.ml70{margin-left: 70px;}
|
||||
.mb0 {margin-bottom: 0px !important;}
|
||||
.mb4{ margin-bottom:4px;}
|
||||
|
@ -137,6 +139,8 @@ h4{ font-size:14px; }
|
|||
.mb8 {margin-bottom:8px;}
|
||||
.mb10{ margin-bottom:10px !important;}
|
||||
.mb20{ margin-bottom:20px;}
|
||||
.mb30 {margin-bottom:30px;}
|
||||
.mb40 {margin-bottom:40px;}
|
||||
.pl10 {padding-left:10px;}
|
||||
.pl15{ padding-left:15px;}
|
||||
.pl5{ padding-left:5px;}
|
||||
|
@ -228,6 +232,7 @@ a.c_green{ color:#28be6c;}
|
|||
|
||||
.b_grey{ background: #F5F5F5;}
|
||||
.b_dgrey{ background: #CCC;}
|
||||
.c_white {color:#fff;}
|
||||
.c_orange{color:#e8770d;}
|
||||
.c_dark{ color:#2d2d2d;}
|
||||
.c_lorange{ color:#ff9900;}
|
||||
|
@ -239,6 +244,8 @@ a.c_green{ color:#28be6c;}
|
|||
.c_dblue{ color:#09658c;}
|
||||
.b_blue{background:#64bdd9;}
|
||||
.b_green{background:#28be6c;}
|
||||
.b_green2 {background:#63c360;}
|
||||
.b_red {background:#d60308;}
|
||||
.b_w{ background:#fff !important;}
|
||||
|
||||
/*add by Tim*/
|
||||
|
@ -341,6 +348,8 @@ a:hover.bgreen_n_btn{background:#08a384;}
|
|||
.orange_btn_cir{ background:#e67e22; padding:1px 10px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; color:#fff; font-weight:normal; font-size:12px;white-space:nowrap;}
|
||||
.bgreen_btn_cir{ background:#1abc9c; padding:1px 10px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; color:#fff; font-weight:normal; font-size:12px;white-space:nowrap;}
|
||||
.grey_border{border:1px solid #dddddd !important;}
|
||||
.borderRadius {border-radius:5px;}
|
||||
.tac {text-align:center;}
|
||||
/* commonpic */
|
||||
.pic_date{ display:block; background:url(../images/new_project/public_icon.png) -31px 0 no-repeat; width:16px; height:15px; float:left;}
|
||||
.pic_add{ display:block; background:url(../images/new_project/public_icon.png) -31px -273px no-repeat; width:16px; height:15px; float:left;}
|
||||
|
|
Loading…
Reference in New Issue