Problem:
Change background splash Login screen
Expected outcome:
Customised splash screen
Foreman and Proxy versions:
1.24
I am trying to create plugin to allow the customisation on the login screen but I can track down the background images I need to set\override. Anyone with any pointers to help me?
I think I can see the render creating the page but I don’t know how it creates the background
/usr/share/foreman/app/helpers
module LoginHelper
def login_props
{
token: form_authenticity_token,
version: SETTINGS[:version].version,
caption: Setting[:login_text],
alerts: flash_inline,
logoSrc: image_path(“login_logo.png”),
}
end
def mount_login
render(‘common/login’, props: login_props)
end
end