3 new revisions:

Revision: 4a08b97c22c6
Author:   Pekka Klärck
Date:     Tue Jun  7 10:33:53 2011
Log:      cleanup - mainly reordered css
http://code.google.com/p/robotframework/source/detail?r=4a08b97c22c6

Revision: 9a864fc07df8
Author:   Pekka Klärck
Date:     Tue Jun  7 10:48:52 2011
Log:      cleanup - mainly reordered css
http://code.google.com/p/robotframework/source/detail?r=9a864fc07df8

Revision: e6f601b5d742
Author:   Pekka Klärck
Date:     Tue Jun  7 11:13:55 2011
Log: ensure that test detail tabs stay on top of the page when switching be...
http://code.google.com/p/robotframework/source/detail?r=e6f601b5d742

==============================================================================
Revision: 4a08b97c22c6
Author:   Pekka Klärck
Date:     Tue Jun  7 10:33:53 2011
Log:      cleanup - mainly reordered css
http://code.google.com/p/robotframework/source/detail?r=4a08b97c22c6

Modified:
 /src/robot/webcontent/report.html

=======================================
--- /src/robot/webcontent/report.html   Tue Jun  7 06:28:06 2011
+++ /src/robot/webcontent/report.html   Tue Jun  7 10:33:53 2011
@@ -5,7 +5,13 @@
 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
 <META HTTP-EQUIV="Expires" CONTENT="-1">
 <style media="all" type="text/css">
-
+  /* Generic styles */
+  body {
+    font-family: sans-serif;
+    font-size: 0.8em;
+    color: black;
+    padding: 6px;
+  }
   .critical_pass {
     background: #99FF66; /* BACKGROUND: critical pass */
   }
@@ -15,6 +21,74 @@
   .non_critical_fail {
     background: #FF3333; /* BACKGROUND: non critical fail */
   }
+  h2 {
+    margin-top: 1.2em;
+  }
+  br {
+    mso-data-placement: same-cell;  /* maintain line breaks in Excel */
+  }
+  /* Statistics Table */
+  table.statistics {
+    width: 58em;
+    border: 1px solid black;
+    border-collapse: collapse;
+    empty-cells: show;
+    margin-bottom: 1em;
+  }
+  table.statistics td, table.statistics th {
+    border: 1px solid black;
+    padding: 1px 4px;
+    margin: 0px;
+  }
+  table.statistics th {
+    background: #C6C6C6;
+  }
+  .col_stat_name {
+    width: 40em;
+  }
+  .col_stat {
+    width: 3em;
+    text-align: center;
+  }
+  .stat_name {
+    float: left;
+  }
+  .stat_name a, .stat_name span {
+    font-weight: bold;
+  }
+  .tag_links {
+    font-size: 0.9em;
+    float: right;
+    margin-top: 0.05em;
+  }
+  .tag_links span {
+    margin-left: 0.2em;
+  }
+  /* Statistics Table Graph */
+  .pass_bar {
+    background: #00f000;
+  }
+  .fail_bar {
+    background: red;
+  }
+  .no_tags_bar {
+    background: #E9E9E9;
+  }
+  .graph {
+    position: relative;
+    border: 1px solid black;
+    width: 11em;
+    height: 0.75em;
+    padding: 0px;
+    background: #E9E9E9;
+  }
+  .graph b {
+    display: block;
+    position: relative;
+    height: 100%;
+    float: left;
+    font-size: 4px;  /* to make graphs thin also in IE */
+  }
   /* Generic Table Styles */
   table {
     background: white;
@@ -31,7 +105,7 @@
     background: #C6C6C6;
     color: black;
   }
-  /* Test by Suite/Tag Tables */
+  /* Test detail tables */
   table#tests_by_suite, table#tests_detail_table {
     width: 100%;
   }
@@ -130,83 +204,6 @@
   #detail_tabs li.tab_selected:hover {
     background: white;
   }
