Merge branch 'main' of git.odit.services:lfk/kiosk
Some checks failed
Build latest image / build-container (push) Failing after 18s

This commit is contained in:
Nicolai Ort 2025-03-22 23:10:31 +01:00
commit 0de50822cd
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
7 changed files with 5054 additions and 7356 deletions

View File

@ -2,10 +2,20 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [1.0.0](https://git.odit.services/lfk/kiosk/compare/0.6.0...1.0.0)
#### [1.1.0](https://git.odit.services/lfk/kiosk/compare/1.0.0...1.1.0)
- chore(deps): bump all [`b969932`](https://git.odit.services/lfk/kiosk/commit/b9699325828dd9b3ed51997d7a72f43449f000cf)
- feat(ci)!: Switch to woodpecker [`16f9228`](https://git.odit.services/lfk/kiosk/commit/16f92283904bc3a2825ebb0fb0c7f130ffa8f057)
- feat: email [`a8d90d4`](https://git.odit.services/lfk/kiosk/commit/a8d90d48829fa708d1cdc5029d1e1ac2f28b1e4c)
- 2025 [`a2ffa50`](https://git.odit.services/lfk/kiosk/commit/a2ffa5055e58445bbbc6f932495eb8c4952fec99)
### [1.0.0](https://git.odit.services/lfk/kiosk/compare/0.6.0...1.0.0)
> 19 April 2023
- feat: footer [`115767c`](https://git.odit.services/lfk/kiosk/commit/115767c656381336257c23ee30a130e7e9c60144)
- refactor: drop footer [`e512325`](https://git.odit.services/lfk/kiosk/commit/e5123251155f58e83f36c091b671acc73167ce68)
- 🚀Bumped version to 1.0.0 [`16d15f7`](https://git.odit.services/lfk/kiosk/commit/16d15f7242c738724121797cea1bd2868253fc6f)
- feat: prevent F1 + F5 [`bb3c801`](https://git.odit.services/lfk/kiosk/commit/bb3c80190834be6d43f50cdb6eeb09ac75868259)
#### [0.6.0](https://git.odit.services/lfk/kiosk/compare/0.5.0...0.6.0)

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@lfk/kiosk",
"version": "1.0.0",
"version": "1.1.0",
"private": false,
"license": "MIT",
"repository": "https://git.odit.services/lfk/kiosk",
@ -33,35 +33,36 @@
"license:export": "license-exporter --markdown && git stage licenses.md"
},
"devDependencies": {
"@odit/license-exporter": "0.0.12",
"@sveltejs/adapter-static": "2.0.2",
"@sveltejs/kit": "1.15.7",
"@types/bwip-js": "^3.2.0",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"auto-changelog": "2.4.0",
"autoprefixer": "10.4.14",
"eslint": "8.38.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-svelte3": "4.0.0",
"postcss": "8.4.22",
"postcss-load-config": "4.0.1",
"prettier": "2.8.7",
"prettier-plugin-svelte": "2.10.0",
"release-it": "15.10.1",
"svelte": "3.58.0",
"svelte-check": "3.2.0",
"svelte-preprocess": "5.0.3",
"tailwindcss": "3.3.1",
"tslib": "2.5.0",
"typescript": "5.0.4",
"vite": "4.2.2"
"@odit/license-exporter": "0.2.0",
"@philippdormann/release-it": "^1.0.0",
"@sveltejs/adapter-static": "3.0.6",
"@sveltejs/kit": "2.12.0",
"@sveltejs/vite-plugin-svelte": "^5.0.2",
"@types/bwip-js": "^3.2.3",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"auto-changelog": "2.5.0",
"autoprefixer": "10.4.20",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"postcss": "8.4.49",
"postcss-load-config": "6.0.1",
"prettier": "3.4.2",
"prettier-plugin-svelte": "3.3.2",
"svelte": "5.14.0",
"svelte-check": "4.1.1",
"svelte-preprocess": "6.0.3",
"tailwindcss": "3.4.16",
"tslib": "2.8.1",
"typescript": "5.7.2",
"vite": "6.0.3"
},
"type": "module",
"dependencies": {
"@fontsource/athiti": "^4.5.10",
"@odit/lfk-client-js": "1.0.1",
"bwip-js": "3.4.0"
"@fontsource/athiti": "^5.1.0",
"@odit/lfk-client-js": "1.1.3",
"bwip-js": "4.5.1",
"eslint-plugin-svelte": "^2.46.1"
},
"release-it": {
"git": {
@ -80,11 +81,5 @@
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && npm run license:export && git add CHANGELOG.md && git add licenses.md"
}
},
"volta": {
"node": "19.9.0"
},
"engines": {
"pnpm": "8"
}
}

6927
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@
{/if}
<div class="fixed bottom-0 w-full text-center text-xl p-4 dark:text-white select-none">
{#if $userState.isLoggedIn}
<b class="font-bold">LfK!2023</b> powered by
<b class="font-bold">LfK!2025</b> powered by
<b class="font-bold">ODIT.Services</b>
{:else}
<a
@ -34,7 +34,7 @@
>
<br />
<br />
<b class="font-bold">LfK!2023</b> powered by
<b class="font-bold">LfK!2025</b> powered by
<a
rel="noopener noreferrer"
target="_blank"

View File

@ -6,6 +6,7 @@
$: firstname = '';
$: lastname = '';
$: email = '';
$: doneButtonEnabled = false;
$: showResult = false;
@ -34,6 +35,7 @@
response = (await RunnerService.runnerControllerPost({
firstname,
lastname,
email,
group
})) as ResponseRunner;
showResult = true;
@ -89,7 +91,7 @@
<!-- Form -->
{#if !showResult}
<div class="text-center">
<h1 class="block text-7xl font-bold text-gray-800 dark:text-white">LfK!2023</h1>
<h1 class="block text-7xl font-bold text-gray-800 dark:text-white">LfK!2025</h1>
<h1 class="block text-4xl font-bold text-gray-800 dark:text-white">Registrierung</h1>
<!-- <p class="mt-2 text-sm text-gray-600 dark:text-gray-400">Melde dich für den LfK an</p> -->
</div>
@ -184,6 +186,48 @@
</div>
<!-- End Form Group -->
<!-- Form Group -->
<div>
<label for="email" class="block text-lg font-bold mb-2 sr-only">E-Mail (optional)</label>
<div class="relative">
<input
type="email"
id="email"
name="email"
class="py-3 px-4 block w-full border-gray-200 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 border"
required
placeholder="E-Mail (optional)"
aria-describedby="lastname-error"
bind:value={email}
/>
<!-- <div
class:hidden={lastname || lastname.length != 0}
class="absolute inset-y-0 right-0 flex items-center pointer-events-none pr-3"
>
<svg
class="h-5 w-5 text-red-500"
width="16"
height="16"
fill="currentColor"
viewBox="0 0 16 16"
aria-hidden="true"
>
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"
/>
</svg>
</div> -->
</div>
<!-- <p
class:hidden={lastname || lastname.length != 0}
class="text-xs text-red-600 mt-2"
id="lastname-error"
>
Bitte gebe deinen Nachnamen ein
</p> -->
</div>
<!-- End Form Group -->
<button
type="submit"
disabled={!firstname || !lastname}

View File

@ -1,13 +1,11 @@
import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [
vitePreprocess(),
preprocess({
postcss: true
})