Revision: d15178e19e65
Author: Mikko Korpela <[email protected]>
Date: Tue Dec 20 04:56:22 2011
Log: Statistics graphs pixel wanking
Update issue 920
Status: Done
Owner: mikko.korpela
Cc: pekka.klarck
Fixed by having red background in graphs by default and only filling them
with green background.
http://code.google.com/p/robotframework/source/detail?r=d15178e19e65
Modified:
/src/robot/webcontent/common.css
/src/robot/webcontent/view.js
=======================================
--- /src/robot/webcontent/common.css Mon Jul 25 03:50:43 2011
+++ /src/robot/webcontent/common.css Tue Dec 20 04:56:22 2011
@@ -137,13 +137,15 @@
background: #00F000;
}
.fail_bar {
- background: red;
-}
-.graph {
+}
+.graph, .empty_graph {
border: 1px solid black;
width: 100%;
height: 0.75em;
padding: 0;
+ background: red;
+}
+.empty_graph {
background: #E9E9E9;
}
.graph div {
=======================================
--- /src/robot/webcontent/view.js Sun Jul 24 23:01:00 2011
+++ /src/robot/webcontent/view.js Tue Dec 20 04:56:22 2011
@@ -121,7 +121,7 @@
'<td class="col_stat"></td>' +
'<td class="col_stat"></td>' +
'<td class="col_graph">' +
- '<div class="graph"></div>' +
+ '<div class="empty_graph"></div>' +
'</td>' +
'</tr>'
);