Skip to content

Instantly share code, notes, and snippets.

View kimarcoki's full-sized avatar

kimarcoki

  • Joined Apr 17, 2026
View GitHub Profile
@kimarcoki
kimarcoki / index.html
Created April 29, 2026 08:55
Produktions-App v1.4.5 - Komplette App
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
<title>Produktions-App</title>
<script>
// Sofortiger Dark Mode Check (verhindert weißes Blitzen)
(function() {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
@kimarcoki
kimarcoki / qr-scanner.js
Last active April 29, 2026 08:55
Produktions-App v1.4.5
/** * QR-Code Scanner - BACKEND VERSION v1.4.5 * Nutzt Python/qreader auf dem Server - zuverlässiger * MIT Erfolgsmeldungen! */ (function() { console.log('[QR] Scanner v1.4.5 (Backend mit Meldungen) geladen'); // Toast-Meldung anzeigen function showToast(message, type='success') { // Bestehenden Toast entfernen const existing = document.getElementById('qr-toast'); if (existing) existing.remove(); // Neuen Toast erstellen const toast = document.createElement('div'); toast.id = 'qr-toast'; toast.style.cssText = ` position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: ${type === 'success' ? '#22c55e' : '#ef4444'}; color: white; padding: 16px 24px; border-radius: 12px; font-weight: bold; font-size: 16px; z-index: 9999; box-shadow: 0 4px 20px rgba(0,0,0,0.3);