Merge remote-tracking branch 'origin/szzh' into szzh

This commit is contained in:
lizanle 2015-07-21 15:16:21 +08:00
commit ec877c9044
4 changed files with 37 additions and 29 deletions

View File

@ -7,6 +7,8 @@
#out{} #out{}
#in{width:10px; height:20px;background:#15BCCF;color:white;text-align:center;} #in{width:10px; height:20px;background:#15BCCF;color:white;text-align:center;}
#font_color{background:yellow;text-align:center;color:white;} #font_color{background:yellow;text-align:center;color:white;}
td.redBox {border:1px solid #b0b0b0; width:80px; background-color:#EAEAEA; }
td.redBox2 {border:1px solid #b0b0b0; width:120px; }
</style> </style>
<div style="padding-left: 200px;"> <div style="padding-left: 200px;">
<div id='out'> <div id='out'>
@ -42,31 +44,33 @@
</div> </div>
</div> </div>
<div id="show_content_div" style="display: none;padding-top: 10px;"> <div id="show_content_div" style="display: none;padding-top: 0px;">
<p class="fr f14 ">语言:<span style="color: red">Java</span> 总文件数:<span style="color: red">361</span> 代码行数:<span style="color: red">48662</span></p> <p class="fr f14 " style="padding-right: 32px;">语言:<span style="color: red">Java</span> 总文件数:<span style="color: red">361</span> 代码行数:<span style="color: red">48662</span></p>
<div style="padding-left: 35px;padding-top: 30px;">
<% @dts.each do |dt| %>
<% @dts.each do |dt| %> <table width="600" border="0" style="padding-left: 30px; border-spacing:0; border-collapse:collapse; border: 1px solid #b0b0b0;">
<table width="600" border="2" style="padding-top: 10px; padding-left: 30px;"> <tr>
<tr> <td align="center" class="redBox">错误变量</td>
<td align="center" bgcolor="#999999" style="width: 80px"><strong>错误变量</strong></td> <td class="redBox2"> &nbsp;<%= dt.Variable %></td>
<td style="width: 120px"><%= dt.Variable %></td> <td align="center" class="redBox">起始行</td>
<td align="center" bgcolor="#999999" style="width: 80px"><strong>起始行</strong></td> <td class="redBox2"> &nbsp;<%= dt.StartLine %></td>
<td style="width: 120px"><%= dt.StartLine %></td> <td align="center" class="redBox">IP行</td>
<td align="center" bgcolor="#999999" style="width: 80px"><strong>IP行</strong></td> <td class="redBox2"> &nbsp;<%= dt.IPLine %></td>
<td><%= dt.IPLine %></td> </tr>
</tr> <tr>
<tr> <td align="center" class="redBox">缺陷代码</td>
<td align="center" bgcolor="#999999"><strong>缺陷代码</strong></td> <td colspan="5" class="redBox2"> &nbsp;<%= dt.IPLineCode %></td>
<td colspan="5"><%= dt.IPLineCode %></td> </tr>
</tr> <tr>
<tr> <td align="center" class="redBox">错误描述</td>
<td align="center" bgcolor="#999999"><strong>错误描述</strong></td> <td colspan="5" class="redBox2">&nbsp;<%= dt.Description %></td>
<td colspan="5"><%= dt.Description %></td> </tr>
</tr> <tr>
<tr> <td align="center" class="redBox">文件</td>
<td align="center" bgcolor="#999999"><strong>文件</strong></td> <td colspan="5" class="redBox2"> &nbsp;<%= dt.File %></td>
<td colspan="5"><%= dt.File %></td> </tr>
</tr> </table>
</table> <% end %>
<% end %> </div>
</div> </div>

View File

@ -0,0 +1,3 @@
<div class="project_r_h">
<h2 class="project_h2"><%= l(:label_project_dts) %></h2>
</div>

View File

@ -42,6 +42,6 @@
</div> </div>
<div id="show_content_div" style="display: none;padding-top: 0px; "> <div id="show_content_div" style="display: none;padding-top: 0px; ">
<p class="pl10 f14 "><span style="color: #7f7f7f;font-size: 14px; ">点击进入</span> <p class="pl10 f14 "><span style="color: #7f7f7f;font-size: 14px; ">所部署服务的网址</span>
<span><a href="http://rubyblog.forge.trustie.net/myblog" target="_Blank" style="color: #15BCCF;font-size: 14px;">云化部署平台</a></span></p> <span><a href="http://publify.forge.trustie.net" target="_Blank" style="color: #15BCCF;font-size: 14px;">http://publify.forge.trustie.net</a></span></p>
</div> </div>

View File

@ -396,8 +396,9 @@ RedmineApp::Application.routes.draw do
get 'invite_members', :action=> 'invite_members' get 'invite_members', :action=> 'invite_members'
get 'invite_members_by_mail', :action=> 'invite_members_by_mail' get 'invite_members_by_mail', :action=> 'invite_members_by_mail'
# get 'dts_repos', :aciton => 'dts_repos'
get 'send_mail_to_member', :action => 'send_mail_to_member' get 'send_mail_to_member', :action => 'send_mail_to_member'
match 'user_watcherlist', :to => 'projects#watcherlist', :via => :get, :as => "watcherlist" #add by huang match 'user_watcherlist', :to => 'projects#watcherlist', :via => :get, :as => "watcherlist"
#end #end
post 'modules' post 'modules'
post 'archive' post 'archive'