%! from galaxy.web.framework.helpers.grids import TextColumn import galaxy.util def inherit(context): if context.get('use_panels'): if context.get('webapp'): webapp = context.get('webapp') else: webapp = 'galaxy' return '/webapps/%s/base_panels.mako' % webapp else: return '/base.mako' %> <%inherit file="${inherit(context)}"/> <%namespace file="/display_common.mako" import="render_message" /> <%def name="init()"> <% self.has_left_panel=False self.has_right_panel=False self.message_box_visible=False self.active_view="user" self.overlay_visible=False %> %def> ## ## Override methods from base.mako and base_panels.mako ## <%def name="center_panel()"> ${make_grid( grid )} %def> ## Render the grid's basic elements. Each of these elements can be subclassed. <%def name="body()"> ${make_grid( grid )} %def> <%def name="title()">${grid.title}%def> <%def name="javascripts()"> ${parent.javascripts()} ${self.grid_javascripts()} %def> <%def name="grid_javascripts()"> ${h.js("jquery.autocomplete", "autocomplete_tagging", "jquery.rating" )} %def> <%def name="stylesheets()"> ${parent.stylesheets()} ${h.css( "autocomplete_tagging", "jquery.rating" )} %def> ## ## Custom grid methods. ## <%namespace file="./grid_common.mako" import="*" /> <%def name="make_grid( grid )">
${self.render_grid_header( grid )} | ||
${render_message( message, status )} |