%inherit file="/base_panels.mako"/> ## Default title <%def name="title()">Galaxy%def> ## Masthead <%def name="masthead()"> ## Tab area, fills entire width
%if href: ${display} %else: ${display} %endif %if menu_options: %endif | %def> ## Analyze data tab. ${tab( "analysis", "Analyze Data", h.url_for( controller='/root', action='index' ) )} ## Workflow tab. ${tab( "workflow", "Workflow", h.url_for( controller='/workflow', action='index' ) )} ## 'Shared Items' or Libraries tab. <% menu_options = [ [ 'Data Libraries', h.url_for( controller='/library', action='index') ], None, [ 'Published Histories', h.url_for( controller='/history', action='list_published' ) ], [ 'Published Workflows', h.url_for( controller='/workflow', action='list_published' ) ], [ 'Published Visualizations', h.url_for( controller='/visualization', action='list_published' ) ], [ 'Published Pages', h.url_for( controller='/page', action='list_published' ) ] ] tab( "shared", "Shared Data", h.url_for( controller='/library', action='index'), menu_options=menu_options ) %> ## Lab menu. <% menu_options = [ [ 'Sequencing Requests', h.url_for( controller='/requests', action='index' ) ], [ 'Find Samples', h.url_for( controller='/requests', action='find_samples_index' ) ], [ 'Help', app.config.get( "lims_doc_url", "http://main.g2.bx.psu.edu/u/rkchak/p/sts" ), "galaxy_main" ] ] tab( "lab", "Lab", None, menu_options=menu_options, visible=( trans.user and trans.user.requests ) ) %> ## Visualization menu. %if app.config.get_bool( 'enable_tracks', False ): <% menu_options = [ ['New Track Browser', h.url_for( controller='/tracks', action='index' ) ], ['Saved Visualizations', h.url_for( controller='/visualization', action='list' ) ] ] tab( "visualization", "Visualization", h.url_for( controller='/visualization', action='list'), menu_options=menu_options ) %> %endif ## Admin tab. ${tab( "admin", "Admin", h.url_for( controller='/admin', action='index' ), extra_class="admin-only", visible=( trans.user and app.config.is_admin_user( trans.user ) ) )} ## Help tab. <% menu_options = [ ['Email comments, bug reports, or suggestions', app.config.get( "bugs_email", "mailto:galaxy-bugs@bx.psu.edu" ) ], ['Galaxy Wiki', app.config.get( "wiki_url", "http://bitbucket.org/galaxy/galaxy-central/wiki" ), "_blank" ], ['Video tutorials (screencasts)', app.config.get( "screencasts_url", "http://galaxycast.org" ), "_blank" ], ['How to Cite Galaxy', app.config.get( "screencasts_url", "http://bitbucket.org/galaxy/galaxy-central/wiki/Citations" ), "_blank" ] ] tab( "help", "Help", None, menu_options=menu_options) %> ## User tabs. <% # Menu for user who is not logged in. menu_options = [ [ "Login", h.url_for( controller='/user', action='login' ), "galaxy_main" ] ] if app.config.allow_user_creation: menu_options.append( [ "Register", h.url_for( controller='/user', action='create' ), "galaxy_main" ] ) extra_class = "loggedout-only" visible = ( trans.user == None ) tab( "user", "User", None, visible=visible, menu_options=menu_options ) # Menu for user who is logged in. if trans.user: email = trans.user.email else: email = "" menu_options = [ [ '