Spaces:
Running
Running
Promote version eeeb495 to main
Browse filesPromoted commit eeeb49571a63d406621dce0ef1b928d82595a561 to main branch
Files changed (2)
- calculator2.html+21-23
- index.html+23-30
35 unmodified lines363738394041421 unmodified line4445464748495051525354555657585960616263646566676869707172737475767735 unmodified lines}</style></head><body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen flex items-center justify-center"><div class="container mx-auto px-4 py-4 max-w-5xl"><!-- Header --><header class="mb-4 text-center">1 unmodified line<img src="https://huggingface.co/spaces/BabloOG/TamroMatematik/resolve/main/images/gorilla.png" alt="Logo" class="w-16 h-16 object-contain"><h1 class="text-4xl font-bold text-dark mb-2 hovered-element">Tamro <span class="text-primary hovered-element">OSR</span></h1></div><div class="mt-4 flex flex-col items-center space-y-4"><div class="flex justify-center items-center space-x-4"><div class="px-4 py-2 bg-primary text-white rounded-lg shadow animate-pulse"><span id="current-time" class="font-mono"></span><span class="ml-2">CET (Sweden)</span></div><div class="px-4 py-2 bg-secondary text-white rounded-lg shadow"><span id="current-date" class="font-mono"></span></div></div><a href="index.html" class="mt-4 bg-yellow-500 hover:bg-yellow-600 text-white font-bold py-2 px-4 rounded-lg transition flex items-center"><i data-feather="repeat" class="w-4 h-4 mr-2"></i> Switch to Slinga 2 Calculator</a></div></header><!-- Calculator Content --><div class="flex flex-col lg:flex-row gap-4"><!-- Shift Selection and Details --><div class="w-full lg:w-1/2 flex-shrink-0 flex flex-col lg:flex-row gap-4"><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Available Shifts</h2><div id="shift-container" class="grid grid-cols-1 gap-4"><!-- Shifts will be dynamically inserted here --></div></div><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Shift Details</h2><div id="shift-details" class="mb-4 space-y-2">35 unmodified lines363738394041421 unmodified line444546474849505152535455565758596061626364656667686970717273747535 unmodified lines}</style></head><body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen"><div class="container mx-auto px-4 py-4 max-w-5xl"><!-- Header --><header class="mb-4 text-center">1 unmodified line<img src="https://huggingface.co/spaces/BabloOG/TamroMatematik/resolve/main/images/gorilla.png" alt="Logo" class="w-16 h-16 object-contain"><h1 class="text-4xl font-bold text-dark mb-2 hovered-element">Tamro <span class="text-primary hovered-element">OSR</span></h1></div><div class="mt-4 flex justify-center items-center space-x-4"><div class="px-4 py-2 bg-primary text-white rounded-lg shadow animate-pulse"><span id="current-time" class="font-mono"></span><span class="ml-2">CET (Sweden)</span></div><div class="px-4 py-2 bg-secondary text-white rounded-lg shadow"><span id="current-date" class="font-mono"></span></div></div><button onclick="saveCalculatorState(); window.location.href='index.html'" class="mt-4 bg-yellow-500 hover:bg-yellow-600 text-white font-bold py-2 px-4 rounded-lg transition hovered-element"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-repeat inline mr-2 hovered-element"><polyline points="17 1 21 5 17 9"></polyline><path d="M3 11V9a4 4 0 0 1 4-4h14"></path><polyline points="7 23 3 19 7 15"></polyline><path d="M21 13v2a4 4 0 0 1-4 4H3"></path></svg> Byt till Slinga 2</button></header><!-- Rest of the calculator content (same as index.html) --><div class="grid grid-cols-1 md:grid-cols-2 gap-4"><!-- Shift Selection --><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Available Shifts</h2><div id="shift-container" class="grid grid-cols-1 gap-4"><!-- Shifts will be dynamically inserted here --></div></div><!-- Shift Details --><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Shift Details</h2><div id="shift-details" class="mb-4 space-y-2">
35 unmodified lines363738394041421 unmodified line444546474849505152535455565758596061626 unmodified lines69707172737475767778798081828384858683 unmodified lines17017117217317417517617717817918018118218318418535 unmodified lines}</style></head><body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen flex items-center justify-center"><div class="container mx-auto px-4 py-4 max-w-5xl"><!-- Header --><header class="mb-4 text-center">1 unmodified line<img src="https://huggingface.co/spaces/BabloOG/TamroMatematik/resolve/main/images/gorilla.png" alt="Logo" class="w-16 h-16 object-contain"><h1 class="text-4xl font-bold text-dark mb-2">Tamro <span class="text-primary">Shift Calculator</span></h1></div><div class="mt-4 flex flex-col items-center space-y-4"><div class="flex justify-center items-center space-x-4"><div class="px-4 py-2 bg-primary text-white rounded-lg shadow animate-pulse"><span id="current-time" class="font-mono"></span><span class="ml-2">CET (Sweden)</span></div><div class="px-4 py-2 bg-secondary text-white rounded-lg shadow"><span id="current-date" class="font-mono"></span></div></div><a href="calculator2.html" class="mt-4 bg-yellow-500 hover:bg-yellow-600 text-white font-bold py-2 px-4 rounded-lg transition flex items-center"><i data-feather="repeat" class="w-4 h-4 mr-2"></i> Switch to OSR Calculator</a></div></header>6 unmodified lines</div><!-- Calculator Sections --><div class="flex flex-col lg:flex-row gap-4"><!-- Slinga 2 Calculator --><div id="slinga2-calculator" class="calculator-section w-full lg:w-1/2 flex-shrink-0"><div class="flex flex-col lg:flex-row gap-4"><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4 text-center">Slinga 2</h2><div id="slinga2-shift-container" class="grid grid-cols-1 gap-4"><!-- Slinga 2 shifts will be dynamically inserted here --></div></div><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Shift Details</h2><div class="mb-4 space-y-2">83 unmodified lines</div><!-- OSR Calculator --><div id="osr-calculator" class="calculator-section hidden w-full lg:w-1/2 flex-shrink-0"><div class="flex flex-col lg:flex-row gap-4"><div class="bg-white p-6 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4 text-center">OSR</h2><div id="osr-shift-container" class="grid grid-cols-1 gap-4"><!-- OSR shifts will be dynamically inserted here --></div></div><div class="bg-white p-6 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Shift Details</h2><div class="mb-6 space-y-4">35 unmodified lines363738394041421 unmodified line44454647484950515253545556576 unmodified lines646566676869707172737475767778798083 unmodified lines16416516616716816917017117217317417517617717835 unmodified lines}</style></head><body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen"><div class="container mx-auto px-4 py-4 max-w-5xl"><!-- Header --><header class="mb-4 text-center">1 unmodified line<img src="https://huggingface.co/spaces/BabloOG/TamroMatematik/resolve/main/images/gorilla.png" alt="Logo" class="w-16 h-16 object-contain"><h1 class="text-4xl font-bold text-dark mb-2">Tamro <span class="text-primary">Shift Calculator</span></h1></div><div class="mt-4 flex justify-center items-center space-x-4"><div class="px-4 py-2 bg-primary text-white rounded-lg shadow animate-pulse"><span id="current-time" class="font-mono"></span><span class="ml-2">CET (Sweden)</span></div><div class="px-4 py-2 bg-secondary text-white rounded-lg shadow"><span id="current-date" class="font-mono"></span></div></div></header>6 unmodified lines</div><!-- Calculator Sections --><div class="grid grid-cols-1 md:grid-cols-2 gap-4"><!-- Slinga 2 Calculator --><div id="slinga2-calculator" class="calculator-section"><div class="bg-white p-4 rounded-xl shadow-lg mb-4"><h2 class="text-2xl font-semibold text-dark mb-4 text-center">Slinga 2</h2><div id="slinga2-shift-container" class="grid grid-cols-1 gap-4 mb-6"><!-- Slinga 2 shifts will be dynamically inserted here --></div></div><div class="bg-white p-4 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Shift Details</h2><div class="mb-4 space-y-2">83 unmodified lines</div><!-- OSR Calculator --><div id="osr-calculator" class="calculator-section hidden"><div class="bg-white p-6 rounded-xl shadow-lg mb-6"><h2 class="text-2xl font-semibold text-dark mb-4 text-center">OSR</h2><div id="osr-shift-container" class="grid grid-cols-1 gap-4 mb-6"><!-- OSR shifts will be dynamically inserted here --></div></div><div class="bg-white p-6 rounded-xl shadow-lg"><h2 class="text-2xl font-semibold text-dark mb-4">Shift Details</h2><div class="mb-6 space-y-4">
calculator2.html+21-23
index.html+23-30