NewMenu

From Genecats
Jump to navigationJump to search

New Menus

We are changing the CGIs to use pulldowns menus based on the Jabico prototype. The corresponding redmine ticket is #5245.

All CGIs will have these new menus; the menus will replace the existing "blue bar". The menus will be the same in all CGIs except hgTracks will have an additional "View" menu. We anticipate using these new menus in static content as well, but we do not have a specific date for doing that.

The current target for the changes described here is v271.

Other UI Changes

We are changing the background of hgTracks to use a subtle color, rather than the existing floret image. The appearance of other CGIs should not change

We are changing the default font to a sans-serif font.

We are merging gene suggest into the position/search box in hgTracks and hgGateway (#5933).

We are fixing #6330 (highlighting found items does not follow gene box search).

As part of our modernization efforts, many settings that are currently hardwired into the code are being transitioned to style sheets (HGStyle.css). The existing hg.conf variables browser.bgcolor and browser.background will be replaced with a new setting browser.style which points to an optional style sheet. As an example, here's how to use the old style hgTracks background in your tree:

hg.conf:

 browser.style=/style/my.css

/style/my.css:

 body.hgTracks  {
       background: url(/images/floret.jpg);
 }

Testing

These changes can be seen in larry's and greg's development trees.

TODO

  • Add little down arrows in menu items which have an associated list (Greg).
  • Doc new browser.style setting (see details above) in hg.conf.ex and tell development staff to change their hg.conf files on hgwdev (Greg and/or Larry?)
  • Send a head's up to mirrors about new menus? Document that they can modify globalNavBar.inc?
  • The functionality of the "US Server" and "Euro Server" menu items is still in flux; these items have been removed for now (they are not needed for v271 release).