|
|
@ -1,15 +1,57 @@
|
|
|
|
<div class="project_r_h">
|
|
|
|
<div class="project_r_h">
|
|
|
|
<h2 class="project_h22"><%= l(:label_project_dts_statics) %></h2>
|
|
|
|
<h2 class="project_h22"><%= l(:label_project_dts_statics) %></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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="box_h3" style="text-align:center; padding-top: 20px; ">具体测试结果</p>-->
|
|
|
|
<!--JS进度条-->
|
|
|
|
<!--<div style="font-size: 14px;">-->
|
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
#out{}
|
|
|
|
|
|
|
|
#in{width:10px; height:20px;background:#15BCCF;color:white;text-align:center;}
|
|
|
|
|
|
|
|
#font_color{background:yellow;text-align:center;color:white;}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div style="padding-left: 200px;">
|
|
|
|
|
|
|
|
<div id='out'>
|
|
|
|
|
|
|
|
<p style="padding-left: 120px;padding-bottom: 10px;font-size: 14px;">测试分析中</p>
|
|
|
|
|
|
|
|
<div style="width:300px;height:20px;background:#EEE;">
|
|
|
|
|
|
|
|
<div id="in" style="width:1%">0%</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
i=0;
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
ba=setInterval("begin()",50);//setInterval 返回的是一个全局变量,一个间隔数值.这个数值是表示调用setInterval的次数
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
function begin()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
i+=1;
|
|
|
|
|
|
|
|
if(i<=100)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
document.getElementById("in").style.width=i+"%";
|
|
|
|
|
|
|
|
document.getElementById("in").innerHTML=i+"%";}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
clearInterval(ba);
|
|
|
|
|
|
|
|
$("#show_content_div").show();
|
|
|
|
|
|
|
|
$("#out").hide();
|
|
|
|
|
|
|
|
// document.getElementById("out").style.display="none";
|
|
|
|
|
|
|
|
// document.write("<span style='background:yellow;text-align:center;color:white;'>Successs!</span>");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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="box_h3" style="text-align:center; padding-top: 20px; ">具体测试结果</p>-->
|
|
|
|
|
|
|
|
<!--<div style="font-size: 14px;">-->
|
|
|
|
<!--<p class="">描叙:</p>-->
|
|
|
|
<!--<p class="">描叙:</p>-->
|
|
|
|
<!--<p style="padding-left: 10px;color:#ACAEB1 "><%#= @dts.Description %></p>-->
|
|
|
|
<!--<p style="padding-left: 10px;color:#ACAEB1 "><%#= @dts.Description %></p>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<% @dts.each do |dt| %>
|
|
|
|
<% @dts.each do |dt| %>
|
|
|
|
<table width="600" border="2" bordercolor="red" style="padding-top: 10px; padding-left: 30px;">
|
|
|
|
<table width="600" border="2" bordercolor="red" style="padding-top: 10px; padding-left: 30px;">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td align="center" bgcolor="#999999" style="width: 80px"><strong>错误变量</strong></td>
|
|
|
|
<td align="center" bgcolor="#999999" style="width: 80px"><strong>错误变量</strong></td>
|
|
|
|
<td style="width: 120px"><%= dt.Variable %></td>
|
|
|
|
<td style="width: 120px"><%= dt.Variable %></td>
|
|
|
@ -26,5 +68,10 @@
|
|
|
|
<td align="center" bgcolor="#999999"><strong>错误描述</strong></td>
|
|
|
|
<td align="center" bgcolor="#999999"><strong>错误描述</strong></td>
|
|
|
|
<td colspan="5"><%= dt.Description %></td>
|
|
|
|
<td colspan="5"><%= dt.Description %></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<tr>
|
|
|
|
<% end %>
|
|
|
|
<td align="center" bgcolor="#999999"><strong>文件</strong></td>
|
|
|
|
|
|
|
|
<td colspan="5"><%= dt.File %></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
</div>
|