%namespace file="_helpers.html" import="genListRows"/> <%namespace file="../lib.html" import="stylesheet_tags"/> <%namespace file="../lib.html" import="csrf_hidden_input"/> <%namespace name="helpers" file="_helpers.html"/> <% import copy import urllib as url import splunk.util as util import splunk.appserver.mrsparkle.lib.paginator as paginator from splunk.appserver.mrsparkle.lib.msg_pool import MsgPoolMgr, UI_MSG_POOL from splunk.appserver.mrsparkle.lib import util as libutil sessionId = cherrypy.session.id header = _(uiHelper["header"]) if uiHelper.get('header') else _("You do not have permission to access the configuration for this page.") introText = _(uiHelper['introText']) if uiHelper.get("introText") else '' deleteButtonText = _(uiHelper['deleteButtonText']) if uiHelper.get("deleteButtonText") else _("Delete") entitiesLen = -1 auth_change_confirm = _("Are you sure you want to switch authentication systems?") delete_confirm = _('Are you sure you want to delete: "%s"?') delete_confirm_file_input = _('Are you sure you want to remove this file input: "%s"? Once removed, Splunk will no longer index data from this source.') unembed_confirm = _('Are you sure you no longer want to share this report outside of Splunk?') isLite = (cherrypy.config['product_type'] == 'lite' or cherrypy.config['product_type'] == 'lite_free') canShowAppContext = (not isLite and util.normalizeBoolean(uiHelper.get("showAppContext", ""))) try: entitiesLen = len(entities) except: pass # Build breadcrumbs string for passoff to appinstall page this_url = libutil.strip_url(libutil.current_url_path(include_qs=True)) child_breadcrumbs = libutil.complete_breadcrumb(breadcrumbs, this_url) child_breadcrumbs_string = libutil.build_breadcrumbs_string(child_breadcrumbs) newInputMap = { 'data/inputs/win-event-log-collections/localhost': 'evt_logs_local', 'data/inputs/win-event-log-collections': 'evt_logs_remote', 'data/inputs/monitor': 'file_monitor', 'data/inputs/win-perfmon': 'perfmon_local', 'data/inputs/win-wmi-collections': 'perfmon_remote', 'data/inputs/tcp/raw': 'tcp', 'data/inputs/udp': 'udp', 'data/inputs/registry': 'regmon', 'data/inputs/ad': 'admon', 'data/inputs/WinHostMon': 'hostmon', 'data/inputs/WinNetMon': 'netmon', 'data/inputs/WinPrintMon': 'printmon', 'data/inputs/script': 'scripts', 'deploymentsetup/app/data/inputs/remote_eventlogs': 'evt_logs_local', 'deploymentsetup/app/data/inputs/remote_perfmon': 'perfmon_local', 'deploymentsetup/app/data/inputs/remote_monitor': 'file_monitor', 'deploymentsetup/app/data/inputs/tcp/remote_raw': 'tcp', 'deploymentsetup/app/data/inputs/remote_udp': 'udp', 'deploymentsetup/app/data/inputs/remote_script': 'scripts' } %> <%call expr="stylesheet_tags(cssFiles)">%call> % if endpoint_path == 'apps/local' and isLite:
${ungettext('Showing %(first)s-%(last)s of %(total)s item', 'Showing %(first)s-%(last)s of %(total)s items', totalResults) % dict(first=spanStart, last=spanEnd, total=totalResults)}