diff options
author | Patrick Simianer <p@simianer.de> | 2015-12-11 17:06:50 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-12-11 17:06:50 +0100 |
commit | c273faedee7b0c73945dfd8fdab15d655b6c4f3a (patch) | |
tree | 03024cde8ff1c622a2a2f23d70696411b0af8847 /views | |
parent | 7c179958222b95939ff1881a49126e08a38d489e (diff) |
save original view as svg
Diffstat (limited to 'views')
-rw-r--r-- | views/debug.haml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/debug.haml b/views/debug.haml index 1cda494..6d6a42c 100644 --- a/views/debug.haml +++ b/views/debug.haml @@ -56,7 +56,9 @@ %hr /=######################################################################### %h2#post_edit Post-edit & machine translation + %p#original_svg_b64 #{data["original_svg"][progress]} %p#svg_b64 #{data["svg"][progress]} + %div#original_svg %div#svg %table %tr @@ -93,9 +95,9 @@ %td.left #{pairwise_ranking_data["best_match"]} %h2 Derivation %pre #{data["derivations"][progress]} - %h3 Processed - - if data["derivations_proc"][progress] - %pre #{JSON.pretty_generate(JSON.parse(data["derivations_proc"][progress]))} + /= %h3 Processed + /= - if data["derivations_proc"][progress] + /= %pre #{JSON.pretty_generate(JSON.parse(data["derivations_proc"][progress]))} %h2 Client reply - if data["feedback"][progress] %pre #{JSON.pretty_generate(JSON.parse(data["feedback"][progress]))} |