projekt/index.html

124 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ocena Zachowania</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<h1>Ocena Zachowania</h1>
<div>
<button onclick="showTab('criteria')">Ocena z zachowania</button>
<button onclick="showTab('stats')">Statystyka</button>
<button onclick="showTab('points')">Ustal punkty</button>
</div>
<div id="points" class="tab">
<h2>Ustal punkty dla kryteriów</h2>
<table>
<thead>
<tr>
<th>Kryterium</th>
<th>Punkty</th>
</tr>
</thead>
<tbody>
<tr>
<td>Frekwencja 95-100%</td>
<td><input type="number" id="frekwencja-punkty" value="30" onchange="calculateStats()"></td>
</tr>
<tr>
<td>Brak godzin nieusprawiedliwionych</td>
<td><input type="number" id="brak-godzin-punkty" value="20" onchange="calculateStats()"></td>
</tr>
<tr>
<td>Minimum 85% frekwencja</td>
<td><input type="number" id="min-85-punkty" value="20" onchange="calculateStats()"></td>
</tr>
<tr>
<td>Udział w etapie szkolnym olimpiady</td>
<td><input type="number" id="etap-szkolny-punkty" value="5" onchange="calculateStats()"></td>
</tr>
<tr>
<td>Udział w etapie rejonowym olimpiady</td>
<td><input type="number" id="etap-rejonowy-punkty" value="5" onchange="calculateStats()"></td>
</tr>
<tr>
<td>Udział w etapie wojewódzkim olimpiady</td>
<td><input type="number" id="etap-wojewodzki-punkty" value="10" onchange="calculateStats()"></td>
</tr>
<tr>
<td>Udział w etapie ogólnopolskim olimpiady</td>
<td><input type="number" id="etap-ogolnopolski-punkty" value="10" onchange="calculateStats()"></td>
</tr>
</tbody>
</table>
</div>
<div id="criteria" class="tab active">
<h2>Kryteria oceny zachowania - <span id="current-date"></span></h2>
<div>
<button onclick="changeDay(-1)">Poprzedni Dzień</button>
<button onclick="changeDay(1)">Następny Dzień</button>
</div>
<table>
<thead>
<tr>
<th rowSpan="2">Uczeń</th>
<th colspan="3">Frekwencja</th>
<th colspan="4">Olimpiady</th>
<th colspan="2">Konkursy Szkolne</th>
<th colspan="3">Reprezentacja Szkoły</th>
<th colspan="5">Aktywność</th>
</tr>
<tr>
<th>Frekwencja 95-100%</th>
<th>Brak godzin nieusprawiedliwionych</th>
<th>Minimum 85% frekwencja</th>
<th>Etap szkolny</th>
<th>Etap rejonowy</th>
<th>Etap wojewódzki</th>
<th>Etap ogólnopolski</th>
<th>Udział w konkursach</th>
<th>Wyróżnienie w konkursie</th>
<th>Reprezentacja indywidualna</th>
<th>Reprezentacja zespołowa</th>
<th>Udział w zawodach</th>
<th>Organizacja imprez</th>
<th>Funkcje w klasie</th>
<th>Uroczystości okolicznościowe</th>
<th>Udział w poczcie sztandarowym</th>
<th>Pomoc nauczycielowi</th>
<th>Wolontariat</th>
</tr>
</thead>
<tbody id="student-table">
<!-- Dane uczniów będą generowane dynamicznie -->
</tbody>
</table>
</div>
<div id="stats" class="tab">
<h2>Statystyka dla wszystkich dni</h2>
<div id="stats"></div>
</div>
<footer style="margin: 20px">
F. Kowalski
</br>
Led and Authored by M. Pabiszczak
</footer>
<script type="module" src="js/script.js"></script>
<script type="module" src="js/app.js"></script>
</body>
</html>