Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make text suck less.

  • Loading branch information...
commit 0a7c33f9fd739084f1561c7f71d785f9c57665ed 1 parent 0058a06
Juriy Zaytsev authored

Showing 2 changed files with 12 additions and 8 deletions. Show diff stats Hide diff stats

  1. 7  master.css
  2. 13  runner.js
7  master.css
... ...
@@ -1,7 +1,10 @@
1  
-p { margin: 0; padding: 0; }
  1
+body { font-family: "Palatino", "Palatino Linotype", Georgia, Times, "Times New Roman", serif; }
  2
+p { margin: 0 0 0.25em 0; padding: 0; }
  3
+ul li { list-style: none; line-height: 1.5em; }
  4
+ul { padding-left: 1em; }
2 5
 #log { font-family: Courier, monospace; background: #fee; border: 1px solid #faa; padding: 0.5em; margin-top: 1em; font-size: 85%; height: 40em; overflow: scroll; }
3 6
 .description { margin-bottom: 1em; }
4 7
 #start-trigger { display: block; margin-bottom: 0.5em; }
5  
-.label { display: inline-block; width: 8em; }
  8
+.label { display: inline-block; width: 10em; }
6 9
 #options { position: absolute; top: 1.5em; right: 1em; }
7 10
 .testname { color: #999; }
13  runner.js
@@ -108,12 +108,13 @@ function shouldIgnoreTest(testName) {
108 108
 }
109 109
 function updateStatus(test) {
110 110
   setStatus([
111  
-    '<span class="label">Current test:</span> ', test.name, 
112  
-    '<br><span class="label">Tests completed:</span> ', testCount,
113  
-    '<br><span class="label">Total errors:</span> ', errorCount,
114  
-    '<br><span class="label">Total failures:</span> ', failCount,
115  
-    '<br><span class="label">Elapsed time:</span> ', prettyTime((new Date() - startTime) / 1000),
116  
-    '<br><span class="label">Status:</span> <span id="status-value">Running tests with <strong>', TEST_DELAY , 'ms</strong> delay</span>', 
  111
+    '<ul>',
  112
+      '<li><span class="label">Current test:</span> ', test.name, 
  113
+      '</li><li><span class="label">Tests completed:</span> ', testCount,
  114
+      '</li><li><span class="label">Total errors:</span> ', errorCount,
  115
+      '</li><li><span class="label">Total failures:</span> ', failCount,
  116
+      '</li><li><span class="label">Elapsed time:</span> ', prettyTime((new Date() - startTime) / 1000),
  117
+      '</li><li><span class="label">Status:</span> <span id="status-value">Running tests with <strong>', TEST_DELAY , 'ms</strong> delay</span></li></ul>', 
117 118
   ].join(''));
118 119
 }
119 120
 

0 notes on commit 0a7c33f

Please sign in to comment.
Something went wrong with that request. Please try again.