From 11dd9bce948364283654b2f056fefb933afc3e6e Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 4 Dec 2014 17:38:55 +0100 Subject: several updates in code; validation integrated, probability for classification; updated call for more details for smarts view --- views/significant_fragments.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/significant_fragments.haml') diff --git a/views/significant_fragments.haml b/views/significant_fragments.haml index 3004c89..b039804 100644 --- a/views/significant_fragments.haml +++ b/views/significant_fragments.haml @@ -1,7 +1,7 @@ %link{ :href=>"/style.css", :media=>"screen, projection", :rel=>"stylesheet", :type=>"text/css"} .content{:style=>"margin-top:0;"} - if @type =~ /classification/i - .significant_fragments{:style=>"padding:0.7em;padding-bottom:5em;"} + .significant_fragments{:style=>"padding:0.7em;padding-bottom:10em;"} %button{:id=>"closebutton", :onclick=>"parent.$('#iframe_details').bPopup().close();parent.$('#iframe_overview').bPopup().close();"} X %h2{:style=>"margin-left:8px;"} @@ -25,7 +25,7 @@ %td / fragments[1] = smarts = fragments[1] - %img{:src => "http://smartsview.de/smartsview/auto/png/2/none/#{CGI.escape(fragments[1])}", :class => "smarts"} + %img{:src => "http://smartsview.de/smartsview/auto/png/1/both/#{CGI.escape(fragments[1])}", :class => "smarts"} %td /fragments[2] = pValue = fragments[2] @@ -42,7 +42,7 @@ - if fragments[0] == @value_map.index("active") %tr %td - %img{:src => "http://smartsview.de/smartsview/auto/png/2/none/#{CGI.escape(fragments[1])}", :class => "smarts"} + %img{:src => "http://smartsview.de/smartsview/auto/png/1/both/#{CGI.escape(fragments[1])}", :class => "smarts"} = fragments[1] %td = fragments[2] -- cgit v1.2.3