Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

replace ugly ? icon in the track listing with a text [?]

  • Loading branch information...
commit b2daee5a6023604bb5892c3ab53913c0dc0d8618 1 parent d8fae94
@lstein lstein authored
View
4 htdocs/css/gbrowse.css
@@ -25,11 +25,11 @@ A.bred { color: #FFFFFF;
font-size : small;
text-align: center;
}
-.track_title {
+.track_label {
cursor: pointer;
color: black;
}
-.track_title:hover {
+.track_label:hover {
background:lightsteelblue;
}
.favorite {
View
2  htdocs/js/buttons.js
@@ -16,12 +16,10 @@ function gbCheck (button,state) {
if (!checkboxes)
return false;
- // var track_names = new Array();
for (var i=0; i<checkboxes.length; i++) {
var track_name = checkboxes[i].id.substring(0,checkboxes[i].id.lastIndexOf("_"));
ShowHideTrack(track_name,state);
}
- // var added_tracks = Controller.add_tracks(track_names);
gbTurnOff(a);
button.checked = true;
updateList($(a));
View
11 lib/Bio/Graphics/Browser2/Render/HTML.pm
@@ -917,7 +917,7 @@ sub render_track_table {
my $balloon = $source->setting('balloon style') || 'GBubble';
my $cellid = 'datacell';
- my @classes; # = 'track_title';
+ my @classes = 'track_title';
push @classes,'activeTrack' if $track_on;
push @classes,'favorite' if $favorite;
push @classes,'remote' if $label =~ /^(http|ftp|file):/;
@@ -956,15 +956,12 @@ sub render_track_table {
my $help = $link ?
a({-href=>$link,
-target=>'_new',
- },
- img({-border=>0,
- -src=>"$button_url/query.png",
- -onmouseover => "$balloon.showTooltip(event,'$mouseover')",
- -style=>'padding-left:0.5em'}))
+ -onmouseover => "$balloon.showTooltip(event,'$mouseover')",
+ }, '[?]')
: '';
$label_sort{$label} = $key;
- $labels{$label} = join(' ',$favoriteicon,span({-class=>'track_title'},$checkicon,$title),$help);
+ $labels{$label} = join(' ',$favoriteicon,span({-class=>'track_label'},$checkicon,$title),$help);
if (my ($selected,$total) = $self->subtrack_counts($label)) {
my $escaped_label = CGI::escape($label);
Please sign in to comment.
Something went wrong with that request. Please try again.