<%! from splunk.appserver.mrsparkle.lib import util isLite = util.isLite() if isLite: theme = 'lite' else: theme = 'enterprise' %>\ ${_('Loading...')} <% page_css = page.replace('_','-') %> <% css_less_qs = {} if hasattr(cherrypy.request, 'embed') and cherrypy.request.embed: css_less_qs['embed'] = 1 app_name = cherrypy.request.path_info.split('/')[3] page_css_path = "/static/app/" + app_name + "/style/css/" + page + ".css" app_root = "/" + "/".join(["static","app",app_name]) css_path = app_root + "/style/css/bootstrap.css" %> % if isLite: % else: % endif % if isLite: % else: % endif ${next.body() if hasattr(next, 'body') else ''} <% config_qs = dict(autoload=1) if hasattr(cherrypy.request, 'embed') and cherrypy.request.embed: config_qs['embed'] = 1 %> <% app_name = cherrypy.request.path_info.split('/')[3] page_path = "/static/app/" + app_name + "/" + page + ".js" common_path = "/static/app/" + app_name + "/pages_common.js" %>