From 913b6aef60d48c5ea4f0bf8772d4d56dddf5ff56 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Fri, 5 Dec 2014 14:16:29 -0500 Subject: [PATCH] Improve tester results table WRIS-3 --- examples/htdocs/tester.html | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/examples/htdocs/tester.html b/examples/htdocs/tester.html index bab039d..89ec1d7 100644 --- a/examples/htdocs/tester.html +++ b/examples/htdocs/tester.html @@ -85,7 +85,7 @@ header button { font: inherit; font-weight: normal; border: 1px solid #7492c3; - padding: 0.1em 0.15em; + padding: 0.15em 0.25em; } header button:hover, header button:active, header button:focus { background-color: #2f5591; @@ -146,6 +146,30 @@ header button:hover, header button:active, header button:focus { justify-content: center; align-items: center; } +#results-table { + flex: 1; + padding: 1em; + display: flex; + justify-content: center; +} +#results-table table { + border-collapse: collapse; + border-spacing: 0; +} +#results-table td, #results-table th { + padding: .25em 1.25em; + font-size: .9em; +} +#results-table tr:first-child { + border-bottom: 1px solid black; +} +#results-table tr { + border-bottom: 1px dotted black; +} +#results-table tr:last-child { + border-bottom: none; +} + @@ -214,6 +238,8 @@ var showNext = function () { next++; $('#count').html(next + " / " + this.queries.length); mkws.init('#test-subject'); + } else { + $("#results-table").dialog("open"); } } var startEval = function () { -- 1.7.10.4