<%inherit file="//layout/admin.html"/> <%namespace name="helpers" file="_helpers.html"/> <%namespace name="lib" file="//lib.html" import="*"/> <% from splunk.appserver.mrsparkle.lib.msg_pool import MsgPoolMgr, UI_MSG_POOL %> <%! title = 'Splunk Manager' %> <% entitiesLen = -1 try: entitiesLen = len(entities) except: pass %> <% msg_obj = MsgPoolMgr.get_poolmgr_instance()[UI_MSG_POOL].pop(msgid) %> % if msg_obj: <%helpers:message content="${msg_obj.text}" level="${msg_obj.severity}" msg_obj="${msg_obj}"/> % endif % if blueLinks:
% if blueLinks.has_key("app_configurations") and len(blueLinks['app_configurations']['menuItems']):

${_("Apps")}

<%helpers:menulist namespace="${namespace}" menuDict="${blueLinks['app_configurations']}"/>
% endif % if blueLinks.has_key("knowledge_configurations") and len(blueLinks['knowledge_configurations']['menuItems']):

${_("Knowledge")}

<%helpers:menulist namespace="${namespace}" menuDict="${blueLinks['knowledge_configurations']}"/>
% endif % if blueLinks.has_key("deployment_configurations") and len(blueLinks['deployment_configurations']['menuItems']):

${_("Distributed Environment")}

<%helpers:menulist namespace="${namespace}" menuDict="${blueLinks['deployment_configurations']}"/>
% endif
% if blueLinks.has_key("system_configurations") and len(blueLinks['system_configurations']['menuItems']):

${_("System")}

<%helpers:menulist namespace="${namespace}" menuDict="${blueLinks['system_configurations']}"/>
% endif % if blueLinks.has_key("data_configurations") and len(blueLinks['data_configurations']['menuItems']):

${_("Data")}

<%helpers:menulist namespace="${namespace}" menuDict="${blueLinks['data_configurations']}"/>
% endif % if blueLinks.has_key("auth_configurations") and len(blueLinks['auth_configurations']['menuItems']):

${_("Users and authentication")}

<%helpers:menulist namespace="${namespace}" menuDict="${blueLinks['auth_configurations']}"/>
% endif
%else: % if entitiesLen >= 0: <%include file="list.html" args="namespace=namespace, uiHelper=uiHelper, showNewButton=showNewButton, endpoint_base=endpoint_base, endpoint_path=endpoint_path, msgid=msgid, entities=entities, eleOnly=eleOnly, kwargs=kwargs"/> % endif % if form_defaults: <%include file="edit.html" args="namespace=namespace, uiHelper_elements=uiHelper_elements, endpoint_base=endpoint_base, endpoint_path=endpoint_path, msgid=msgid, form_defaults=form_defaults, eleOnly=eleOnly, isCloneAction=isCloneAction"/> % endif %endif