Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1997)

Unified Diff: Tools/GardeningServer/scripts/ui/results.js

Issue 201853004: Make Garden-o-matic at least readable on mobile devices (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix combinators Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/garden-o-matic.html ('k') | Tools/GardeningServer/styles/common.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/ui/results.js
diff --git a/Tools/GardeningServer/scripts/ui/results.js b/Tools/GardeningServer/scripts/ui/results.js
index 42ae851a112dbb7000572be3f6bfd535a79b1e14..4f1cd9eb5af70cbedd77b0f9477f9b1fbfb843f3 100644
--- a/Tools/GardeningServer/scripts/ui/results.js
+++ b/Tools/GardeningServer/scripts/ui/results.js
@@ -30,13 +30,13 @@ ui.results = ui.results || {};
var kResultsPrefetchDelayMS = 500;
-// FIXME: Rather than using table, should we be using something fancier?
-ui.results.Comparison = base.extends('table', {
+ui.results.Comparison = base.extends('div', {
init: function()
{
this.className = 'comparison';
- this.innerHTML = '<thead><tr><th>Expected</th><th>Actual</th><th>Diff</th></tr></thead>' +
- '<tbody><tr><td class="expected result-container"></td><td class="actual result-container"></td><td class="diff result-container"></td></tr></tbody>';
+ this.innerHTML = '<div><h2>Expected</h2><div class="results-container expected"></div></div>' +
+ '<div><h2>Actual</h2><div class="results-container actual"></div></div>' +
+ '<div><h2>Diff</h2><div class="results-container diff"></div></div>';
},
_selectorForKind: function(kind)
{
« no previous file with comments | « Tools/GardeningServer/garden-o-matic.html ('k') | Tools/GardeningServer/styles/common.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698