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:
Glenn de Haan
2025-03-14 19:18:07 +01:00
parent bd047558e5
commit 30ef63f277
13 changed files with 448 additions and 1 deletions

View File

@@ -172,6 +172,20 @@
<%= status.email.details %>&nbsp;<a href="<%= status.email.info %>" class="italic text-xs underline" aria-label="More Info Link" target="_blank" rel="noreferrer noopener">More Info</a>
</td>
</tr>
<tr class="border-b border-gray-300 dark:border-white/10 bg-white dark:bg-white/5">
<td class="p-4 align-middle font-medium flex items-center gap-2">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd" d="M2.25 5.25a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3V15a3 3 0 0 1-3 3h-3v.257c0 .597.237 1.17.659 1.591l.621.622a.75.75 0 0 1-.53 1.28h-9a.75.75 0 0 1-.53-1.28l.621-.622a2.25 2.25 0 0 0 .659-1.59V18h-3a3 3 0 0 1-3-3V5.25Zm1.5 0v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5Z" clip-rule="evenodd" />
</svg>
Kiosk
</td>
<td class="p-4 align-middle">
<%- include('partials/tag', {status: status.kiosk.status}) %>
</td>
<td class="p-4 align-middle">
<%= status.kiosk.details %>&nbsp;<a href="<%= status.kiosk.info %>" class="italic text-xs underline" aria-label="More Info Link" target="_blank" rel="noreferrer noopener">More Info</a>
</td>
</tr>
<tr class="border-b border-gray-300 dark:border-white/10 bg-white dark:bg-white/5">
<td class="p-4 align-middle font-medium flex items-center gap-2">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="currentColor">