<%inherit file="//layout/view.html" /> <%namespace file="//view/_helpers.html" import="*"/> <%namespace name="lib" file="//lib.html" import="*"/> <%! headerPanels = ["appHeader", "navigationHeader"] upperPanels = ["viewHeader", "splSearchControls-inline", "mainSearchControls"] renderingErrors = [] %> <%def name="css()"> <% parent.css() %> <%lib:stylesheet_tags files="${['/static/css/dashboard.css']}" compile="${False}" /> <%def name="js()"> <% parent.js() %> <%lib:script_tags files="${['/static/js/dashboard.js']}" compile="False" /> <%def name="getTitleForPanel(modules, panelName)"> % for module in modules[panelName]: % if module.has_key('params'): % if module["params"].has_key("group") :

${module["params"]["groupLabel"] | h}

<% break %> % endif % endif % endfor <%def name="getDashboardPanel(modules, panelGroup)">
% if (len(panelGroup) > 0 ) : <%call expr="getTitleForPanel(modules, panelGroup[0])"> % else : <% renderingErrors.append("unable to find a group"); %> Error - this should not occur % endif
% for groupName in panelGroup : % if (groupName.find("_grp") == -1) : <%call expr="parent.buildPanelContents(modules, groupName)"> % endif % endfor % for groupName in panelGroup : % if (groupName.find("_grp") != -1) :
<%call expr="parent.buildPanelContents(modules, groupName)">
% endif % endfor
% if "messaging" in modules : <%call expr="parent.buildSimplePanelContainer(modules, 'messaging')"> % endif
% for panelName in headerPanels : <%call expr="parent.buildSimplePanelContainer(modules, panelName)"> % endfor
% for panelName in upperPanels : <%call expr="parent.buildSimplePanelContainer(modules, panelName)"> % endfor % for rowNumber in range(1,50): <%call expr="parent.getFloatLayoutRow(modules, rowNumber)"> % endfor