-</style>
-<style media="all" type="text/css">
-  /* Generic styles */
-  body {
-    font-family: sans-serif;
-    font-size: 0.8em;
-    color: black;
-    padding: 6px;
-  }
-  h2 {
-    margin-top: 1.2em;
-  }
-  br {
-    mso-data-placement: same-cell;  /* maintain line breaks in Excel */
-  }
-  /* Statistics Table */
-  table.statistics {
-    width: 58em;
-    border: 1px solid black;
-    border-collapse: collapse;
-    empty-cells: show;
-    margin-bottom: 1em;
-  }
-  table.statistics td, table.statistics th {
-    border: 1px solid black;
-    padding: 1px 4px;
-    margin: 0px;
-  }
-  table.statistics th {
-    background: #C6C6C6;
-  }
-  .col_stat_name {
-    width: 40em;
-  }
-  .col_stat {
-    width: 3em;
-    text-align: center;
-  }
-  .stat_name {
-    float: left;
-  }
-  .stat_name a, .stat_name span {
-    font-weight: bold;
-  }
-  .tag_links {
-    font-size: 0.9em;
-    float: right;
-    margin-top: 0.05em;
-  }
-  .tag_links span {
-    margin-left: 0.2em;
-  }
-  /* Statistics Table Graph */
-  .pass_bar {
-    background: #00f000;
-  }
-  .fail_bar {
-    background: red;
-  }
-  .no_tags_bar {
-    background: #E9E9E9;
-  }
-  .graph {
-    position: relative;
-    border: 1px solid black;
-    width: 11em;
-    height: 0.75em;
-    padding: 0px;
-    background: #E9E9E9;
-  }
-  .graph b {
-    display: block;
-    position: relative;
-    height: 100%;
-    float: left;
-    font-size: 4px;  /* to make graphs thin also in IE */
-  }
   /* Tables in documentation */
   table.doc {
     border: 1px solid gray;
@@ -396,7 +393,6 @@
$.tmpl(window.templates.detailsHeader, args).appendTo('#test_details_container'); $.tmpl(window.templates.suiteDetailsSelector, suitestats).appendTo('#test_details_container');
 }
-

 function emptyDetails(){
     window.tasks = [];

==============================================================================
Revision: 9a864fc07df8
Author:   Pekka Klärck
Date:     Tue Jun  7 10:48:52 2011
Log:      cleanup - mainly reordered css
http://code.google.com/p/robotframework/source/detail?r=9a864fc07df8

Modified:
 /src/robot/webcontent/report.html

=======================================
--- /src/robot/webcontent/report.html   Tue Jun  7 10:33:53 2011
+++ /src/robot/webcontent/report.html   Tue Jun  7 10:48:52 2011
@@ -27,6 +27,22 @@
   br {
     mso-data-placement: same-cell;  /* maintain line breaks in Excel */
   }
+  /* Generic Table Styles */
+  table {
+    background: white;
+    border: 1px solid black;
+    border-collapse: collapse;
+    empty-cells: show;
+    margin: 0px 1px;
+  }
+  th, td {
+    border: 1px solid black;
+    padding: 1px 5px;
+  }
+  th {
+    background: #C6C6C6;
+    color: black;
+  }
   /* Statistics Table */
   table.statistics {
     width: 58em;
@@ -66,7 +82,7 @@
   }
   /* Statistics Table Graph */
   .pass_bar {
-    background: #00f000;
+    background: #00F000;
   }
   .fail_bar {
     background: red;
@@ -87,24 +103,9 @@
     position: relative;
     height: 100%;
     float: left;
+    /* TODO: Is the hack below still needed w/ IE8? */
     font-size: 4px;  /* to make graphs thin also in IE */
   }
-  /* Generic Table Styles */
-  table {
-    background: white;
-    border: 1px solid black;
-    border-collapse: collapse;
-    empty-cells: show;
-    margin: 0px 1px;
-  }
-  th, td {
-    border: 1px solid black;
-    padding: 1px 5px;
-  }
-  th {
-    background: #C6C6C6;
-    color: black;
-  }
   /* Test detail tables */
   table#tests_by_suite, table#tests_detail_table {
     width: 100%;

==============================================================================
Revision: e6f601b5d742
Author:   Pekka Klärck
Date:     Tue Jun  7 11:13:55 2011
Log: ensure that test detail tabs stay on top of the page when switching between them
http://code.google.com/p/robotframework/source/detail?r=e6f601b5d742

Modified:
 /src/robot/webcontent/report.html

=======================================
--- /src/robot/webcontent/report.html   Tue Jun  7 10:48:52 2011
+++ /src/robot/webcontent/report.html   Tue Jun  7 11:13:55 2011
@@ -341,7 +341,7 @@
   <div id="test_details_container"></div>

 <script type="text/javascript">
-$(document).ready(function(){
+$(document).ready(function () {
     var topsuite = window.testdata.suite();
     setBackground(topsuite);
     setDocumentTitle(topsuite);
@@ -354,6 +354,7 @@
     } else {
         renderTotalSelector("no_selection");
     }
+    $('#test_details_container').css('min-height', $(window).height());
 });

 function addSummary(topsuite) {

Reply via email to