%! import urllib title = 'Triggered Alerts' isLite = (cherrypy.config['product_type'] == 'lite' or cherrypy.config['product_type'] == 'lite_free') %> <%inherit file="/layout/base.html"/> <%namespace name="lib" file="/lib.html" import="stylesheet_tags, add_script_block, csrf_hidden_input, sort_link, get_application_css, generate_splunk_header" /> <%def name="css()"> <%coreCSSFiles = [ '/static/css/view.css', '/static/css/alerts.css', '/static/css/skins/default/default.css', '/static/css/print.css', ] %> <% if isLite: coreCSSFiles.append('/static/css/build/splunk-components-lite.css') else: coreCSSFiles.append('/static/css/build/splunk-components.css') endif %> <%lib:stylesheet_tags files="${coreCSSFiles}" /> % if splunk.util.normalizeBoolean(cherrypy.config.get('storm_enabled')): <%lib:get_application_css app="${app}" /> % endif %def> <%def name="js()"> ${lib.script_tags(files=[ "/static/js/build/splunk.components.js" ])} <%lib:generate_splunk_header /> %def> <%def name="body_element_open()"> % if isLite:
% else: % endif %def>${ungettext('Showing %(first)s-%(last)s of %(total)s result', 'Showing %(first)s-%(last)s of %(total)s results', pager.item_count) % dict(first=offset+1, last=min(pager.item_count,offset+count), total=pager.item_count)}