Add icon to get from Trackster to Circster.

This commit is contained in:
Jeremy Goecks
2012-07-15 19:02:59 -04:00
parent ef753ff3f2
commit b52909ad4a
5 changed files with 16 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

@@ -76,6 +76,8 @@ input{font:10px verdana;}
.toolbox:hover{background:transparent url(../images/fugue/toolbox.png) no-repeat;}
.filters-icon{background:transparent url(../images/fugue/ui-slider-050-bw.png) no-repeat;}
.filters-icon:hover{background:transparent url(../images/fugue/ui-slider-050.png) no-repeat;}
.globe{background:transparent url(../images/fugue/globe-bw.png) no-repeat;}
.globe:hover{background:transparent url(../images/fugue/globe.png) no-repeat;}
.remove-icon,.overview-close{background:transparent url(../images/fugue/cross-small-bw.png) no-repeat;}
.icon-button.remove-icon:hover,.overview-close:hover{background:transparent url(../images/fugue/cross-circle.png) no-repeat;}
.icon-button.toggle{background:transparent url(../images/fugue/toggle-bw.png) no-repeat;margin-right:0px;}
@@ -386,6 +386,12 @@ input {
.filters-icon:hover {
background: transparent url(../images/fugue/ui-slider-050.png) no-repeat;
}
.globe {
background: transparent url(../images/fugue/globe-bw.png) no-repeat;
}
.globe:hover {
background: transparent url(../images/fugue/globe.png) no-repeat;
}
.remove-icon, .overview-close {
background: transparent url(../images/fugue/cross-small-bw.png) no-repeat;
}
+8
View File
@@ -113,6 +113,14 @@ ${h.js( "galaxy.base", "galaxy.panels", "json2", "jquery", "jstorage", "jquery.e
// HACK -- use style to determine if panel is hidden and hide/show accordingly.
parent.force_right_panel(($("div#right").css("right") == "0px" ? "hide" : "show"));
} },
{
icon_class: 'globe',
title: 'Circster',
on_click: function() {
// Add viz id dynamically so that newly saved visualizations work as well.
window.location = "${h.url_for( controller='tracks', action='circster' )}?id=" + view.vis_id;
}
},
{ icon_class: 'disk--arrow', title: 'Save', on_click: function() {
// Show saving dialog box
show_modal("Saving...", "progress");