lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-1.1.1 vs lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-1.2.0

- old
+ new

@@ -50,15 +50,18 @@ path = File.join(File.dirname(__FILE__), 'logo150.txt') file = File.open(path, 'r') logo = file.read file.close + # side navigation + @html.div('id'=>'sideNav') do # add top anchor and button - @html.a(' Top', {'href'=>'#', 'class'=>'btn icon-caret-up', 'style'=>'position:fixed; bottom:6em; right:1em'}) + @html.a(' Top', {'href'=>'#', 'class'=>'btn icon-caret-up'}) - # add open and close buttons - @html.span(' Open',{'class'=>'btn icon-caret-down', 'style'=>'position:fixed; bottom:1em; right:1em', 'onclick'=>'openAllDetails();'}) - @html.span(' Close',{'class'=>'btn icon-caret-right', 'style'=>'position:fixed; bottom:3.5em; right:1em', 'onclick'=>'closeAllDetails();'}) + # add open and close buttons + @html.span(' Open',{'id'=>'openAllDetails', 'class'=>'btn icon-caret-down', 'onclick'=>'openAllDetails();'}) + @html.span(' Close',{'class'=>'btn icon-caret-right', 'onclick'=>'closeAllDetails();'}) + end # main header @html.h2('id'=>'mainHeader') do @html.img('width'=>'150', 'height'=>'39', 'title'=>'', 'alt'=>'', 'src'=>logo) @html.span('Metadata Report')