From bf5e7d594369f94a1586775936c20ee131fdc358 Mon Sep 17 00:00:00 2001 From: fanfuxiaoran <495538672@qq.com> Date: Mon, 13 Jan 2014 14:52:40 +0800 Subject: [PATCH] add test result loading progress --- src/main/webapp/bench4q-css/demo.css | 17 ------- src/main/webapp/bench4q-css/result.css | 19 ++++++- src/main/webapp/demo.html | 29 ++++++++--- src/main/webapp/result.jsp | 50 ++++++++++--------- src/main/webapp/script/charts.js | 5 +- src/main/webapp/script/pieChart.js | 3 +- src/main/webapp/script/portManage-old.js | 29 ----------- src/main/webapp/script/result-table.js | 3 ++ .../{test-brief.js => result-test-brief.js} | 2 + src/main/webapp/script/result.js | 11 +++- src/main/webapp/testplans.jsp | 1 + 11 files changed, 88 insertions(+), 81 deletions(-) delete mode 100644 src/main/webapp/script/portManage-old.js rename src/main/webapp/script/{test-brief.js => result-test-brief.js} (94%) diff --git a/src/main/webapp/bench4q-css/demo.css b/src/main/webapp/bench4q-css/demo.css index d7b9af98..863bca47 100644 --- a/src/main/webapp/bench4q-css/demo.css +++ b/src/main/webapp/bench4q-css/demo.css @@ -1,7 +1,3 @@ -#center{ -margin:50px auto; -width:400px; -} #loading{ width:397px; height:49px; @@ -17,16 +13,3 @@ font-family:Tahoma; font-size:18px; line-height:48px; } -#message{ -width:200px; -height:35px; -font-family:Tahoma; -font-size:12px; -background-color:#d8e7f0; -border:1px solid #187CBE; -display:none; -line-height:35px; -text-align:center; -margin-bottom:10px; -margin-left:50px -} \ No newline at end of file diff --git a/src/main/webapp/bench4q-css/result.css b/src/main/webapp/bench4q-css/result.css index 78a462e7..3bdd6de9 100644 --- a/src/main/webapp/bench4q-css/result.css +++ b/src/main/webapp/bench4q-css/result.css @@ -86,4 +86,21 @@ margin-top: 5px; .innerTable thead:first-child tr:first-child th{ border-top: 1px solid #ccc; border-bottom:1px solid #ccc; -} \ No newline at end of file +} +#loading{ +width:397px; +height:49px; +background:url(/images/bak.png) no-repeat; +} +#loading div{ +width:0px; +height:48px; +background:url(/images/pro.png) no-repeat; +color:#fff; +text-align:center; +font-family:Tahoma; +font-size:18px; +line-height:48px; +} + + diff --git a/src/main/webapp/demo.html b/src/main/webapp/demo.html index ddb18464..db6993e9 100644 --- a/src/main/webapp/demo.html +++ b/src/main/webapp/demo.html @@ -2,7 +2,10 @@
+ + + -