Implemented UI_BACK_BUTTON for kiosk users to navigate to the previous page. Removed h1 to clean-up UI

This commit is contained in:
Glenn de Haan
2025-01-05 16:18:05 +01:00
parent aaac79a096
commit 99382626de
5 changed files with 13 additions and 5 deletions

View File

@@ -410,6 +410,7 @@ if(variables.serviceWeb) {
info_text: req.flashMessage.message || '',
error: req.flashMessage.type === 'error',
error_text: req.flashMessage.message || '',
uiBackButton: variables.uiBackButton,
timeConvert: time,
bytesConvert: bytes,
email_enabled: variables.smtpFrom !== '' && variables.smtpHost !== '' && variables.smtpPort !== '',
@@ -491,6 +492,7 @@ if(variables.serviceWeb) {
baseUrl: req.headers['x-ingress-path'] ? req.headers['x-ingress-path'] : '',
gitTag: variables.gitTag,
gitBuild: variables.gitBuild,
uiBackButton: variables.uiBackButton,
user: user,
userIcon: req.oidc ? crypto.createHash('sha256').update(user.email).digest('hex') : '',
authDisabled: variables.authDisabled,