From: martinahansen Date: Fri, 27 Nov 2009 09:46:06 +0000 (+0000) Subject: changes to browser X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e4a6b8574ae2ebaced28d0355814617772a188c3;p=biopieces.git changes to browser git-svn-id: http://biopieces.googlecode.com/svn/trunk@781 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/www/bgb.css b/www/bgb.css index 6f6928a..c550c9f 100644 --- a/www/bgb.css +++ b/www/bgb.css @@ -214,12 +214,19 @@ /* border-color: red; /* /* -/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */ + +/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> BODY <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */ +body { + background-color: #d0e4fe; +} + /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DIV <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */ + div.navigate { } @@ -228,6 +235,7 @@ div.browse { text-align: center; } + /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> GENERIC CLASSES <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */ @@ -237,7 +245,7 @@ div.browse { .italic { - font-style: italic; + font-style: italic; } @@ -260,6 +268,14 @@ div.browse { } +/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> IMAGE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */ + + +img { + border-style: none; +} + + /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> HEADINGS AND PARAGRAPH <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */ diff --git a/www/index.cgi b/www/index.cgi index 5d0d8dc..38957c3 100755 --- a/www/index.cgi +++ b/www/index.cgi @@ -392,6 +392,8 @@ sub page_export # Returns a list. + my ( @html ); + push @html, section_taxonomy_table( $cookie ); push @html, section_export( $cookie ); @@ -460,7 +462,7 @@ sub section_taxonomy_table foreach $page ( @{ $cookie->{ 'LIST_PAGES' } } ) { - last if $page eq $cookie->{ 'PAGE' }; + last if $page eq $cookie->{ 'PAGE' } or $page eq 'browse'; $href = cookie_href( $cookie, $page ); @@ -593,6 +595,10 @@ sub section_browse $surface = Cairo::ImageSurface->create( 'argb32', $cookie->{ 'IMG_WIDTH' }, $cookie->{ 'TRACK_OFFSET' } ); $cr = Cairo::Context->create( $surface ); + $cr->rectangle (0, 0, $cookie->{ 'IMG_WIDTH' }, $cookie->{ 'TRACK_OFFSET' } ); + $cr->set_source_rgb (1, 1, 1); + $cr->fill; + foreach $feat ( @features ) { Maasha::BBrowser::Draw::draw_feature( $cr, $feat ) if $feat; }