Commit Graph

44 Commits

Author SHA1 Message Date
james 3def33bef7 first commit 2024-10-22 11:15:02 +02:00
tocziew db0752d3e0 c 2024-10-20 13:54:50 +02:00
tocziew 84a8035548 d 2024-10-20 13:07:58 +02:00
tocziew af08dbe732 kolejne zmiany 2024-10-20 12:57:19 +02:00
tocziew 376859a850 zmiany stylistyczne/usuwanie niepotrzebnych rzeczy 2024-10-19 20:35:29 +02:00
user 8c44f64135 ok 2024-10-19 18:33:51 +02:00
user 88a42e9ff4 fix under 2024-10-19 18:28:38 +02:00
user 820f9d0ad3 some colours edited 2024-10-19 17:58:47 +02:00
user 1cf4e5b79d naprawiono nie zmieniajace sie funkcje po mergu z tommkiem 2024-10-19 13:16:29 +02:00
Tomasz 633e2ec577 changes and something to repair 2024-10-18 14:56:26 +02:00
Tomasz 5bb646fa54 update layout 2024-10-18 14:27:30 +02:00
Tomasz 388fcd43ee Merge remote-tracking branch 'g/tom' into fk1810 2024-10-18 14:25:48 +02:00
Tomasz e69ad14075 repair colors 2024-10-18 14:06:44 +02:00
filih 6c8ffea3d9 upper-part 2024-10-18 14:03:11 +02:00
Tomasz 7489da78a4 Merge branch 'sptak' into fk1810 2024-10-18 13:59:02 +02:00
Tomasz d3d04b837b zabawa kolorki i kilka funkcji 2024-10-18 13:35:03 +02:00
Twoje Imię Nazwisko ee46837d4c load roles from json 2024-10-18 07:05:39 -04:00
Tomasz 7e0dcc5287 Merge branch 'teamAPI' into fk1810 2024-10-18 12:24:41 +02:00
Tomasz 52fb67d125 dodanie przesuwania nakglowak tabelki 2024-10-18 12:15:36 +02:00
Twoje Imię Nazwisko 2619e8e917 load categories from json 2024-10-18 06:01:25 -04:00
konradm e2eac05ab5 select-roles added 2024-10-18 10:30:42 +02:00
konradm 3ba6c026f2 Merge branch 'test' into konradm 2024-10-18 10:12:54 +02:00
konradm 9faf9bdb96 linia 2024-10-17 14:39:47 +02:00
konradm 32449be531 first name last name 2024-10-17 14:24:08 +02:00
konradm e0ba11b0e9 commit 2024-10-17 14:15:45 +02:00
konradm a211321c84 commit
// Generuj wiersze dla uczniów
studentsData.forEach(student => {
    const row = document.createElement('tr');

    // Komórka z imieniem i nazwiskiem
    const tdName = document.createElement('td');
    tdName.textContent = student.name;
    row.appendChild(tdName);

    // Upewnij się, że 'behavior' jest zdefiniowany
    if (!student.behavior) {
        student.behavior = {};
    }

    // Komórki z checkboxami dla kryteriów
    categoryColumns.forEach(column => {
        const td = document.createElement('td');
        const checkbox = document.createElement('input');
        checkbox.type = 'checkbox';
        checkbox.id = `${column.id}-${student.name.replace(/ /g, '-')}`;
        checkbox.onchange = calculateStats;

        // Ustawienie stanu checkboxa na podstawie zapisanych danych
        if (student.behavior[`day${currentDay}`] && student.behavior[`day${currentDay}`][column.id]) {
            checkbox.checked = student.behavior[`day${currentDay}`][column.id];
        } else {
            checkbox.checked = false;
        }

        td.appendChild(checkbox);
        row.appendChild(td);
    });

    tbody.appendChild(row);
});
2024-10-17 14:14:38 +02:00
bartoszh 3d62de7867 wszystko zrobione 2024-10-17 12:47:01 +02:00
konradm 3ad0353d9c Finalna wersja wczytywania uczniow. 2024-10-17 10:46:48 +02:00
bartoszh ab33dc5f75 commit 2024-10-16 15:44:17 +02:00
baiobelfer 6f7a626db3 bh update 2024-10-16 14:56:56 +02:00
baiobelfer 36524d8012 update loadCriteria 2024-10-16 14:53:18 +02:00
konradm d53c68eeb0 Pobieranie studentow do tabeli - niedokonczone 2024-10-16 13:51:22 +02:00
konradm 97d6865fdd select class 2024-10-16 12:42:08 +02:00
baiobelfer 5f2d191788 clean index 2024-10-16 13:54:55 +02:00
baiobelfer 9c52664e90 added Leader 2024-10-16 12:47:23 +02:00
email 5ae5f7c23c classes 2024-10-16 12:18:43 +02:00
baiobelfer 510628b1f6 updates app.js 2024-10-16 11:29:29 +02:00
email 534ec00990 fetch 2024-10-16 11:24:57 +02:00
baiobelfer a8dedaee9a Merge remote-tracking branch 'r/dev' into dev 2024-10-16 11:18:26 +02:00
baiobelfer 4e79bd6048 fetch class update 2024-10-16 11:17:49 +02:00
email f4bcf024fe style 2024-10-16 11:16:38 +02:00
email 385b8d5c0d i 2024-10-16 11:14:17 +02:00
email 08742cabb7 index 2024-10-16 11:11:17 +02:00
baiobelfer 096623a531 init 2024-10-16 10:40:14 +02:00