Update index.html
Browse files- index.html +4 -4
index.html
CHANGED
|
@@ -270,10 +270,10 @@
|
|
| 270 |
const activeTimeSlotId = activeTimeSlotObj ? activeTimeSlotObj.id : null;
|
| 271 |
|
| 272 |
const missedPeriods = currentTimeSlots.filter(slot => {
|
| 273 |
-
if (slot.id === 'R') return false;
|
| 274 |
const hasEnded = currentHour > slot.endHour || (currentHour === slot.endHour && currentMin >= slot.endMin);
|
| 275 |
return hasEnded && !teacherLogs[slot.id];
|
| 276 |
-
})
|
| 277 |
|
| 278 |
const classesTeacherStatus = CLASSES.map(cls => {
|
| 279 |
const activeSlot = getCurrentActiveSlot(cls, currentHour, currentMin);
|
|
@@ -891,7 +891,7 @@
|
|
| 891 |
return (
|
| 892 |
<div key={slot.id} className={`bg-white md:bg-transparent rounded-xl border shadow-sm md:shadow-none p-4 md:p-3 md:grid md:grid-cols-[100px_100px_220px_1fr] md:gap-4 md:items-center transition-all ${
|
| 893 |
isCurrentActiveSlot
|
| 894 |
-
? 'border-indigo-500 md:border-
|
| 895 |
: isRecess
|
| 896 |
? 'border-slate-200 md:border-transparent bg-orange-50 md:bg-orange-50/50'
|
| 897 |
: 'border-slate-200 md:border-transparent hover:bg-slate-50'
|
|
@@ -1118,4 +1118,4 @@
|
|
| 1118 |
root.render(<App />);
|
| 1119 |
</script>
|
| 1120 |
</body>
|
| 1121 |
-
</html>
|
|
|
|
| 270 |
const activeTimeSlotId = activeTimeSlotObj ? activeTimeSlotObj.id : null;
|
| 271 |
|
| 272 |
const missedPeriods = currentTimeSlots.filter(slot => {
|
| 273 |
+
if (slot.id === 'R') return false;
|
| 274 |
const hasEnded = currentHour > slot.endHour || (currentHour === slot.endHour && currentMin >= slot.endMin);
|
| 275 |
return hasEnded && !teacherLogs[slot.id];
|
| 276 |
+
});
|
| 277 |
|
| 278 |
const classesTeacherStatus = CLASSES.map(cls => {
|
| 279 |
const activeSlot = getCurrentActiveSlot(cls, currentHour, currentMin);
|
|
|
|
| 891 |
return (
|
| 892 |
<div key={slot.id} className={`bg-white md:bg-transparent rounded-xl border shadow-sm md:shadow-none p-4 md:p-3 md:grid md:grid-cols-[100px_100px_220px_1fr] md:gap-4 md:items-center transition-all ${
|
| 893 |
isCurrentActiveSlot
|
| 894 |
+
? 'border-2 border-indigo-500 md:border-2 md:border-indigo-500 bg-indigo-100 md:bg-indigo-100 shadow-md ring-2 ring-indigo-300/50 z-10 relative'
|
| 895 |
: isRecess
|
| 896 |
? 'border-slate-200 md:border-transparent bg-orange-50 md:bg-orange-50/50'
|
| 897 |
: 'border-slate-200 md:border-transparent hover:bg-slate-50'
|
|
|
|
| 1118 |
root.render(<App />);
|
| 1119 |
</script>
|
| 1120 |
</body>
|
| 1121 |
+
</html>
|