Mored on ui for the Random Name , now working on seting the absentesa nd all thing

This commit is contained in:
RezHackXYZ 2025-05-06 18:29:08 +05:30
parent 1ac14dca72
commit 70c9a703c5
8 changed files with 359 additions and 73 deletions

View file

@ -4,7 +4,7 @@
table = timetable;
}
let table = $state({
let TempelateTable = {
Times: [
"07:50 - 08:50",
"08:50 - 09:40",
@ -59,14 +59,16 @@
"Social Science",
"Science",
],
});
};
let table = $state();
let TempTimeTable = localStorage.getItem("TimeTable") || "";
if (TempTimeTable != "") {
table = JSON.parse(TempTimeTable);
} else {
newTable(TempTimeTable);
newTable($state.snapshot(TempelateTable));
}
</script>