-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: title in input and configuration page templates
- Loading branch information
1 parent
6d08509
commit 6328fdf
Showing
4 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...ucc_framework/ucc_ui_lib/src/main/resources/splunk/appserver/templates/configuration.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cc_framework/ucc_ui_lib/src/main/resources/splunk/default/data/ui/views/configuration.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
2 changes: 1 addition & 1 deletion
2
...dd_on_ucc_framework/ucc_ui_lib/src/main/resources/splunk/default/data/ui/views/inputs.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |