Splunk Search

Insert an icon in the setup.xml page

alauri
Explorer

Hi all,

I'm trying to insert the logo (the appIcon.png logo of my add-on) inside the setup.xml page as the first child of formWrapper div.
Is it possible? If it's possible, what is the best way to perform this task?

Thanks in advance!

Tags (3)
0 Karma
1 Solution

alauri
Explorer
var formWrapper_div = $(this).find("div.formWrapper");
$(formWrapper_div).prepend('<img id="logo" src="/static/app/<appname>/appIcon.png" />');

inside the application.js file.

View solution in original post

0 Karma

alauri
Explorer
var formWrapper_div = $(this).find("div.formWrapper");
$(formWrapper_div).prepend('<img id="logo" src="/static/app/<appname>/appIcon.png" />');

inside the application.js file.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...