%! import splunk.entity as en %> <% appListing = [ {'label': appList[x]['label'], 'uri':make_url('/app/%s' % x), 'id': x} for x in appList] appListing.sort() userLabel = cherrypy.session['user']['name'] %> <%page args="module"/> % if (module.get("mode") != "popup") : <%namespace name="lib" file="//lib.html" import="*"/> % if (module.get('mode') == "full"): <%call expr="lib.add_script_block()"> Splunk.Module.loadParams.${module['id']}.appList = ${jsonify(appListing)}; %call> % endif % if (module.get('mode') == "lite"): « ${_("Back to %s") % APP['label']|h}