Fehlerkorrekturen
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
export default {
|
|
||||||
plugins: {
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
BIN
src/favicon.ico
Normal file
BIN
src/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import '/src/app.css';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
let anrede = '';
|
let anrede = '';
|
||||||
@@ -158,6 +159,16 @@
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.input {
|
.input {
|
||||||
@apply w-full border border-gray-300 rounded-xl p-3 focus:outline-none focus:ring-2 focus:ring-blue-500;
|
width: 100%;
|
||||||
|
border: 1px solid #d1d5db; /* border-gray-300 */
|
||||||
|
border-radius: 0.75rem; /* rounded-xl */
|
||||||
|
padding: 0.75rem; /* p-3 */
|
||||||
|
outline: none;
|
||||||
|
transition: box-shadow 0.2s;
|
||||||
|
}
|
||||||
|
.input:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0 0 0 2px #3b82f6; /* focus:ring-2 focus:ring-blue-500 */
|
||||||
|
border-color: #3b82f6;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
interface Anmeldung {
|
interface Anmeldung {
|
||||||
|
pdfs: any;
|
||||||
anrede: string;
|
anrede: string;
|
||||||
vorname: string;
|
vorname: string;
|
||||||
nachname: string;
|
nachname: string;
|
||||||
@@ -90,8 +91,4 @@
|
|||||||
}}
|
}}
|
||||||
class="bg-red-600 text-white px-4 py-3 rounded text-center hover:bg-red-700">
|
class="bg-red-600 text-white px-4 py-3 rounded text-center hover:bg-red-700">
|
||||||
Logout
|
Logout
|
||||||
</button>
|
</button>
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
/* Removed unused .input selector */
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import '../../..app.css';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
let dienststellen: { id: number; name: string; plaetze: number }[] = [];
|
let dienststellen: { id: number; name: string; plaetze: number }[] = [];
|
||||||
let neuerName = '';
|
let neuerName = '';
|
||||||
@@ -10,25 +11,6 @@
|
|||||||
const res = await fetch('/api/admin/dienststellen');
|
const res = await fetch('/api/admin/dienststellen');
|
||||||
dienststellen = await res.json();
|
dienststellen = await res.json();
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
async function hinzufuegen() {
|
|
||||||
fehlermeldung = '';
|
|
||||||
if (!neuerName.trim()) return;
|
|
||||||
const res = await fetch('/api/admin/dienststellen', {
|
|
||||||
method: 'POST',
|
|
||||||
body: JSON.stringify({ name: neuerName, plaetze: neuePlaetze }),
|
|
||||||
headers: { 'Content-Type': 'application/json' }
|
|
||||||
});
|
|
||||||
|
|
||||||
if (res.ok) {
|
|
||||||
neuerName = '';
|
|
||||||
await ladeDienststellen();
|
|
||||||
} else {
|
|
||||||
const err = await res.json();
|
|
||||||
fehlermeldung = err.error || 'Fehler beim Hinzufügen';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function bearbeiten(d: { id: number; name: string; plaetze: number }) {
|
function bearbeiten(d: { id: number; name: string; plaetze: number }) {
|
||||||
neuerName = d.name;
|
neuerName = d.name;
|
||||||
@@ -109,8 +91,4 @@
|
|||||||
Logout
|
Logout
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
|
||||||
.input {
|
|
||||||
@apply border rounded px-3 py-2;
|
|
||||||
}
|
|
||||||
|
|||||||
1
static/favicon.ico
Symbolic link
1
static/favicon.ico
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
favicon.png
|
||||||
BIN
static/uploads/ccd2d90b-348e-4dd8-bc33-7a7ef1a9faf0.pdf
Normal file
BIN
static/uploads/ccd2d90b-348e-4dd8-bc33-7a7ef1a9faf0.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user