From 0e21bcde2275a198f2d3a93704e094b961082084 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 17 Apr 2014 13:48:00 +0000 Subject: Wide Coverage Demo web app: more client side caching For example, you can now reorder paragraphs by cut & paste, without causing anything to be sent to the server for re-translation. Also some color & layout tweaks. --- src/www/wc.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/www/wc.html') diff --git a/src/www/wc.html b/src/www/wc.html index f791a6877..828d68cfc 100644 --- a/src/www/wc.html +++ b/src/www/wc.html @@ -9,18 +9,19 @@ div.center { text-align: center; } table { border-collapse: collapse; table-layout: fixed; width: 100%; } td { padding: 0 5px; vertical-align: top; } -td.output { background: #fcfcfc; } +td.output { background: #fcfcfc; border: 1px solid grey; } td.input, td.output { font-family: sans-serif; font-size: 90%; } div#output { white-space: pre-line; } -textarea { margin: 0; font: inherit; } +div.input { margin-right: 5px; } +textarea { font: inherit; } body:target h1, body:target div.modtime { display: none; } small { color: #666; } #pick>* { padding: 0 0.5ex; } #speak { display: none; } -.colors .default_quality { background-color: #ffc; } -.colors .high_quality { background-color: #cfc; } -.colors .low_quality { background-color: #fba; } -.colors .bad_quality { background-color: #f88; } +.colors .default_quality { background-color: #ffb; } +.colors .high_quality { background-color: #bfb; } +.colors .low_quality { background-color: #fa7; } +.colors .bad_quality { background-color: #f89; } .placeholder { color: #999; } .error { color: #c00; } @@ -61,12 +62,14 @@ small { color: #666; } Colors +
- Enter text to translate above. +
+ Enter text to translate above. @@ -80,7 +83,7 @@ small { color: #666; }

-Last modified: Wed Apr 16 16:48:16 CEST 2014 +Last modified: Thu Apr 17 15:45:17 CEST 2014
-- cgit v1.2.3