2024-10-16 08:40:14 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="pl">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Ocena Zachowania</title>
|
2024-10-16 09:16:38 +00:00
|
|
|
<link rel="stylesheet" href="css/style.css">
|
2024-10-18 10:15:36 +00:00
|
|
|
<style>
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
background-color: beige; /* Kolor tła nagłówka */
|
|
|
|
z-index: 10; /* Zapewnia, że nagłówek będzie nad innymi elementami */
|
|
|
|
border: 1px solid #ddd; /* Opcjonalnie: Dodanie obramowania */
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
</style>
|
2024-10-16 08:40:14 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-10-18 10:15:36 +00:00
|
|
|
|
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>
|
2024-10-17 12:24:08 +00:00
|
|
|
<!-- Wiersze dla wszystkich kryteriów -->
|
2024-10-16 09:11:17 +00:00
|
|
|
<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>
|
2024-10-17 12:24:08 +00:00
|
|
|
<td><input type="number" id="brak_godzin-punkty" value="20" onchange="calculateStats()"></td>
|
2024-10-16 09:11:17 +00:00
|
|
|
</tr>
|
2024-10-17 12:39:47 +00:00
|
|
|
<!-- Dodaj pozostałe wiersze kryteriów tutaj -->
|
2024-10-16 09:11:17 +00:00
|
|
|
<tr>
|
|
|
|
<td>Minimum 85% frekwencja</td>
|
2024-10-17 12:24:08 +00:00
|
|
|
<td><input type="number" id="min_85-punkty" value="20" onchange="calculateStats()"></td>
|
2024-10-16 09:11:17 +00:00
|
|
|
</tr>
|
2024-10-17 10:47:01 +00:00
|
|
|
<tr>
|
|
|
|
<td>Etap szkolny</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="etap_szkolny-punkty" value="5" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Etap rejonowy</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="etap_rejonowy-punkty" value="10" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Etap wojewódzki</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="etap_wojewodzki-punkty" value="15" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Etap ogólnopolski</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="etap_ogolnopolski-punkty" value="20" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Udział w konkursach</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="udzial_konkurs-punkty" value="5" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Wyróżnienie w konkursie</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="wyroznienie_konkurs-punkty" value="10" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Reprezentacja indywidualna</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="reprezentacja_indywidualna-punkty" value="5" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Reprezentacja zespołowa</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="reprezentacja_zespolowa-punkty" value="10" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Udział w zawodach</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="udzial_zawody-punkty" value="15" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Organizacja imprez</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="organizacja_imprez-punkty" value="10" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Funkcje w klasie</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="funkcja_klasa-punkty" value="10" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Uroczystości okolicznościowe</td>
|
|
|
|
<td><input type="number" id="uroczystosci-punkty" value="10" onchange="calculateStats()"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Udział w poczcie sztandarowej</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="poczta_sztandar-punkty" value="20" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Pomoc nauczycielowi</td>
|
2024-10-17 12:14:38 +00:00
|
|
|
<td><input type="number" id="pomoc_nauczyciel-punkty" value="10" onchange="calculateStats()"></td>
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Wolontariat</td>
|
|
|
|
<td><input type="number" id="wolontariat-punkty" value="10" onchange="calculateStats()"></td>
|
|
|
|
</tr>
|
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
|
|
|
|
2024-10-18 08:30:42 +00:00
|
|
|
<div class="select-role">
|
|
|
|
<p>Wybierz role:</p>
|
|
|
|
<select id="select-role" class="select-role">
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2024-10-17 10:47:01 +00:00
|
|
|
<div class="select-class" id="select-class-container">
|
|
|
|
<p>Wybierz klasę:</p>
|
|
|
|
<select class="select-class" id="select-class-select">
|
2024-10-17 12:15:45 +00:00
|
|
|
<!-- Opcje będą ładowane dynamicznie -->
|
2024-10-17 10:47:01 +00:00
|
|
|
</select>
|
2024-10-16 10:42:08 +00:00
|
|
|
</div>
|
2024-10-17 10:47:01 +00:00
|
|
|
|
2024-10-18 10:01:25 +00:00
|
|
|
<div class="category-buttons" id="category-buttons-box">
|
2024-10-17 12:15:45 +00:00
|
|
|
<button data-category="frekwencja" onclick="showInnerTab('frekwencja')">Frekwencja</button>
|
|
|
|
<button data-category="olimpiady" onclick="showInnerTab('olimpiady')">Olimpiady</button>
|
|
|
|
<button data-category="konkursy" onclick="showInnerTab('konkursy')">Konkursy Szkolne</button>
|
|
|
|
<button data-category="reprezentacja" onclick="showInnerTab('reprezentacja')">Reprezentacja Szkoły</button>
|
|
|
|
<button data-category="aktywnosc" onclick="showInnerTab('aktywnosc')">Aktywność</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Tabela uczniów -->
|
2024-10-17 10:47:01 +00:00
|
|
|
<table id="student-table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2024-10-17 12:14:38 +00:00
|
|
|
<th>Imię i Nazwisko</th>
|
|
|
|
<!-- Dynamiczne kolumny będą generowane przez JavaScript -->
|
2024-10-17 10:47:01 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-10-17 12:14:38 +00:00
|
|
|
<!-- Wiersze uczniów będą generowane przez JavaScript -->
|
2024-10-17 10:47:01 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
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>
|
2024-10-17 10:47:01 +00:00
|
|
|
<div id="stats-output"></div>
|
2024-10-16 08:40:14 +00:00
|
|
|
</div>
|
|
|
|
|
2024-10-17 12:39:47 +00:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="footer-left">
|
|
|
|
<p>B. Hrynowiecki</p>
|
|
|
|
<p>K. Michalak</p>
|
|
|
|
<p>F. Kowalski</p>
|
|
|
|
</div>
|
|
|
|
<hr class="footer-line">
|
|
|
|
<div class="footer-right">
|
2024-10-18 10:33:59 +00:00
|
|
|
<p>M. Pabiszczak</p>
|
2024-10-17 12:39:47 +00:00
|
|
|
</div>
|
2024-10-16 10:18:43 +00:00
|
|
|
</footer>
|
|
|
|
|
2024-10-17 10:47:01 +00:00
|
|
|
<!-- Przeniesienie skryptu na koniec body -->
|
|
|
|
<script src="js/script.js"></script>
|
2024-10-16 09:11:17 +00:00
|
|
|
|
2024-10-16 08:40:14 +00:00
|
|
|
</body>
|
|
|
|
</html>
|