mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 08:54:17 -04:00
Updated languages.js to include new languages from Crowdin. Limit width of language selector in kiosk.ejs. Updated dependencies
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<% if(typeof voucherCode === 'undefined') { %>
|
||||
<div class="absolute top-2 right-2">
|
||||
<form id="locale-form" action="<%= baseUrl %>/kiosk" method="get">
|
||||
<select id="locale" name="locale" class="block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 dark:text-white dark:bg-white/5 ring-1 ring-inset ring-gray-300 dark:ring-white/10 focus:ring-2 focus:ring-sky-600 sm:text-sm sm:leading-6 **:text-black">
|
||||
<select id="locale" name="locale" class="max-w-28 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 dark:text-white dark:bg-white/5 ring-1 ring-inset ring-gray-300 dark:ring-white/10 focus:ring-2 focus:ring-sky-600 sm:text-sm sm:leading-6 **:text-black">
|
||||
<% Object.keys(languages).forEach((l) => { %>
|
||||
<option value="<%= l %>-<%= l %>"<%= l === language ? ' selected' : '' %>><%= languages[l] %></option>
|
||||
<% }); %>
|
||||
|
||||
Reference in New Issue
Block a user