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;
|
2024-10-18 11:35:03 +00:00
|
|
|
background-color: lightgray; /* Kolor tła nagłówka */
|
2024-10-18 10:15:36 +00:00
|
|
|
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>
|
2024-10-18 12:56:26 +00:00
|
|
|
<body class="dark-background">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-18 12:03:11 +00:00
|
|
|
<header class="header-box">
|
2024-10-18 12:56:26 +00:00
|
|
|
<div class="up-button">
|
|
|
|
<button class="active" onclick="showTab('criteria')">Ocena z zachowania</button>
|
|
|
|
<button class="active" onclick="showTab('stats')">Statystyka</button>
|
|
|
|
<button class="active" onclick="showTab('points')">Ustal punkty</button>
|
|
|
|
</div>
|
|
|
|
<h1 id="header-title" class="header-title">Ocena Zachowania</h1>
|
|
|
|
</header>
|
2024-10-18 12:03:11 +00:00
|
|
|
<div id="up-button-container" class="up-button" class="sa">
|
2024-10-18 12:56:26 +00:00
|
|
|
<button class="active" onclick="changeDay(-1)">Poprzedni Dzień</button>
|
|
|
|
<button class="active" onclick="changeDay(1)">Następny Dzień</button>
|
|
|
|
</div>
|
2024-10-16 09:11:17 +00:00
|
|
|
|
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-18 12:56:26 +00:00
|
|
|
<!-- Zakładka "Kryteria oceny zachowania" -->
|
|
|
|
<div id="criteria" class="tab active">
|
|
|
|
<h2>Kryteria oceny zachowania - <span id="current-date"></span></h2>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="select-role">
|
|
|
|
<p>Wybierz role:</p>
|
|
|
|
<select id="select-role" class="select-role">
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="select-class" id="select-class-container">
|
|
|
|
<p>Wybierz klasę:</p>
|
|
|
|
<select class="select-class" id="select-class-select">
|
|
|
|
<!-- Opcje będą ładowane dynamicznie -->
|
|
|
|
</select>
|
|
|
|
</div>
|
2024-10-17 10:47:01 +00:00
|
|
|
|
2024-10-18 12:56:26 +00:00
|
|
|
<div class="category-buttons" id="category-buttons-box">
|
|
|
|
<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>
|
2024-10-17 12:15:45 +00:00
|
|
|
|
|
|
|
<!-- 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-18 11:35:03 +00:00
|
|
|
|
2024-10-17 12:39:47 +00:00
|
|
|
<hr class="footer-line">
|
2024-10-18 11:35:03 +00:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="footer-left">
|
|
|
|
<p>B. Hrynowiecki</p>
|
|
|
|
<p>K. Michalak</p>
|
|
|
|
<p>F. Kowalski</p>
|
|
|
|
<p>S. Ptak</p>
|
2024-10-18 12:56:26 +00:00
|
|
|
<p>M. Marszalik</p>
|
|
|
|
<P>T. Zadworny</P>
|
2024-10-18 11:35:03 +00:00
|
|
|
</div>
|
|
|
|
<div class="footer-right">
|
|
|
|
<p>M. Pabiszczak</p>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2024-10-16 10:18:43 +00:00
|
|
|
|
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>
|