mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 08:53:53 -04:00
Added the kiosk_example.png. Updated the README.md. Implemented timer styles within style.css. Added kiosk output within info.js. Set default locale to 'en' for mail.js. Implemented KIOSK_ENABLED and KIOSK_VOUCHER_TYPE environment variables within variables.js. Added kiosk_bg.jpg. Updated navigation.ejs with kiosk link. Added kiosk.ejs template. Updated status.ejs and status.js with kiosk module status. Updated docker-compose.yml. Added /kiosk routes to server.js. Added kioskEnabled states to required routes in server.js
This commit is contained in:
@@ -80,6 +80,15 @@ module.exports = () => {
|
||||
info: 'https://github.com/glenndehaan/unifi-voucher-site#email-functionality',
|
||||
modules: {}
|
||||
},
|
||||
kiosk: {
|
||||
status: {
|
||||
text: variables.kioskEnabled ? 'Enabled' : 'Disabled',
|
||||
state: variables.kioskEnabled ? 'green' : 'red'
|
||||
},
|
||||
details: variables.kioskEnabled ? `Kiosk service enabled on http://0.0.0.0:3000/kiosk.` : 'Kiosk service not enabled.',
|
||||
info: 'https://github.com/glenndehaan/unifi-voucher-site#kiosk-functionality',
|
||||
modules: {}
|
||||
},
|
||||
authentication: {
|
||||
status: {
|
||||
text: !variables.authDisabled ? 'Enabled' : 'Disabled',
|
||||
|
||||
Reference in New Issue
Block a user