mirror of https://gitlab.com/bashrc2/epicyon
Show instance title on login screen for shell browsers
parent
aa58f439f2
commit
b73c730d37
|
@ -138,9 +138,12 @@ def htmlLogin(cssCache: {}, translate: {},
|
||||||
loginForm += '<br>\n'
|
loginForm += '<br>\n'
|
||||||
loginForm += '<form method="POST" action="/login">\n'
|
loginForm += '<form method="POST" action="/login">\n'
|
||||||
loginForm += ' <div class="imgcontainer">\n'
|
loginForm += ' <div class="imgcontainer">\n'
|
||||||
|
instanceTitle = getConfigParam(baseDir, 'instanceTitle')
|
||||||
|
if not instanceTitle:
|
||||||
|
instanceTitle = "Epicyon"
|
||||||
loginForm += \
|
loginForm += \
|
||||||
' <img loading="lazy" src="' + loginImage + \
|
' <img loading="lazy" src="' + loginImage + \
|
||||||
'" alt="" class="loginimage">\n'
|
'" alt="' + instanceTitle + '" class="loginimage">\n'
|
||||||
loginForm += loginText + TOSstr + '\n'
|
loginForm += loginText + TOSstr + '\n'
|
||||||
loginForm += ' </div>\n'
|
loginForm += ' </div>\n'
|
||||||
loginForm += '\n'
|
loginForm += '\n'
|
||||||
|
|
Loading…
Reference in New Issue