Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Migration for SplunkUI #109

Merged
merged 8 commits into from
Mar 1, 2021
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<%!
app_name = cherrypy.request.path_info.split('/')[3]

%>\
<!doctype html>
<html class="no-js" lang="">

<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>${_('Configuration')}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
</head>

<body>
<script src="${make_url('/config?autoload=1')}" crossorigin="use-credentials"></script>
<script src="${make_url('/static/js/i18n.js')}"></script>
<script src="${make_url('/i18ncatalog?autoload=1')}"></script>
<script>
__splunkd_partials__ = ${json_decode(splunkd)};
</script>

<%
page_path = "/static/app/" + app_name + "/js/build/" + page + ".js"
%>

<script src="${make_url(page_path)}"></script>
</body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>${_('Loading...')}</title>
<title>${_('Inputs')}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
</head>
Expand All @@ -22,7 +22,7 @@
</script>

<%
page_path = "/static/app/" + app_name + "/pages/" + page + ".js"
page_path = "/static/app/" + app_name + "/js/build/" + page + ".js"
%>

<script src="${make_url(page_path)}"></script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<view template="${package.name}:/templates/base.html" type="html" isDashboard="False">
<view template="${package.name}:/templates/configuration.html" type="html" isDashboard="False">
<label>Configuration</label>
</view>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<view template="${package.name}:/templates/base.html" type="html" isDashboard="False">
<view template="${package.name}:/templates/inputs.html" type="html" isDashboard="False">
<label>Inputs</label>
</view>