commit/galaxy-central: jgoecks: UI: (a) add download button for shared/published workflows and (b) put tooltips in panel headers below items so that they do not overlap with masthead.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/179ed7d7e315/ Changeset: 179ed7d7e315 User: jgoecks Date: 2013-06-17 20:20:56 Summary: UI: (a) add download button for shared/published workflows and (b) put tooltips in panel headers below items so that they do not overlap with masthead. Affected #: 2 files diff -r 0959eb80de7e42f4bb7d53e44e48583849bf1b81 -r 179ed7d7e31576e141f9329facc7c37abe222147 static/scripts/galaxy.base.js --- a/static/scripts/galaxy.base.js +++ b/static/scripts/galaxy.base.js @@ -689,6 +689,10 @@ // $(".tooltip").tipsy( { gravity: 's' } ); // } if ( $.fn.tooltip ) { + // Put tooltips below items in panel header so that they do not overlap masthead. + $(".unified-panel-header .tooltip").tooltip( { placement: 'bottom' } ); + + // Default tooltip location to be above item. $(".tooltip").tooltip( { placement: 'top' } ); } // Make popup menus. diff -r 0959eb80de7e42f4bb7d53e44e48583849bf1b81 -r 179ed7d7e31576e141f9329facc7c37abe222147 templates/webapps/galaxy/workflow/display.mako --- a/templates/webapps/galaxy/workflow/display.mako +++ b/templates/webapps/galaxy/workflow/display.mako @@ -8,7 +8,6 @@ <%def name="stylesheets()"> ${parent.stylesheets()} - ${h.css( "workflow" )} </%def><%def name="do_inputs( inputs, values, prefix, step, other_values=None )"> @@ -68,10 +67,12 @@ %if workflow.importable: <a href="${h.url_for( controller='/workflow', action='imp', id=trans.security.encode_id(workflow.id) )}" - class="icon-button import" - ## Needed to overwide initial width so that link is floated left appropriately. - style="width: 100%" - title="Import workflow">Import workflow</a> + class="icon-button import tooltip" + title="Import workflow"></a> + <a + href="${h.url_for( controller='/workflow', action='export_to_file', id=trans.security.encode_id(workflow.id) )}" + class="icon-button disk tooltip" + title="Save workflow"></a> %endif </%def> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org