<%inherit file="//layout/view.html" /> <%namespace name="lib" file="//lib.html" import="*" /> <%namespace name="helper" file="//admin/_helpers.html" import="header" /> <%isEmbedded = splunk.util.normalizeBoolean(cherrypy.request.params.get('embedded'))%> <%! isLite = splunk.util.normalizeBoolean(cherrypy.config['product_type'] == 'lite' or cherrypy.config['product_type'] == 'lite_free')%> ## Load the nav module(s) if required %if not isEmbedded: % if isLite:
<%call expr="parent.buildSimplePanelContainer(modules, 'liteHeader')">
% elif 'appHeader' in modules: <%call expr="parent.buildSimplePanelContainer(modules, 'messaging')">
<%call expr="parent.buildSimplePanelContainer(modules, 'appHeader')">
% endif <%helper:header namespace="${namespace}"/> % endif
${next.body()}
<%def name="title()"> ${_('Settings | Splunk') | h} <%def name="css()"> <% parent.css() %> <% coreCSSFiles = [ '/static/css/view.css', '/modules/nav/ManagerBar.css', '/modules/messaging/Message.css', '/modules/paginator/paginator.css', '/static/css/admin.css', '/static/css/print.css', '/static/css/codemirror.css' ] %> <%lib:stylesheet_tags files="${coreCSSFiles}" /> ## js needs to be included in head of page due to admin architecture for re-use. <%def name="head()"> <%lib:script_tags files="${['/static/js/contrib/jquery.cookie.js', '/static/js/splunk.jquery.csrf_protection.js']}" /> <% parent.head(enable_viewport=False) %>