版本库添加统计说明

This commit is contained in:
huang 2015-07-23 10:20:32 +08:00
parent d1359d1e55
commit 6cbafb66d9
2 changed files with 21 additions and 2 deletions

View File

@ -1,7 +1,9 @@
<div class="project_r_h">
<h2 class="project_h2"><%= l(:label_statistics) %></h2>
</div>
<p>
<div class="riviseRed fl"></div><div class="fl">修订 是版本库的提交次数, 显示为橘红色。</div><br>
<div class="changeBlue fl"></div><div class="fl">变更 是对版本库中文件的修改次数, 显示为蓝色。</div>
<p style="padding-top:35px;">
<%= tag("embed", :width => 670, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :repository_id => @repository.identifier_param, :graph => "commits_per_month")) %>
</p>
<p style="padding-top: 50px;">

View File

@ -551,7 +551,24 @@ p.percent {
font-size: 12px;
}
.repositorytitle select{ width: 110px; height: 21px; }
.riviseRed {
width:15px;
height:15px;
margin-right: 3px;
background-color:#FF0000;
filter:alpha(opacity=50); /* ie 有效*/
-moz-opacity:0.5; /* Firefox 有效*/
opacity: 0.5; /* 通用,其他浏览器 有效*/
}
.changeBlue {
width:15px;
height:15px;
margin-right: 3px;
background-color:#0000FF;
filter:alpha(opacity=50); /* ie 有效*/
-moz-opacity:0.5; /* Firefox 有效*/
opacity: 0.5; /* 通用,其他浏览器 有效*/
}
/*导出*/