Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@
~ limitations under the License.
~
-->
<%! app_name = cherrypy.request.path_info.split('/')[3] %>\
<%!
from splunk.appserver.mrsparkle.lib import util

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>${_('Loading')}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="${util.getFaviconURL()}" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<base >
</head>
Expand Down
1 change: 1 addition & 0 deletions tests/smoke/test_ucc_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def test_ucc_generate_with_everything(caplog):
("appserver", "static", "test icon.png"),
("appserver", "static", "alerticon.png"),
("appserver", "static", "js", "build", "custom", "custom_tab.js"),
("appserver", "templates", "base.html"),
("default", "alert_actions.conf"),
("default", "eventtypes.conf"),
("default", "inputs.conf"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright 2021 Splunk Inc.
~ Copyright 2025 Splunk Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand All @@ -14,15 +14,21 @@
~ limitations under the License.
~
-->
<%! app_name = cherrypy.request.path_info.split('/')[3] %>\
<%!
from splunk.appserver.mrsparkle.lib import util

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>${_('Loading')}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="${util.getFaviconURL()}" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<base >
</head>

<body>
Expand All @@ -35,6 +41,6 @@

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

<script src="${make_url(page_path)}"></script>
<script type="module" src="${make_url(page_path)}"></script>
</body>
</html>
Loading