2024-10-16 08:40:14 +00:00
|
|
|
<!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>
|
2024-10-16 09:16:38 +00:00
|
|
|
<link rel="stylesheet" href="css/style.css">
|
2024-10-16 13:44:17 +00:00
|
|
|
<style>
|
|
|
|
.tab {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
</style>
|
2024-10-16 08:40:14 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2024-10-16 09:11:17 +00:00
|
|
|
<h1>Ocena Zachowania</h1>
|
|
|
|
|
2024-10-16 08:40:14 +00:00
|
|
|
<div>
|
2024-10-16 09:14:17 +00:00
|
|
|
<button onclick="showTab('criteria')">Ocena z zachowania</button>
|
2024-10-16 09:11:17 +00:00
|
|
|
<button onclick="showTab('stats')">Statystyka</button>
|
2024-10-16 09:14:17 +00:00
|
|
|
<button onclick="showTab('points')">Ustal punkty</button>
|
2024-10-16 09:11:17 +00:00
|
|
|
</div>
|
|
|
|
|
2024-10-16 13:44:17 +00:00
|
|
|
<!-- Zakładka "Ustal punkty" -->
|
2024-10-16 09:14:17 +00:00
|
|
|
<div id="points" class="tab">
|
2024-10-16 09:11:17 +00:00
|
|
|
<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>
|
2024-10-16 13:44:17 +00:00
|
|
|
<!-- Kolejne wiersze... -->
|
2024-10-16 09:11:17 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2024-10-16 13:44:17 +00:00
|
|
|
<!-- Zakładka "Kryteria oceny zachowania" -->
|
2024-10-16 09:14:17 +00:00
|
|
|
<div id="criteria" class="tab active">
|
2024-10-16 09:11:17 +00:00
|
|
|
<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>
|
2024-10-16 13:44:17 +00:00
|
|
|
<div>
|
|
|
|
<button onclick="showInnerTab('frekwencja-tab')">Frekwencja</button>
|
|
|
|
<button onclick="showInnerTab('olimpiady-tab')">Olimpiady</button>
|
|
|
|
<button onclick="showInnerTab('konkursy-tab')">Konkursy Szkolne</button>
|
|
|
|
<button onclick="showInnerTab('reprezentacja-tab')">Reprezentacja Szkoły</button>
|
|
|
|
<button onclick="showInnerTab('aktywnosc-tab')">Aktywność</button>
|
|
|
|
</div>
|
2024-10-16 10:42:08 +00:00
|
|
|
<div class="select-class">
|
2024-10-16 13:44:17 +00:00
|
|
|
<p>Wybierz klasę:</p>
|
|
|
|
|
|
|
|
<!-- Frekwencja -->
|
|
|
|
<div id="frekwencja-tab" class="tab active">
|
|
|
|
<h2>Frekwencja</h2>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Frekwencja 95-100%</th>
|
|
|
|
<th>Brak godzin nieusprawiedliwionych</th>
|
|
|
|
<th>Minimum 85% frekwencja</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Olimpiady Tab -->
|
|
|
|
<div id="olimpiady-tab" class="tab">
|
|
|
|
<h2>Olimpiady</h2>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Etap szkolny</th>
|
|
|
|
<th>Etap rejonowy</th>
|
|
|
|
<th>Etap wojewódzki</th>
|
|
|
|
<th>Etap ogólnopolski</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Zakładka Konkursy -->
|
|
|
|
<div id="konkursy-tab" class="tab">
|
|
|
|
<h2>Konkursy Szkolne</h2>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Udział w konkursach</th>
|
|
|
|
<th>Wyróżnienie w konkursie</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Zakładka Reprezentacja -->
|
|
|
|
<div id="reprezentacja-tab" class="tab">
|
|
|
|
<h2>Reprezentacja Szkoły</h2>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Reprezentacja indywidualna</th>
|
|
|
|
<th>Reprezentacja zespołowa</th>
|
|
|
|
<th>Udział w zawodach</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Zakładka Aktywność -->
|
|
|
|
<div id="aktywnosc-tab" class="tab">
|
|
|
|
<h2>Aktywność</h2>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<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>
|
|
|
|
<tr>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
<td>...</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2024-10-16 10:42:08 +00:00
|
|
|
</div>
|
2024-10-16 09:11:17 +00:00
|
|
|
</div>
|
|
|
|
|
2024-10-16 13:44:17 +00:00
|
|
|
<!-- Zakładka "Statystyka" -->
|
2024-10-16 09:11:17 +00:00
|
|
|
<div id="stats" class="tab">
|
|
|
|
<h2>Statystyka dla wszystkich dni</h2>
|
|
|
|
<div id="stats"></div>
|
2024-10-16 08:40:14 +00:00
|
|
|
</div>
|
|
|
|
|
2024-10-16 10:18:43 +00:00
|
|
|
<footer style="margin: 20px">
|
2024-10-16 13:44:17 +00:00
|
|
|
K. Michalak </br>
|
|
|
|
F. Kowalski </br>
|
2024-10-16 10:47:23 +00:00
|
|
|
Led and Authored by M. Pabiszczak
|
2024-10-16 10:18:43 +00:00
|
|
|
</footer>
|
|
|
|
|
2024-10-16 13:44:17 +00:00
|
|
|
<script>
|
|
|
|
// Funkcja do przełączania głównych zakładek
|
|
|
|
function showTab(tabId) {
|
|
|
|
// Ukryj wszystkie główne taby
|
|
|
|
const tabs = document.querySelectorAll('.tab');
|
|
|
|
tabs.forEach(tab => tab.classList.remove('active'));
|
|
|
|
|
|
|
|
// Pokaż wybrany tab
|
|
|
|
document.getElementById(tabId).classList.add('active');
|
|
|
|
}
|
|
|
|
|
|
|
|
// Funkcja do przełączania wewnętrznych zakładek (Frekwencja, Olimpiady, itp.)
|
|
|
|
function showInnerTab(innerTabId) {
|
|
|
|
// Ukryj wszystkie wewnętrzne zakładki
|
|
|
|
const innerTabs = document.querySelectorAll('#criteria .tab');
|
|
|
|
innerTabs.forEach(innerTab => innerTab.classList.remove('active'));
|
2024-10-16 09:11:17 +00:00
|
|
|
|
2024-10-16 13:44:17 +00:00
|
|
|
// Pokaż wybrany wewnętrzny tab
|
|
|
|
document.getElementById(innerTabId).classList.add('active');
|
|
|
|
}
|
2024-10-16 09:11:17 +00:00
|
|
|
|
2024-10-16 13:44:17 +00:00
|
|
|
// Funkcja, aby ustawić domyślną zakładkę
|
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
|
|
showInnerTab('frekwencja-tab'); // Pokaż domyślnie zakładkę Frekwencja
|
|
|
|
});
|
|
|
|
</script>
|
2024-10-16 09:11:17 +00:00
|
|
|
|
2024-10-16 08:40:14 +00:00
|
|
|
</body>
|
|
|
|
</html>
|