<%page expression_filter="h"/> <%namespace name="lib" file="//lib.html" import="*" /> <%namespace name="helpers" file="//admin/_helpers.html"/> <%! from splunk.appserver.mrsparkle.lib import util import splunk import json import re import urllib def normalize_path(path): return re.sub(r'\\+', r'\\', urllib.unquote(path)) %> <%inherit file="//layout/base.html" /> <%def name="css()"> <%lib:stylesheet_tags files="${['/static/css/jquery.treeview.css', '/static/css/view.css', '/static/css/wizard.css', '/static/css/skins/default/default.css' ]}" /> <%def name="body_element_open()"> % if len(errors)>0: % for e in errors:
${e}
% endfor <% return '' %> % endif
${selected_text}${normalize_path(start_node)}
<%def name="js()"> <%lib:script_tags files="${['/static/js/splunk.jquery.csrf_protection.js', '/static/js/contrib/jquery.cookie.js', '/static/js/contrib/jquery.treeview.js', '/static/js/contrib/jquery.treeview.edit.js', '/static/js/contrib/jquery.treeview.async.js' ]}" />