Mored on ui for the Random Name , now working on seting the absentesa nd all thing
This commit is contained in:
parent
1ac14dca72
commit
70c9a703c5
8 changed files with 359 additions and 73 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue