DziennikOcen/public/uwagi.html
2022-01-31 22:23:46 +01:00

69 lines
1.8 KiB
HTML

<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<title>BezVulcan</title>
<meta charset="utf-8">
<link rel="stylesheet" href="menu.css">
</head>
<body>
<script>
function showUser(str) {
if (str == "") {
document.getElementById("txtHint").innerHTML = "";
return;
} else {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("txtHint").innerHTML = this.responseText;
}
};
xmlhttp.open("GET","https://backend.kill3rs4.usermd.net/uwagi.php?q="+str,true);
xmlhttp.send();
}
}
</script>
<script src="plan.js"></script>
<script src="showMenu.js"></script>
<script src="logout.js"></script>
<div id="menu" class="menu">
<button type="button" id="show-menu" class="show-menu" onclick="showMenu();">
<i class="menu-bar menu-bar-1"></i>
<i class="menu-bar menu-bar-2"></i>
<i class="menu-bar menu-bar-3"></i>
</button>
<div>
<h3>Menu</h3>
<ul>
<li><a href="komunikat">Komunikaty</a></li>
<li><a href="home">Strona Główna</a></li>
<li><a href="oceny">Oceny</a></li>
<li><a href="wychowawca">Wychowawca</a></li>
<li><a href="uwagi">Uwagi ucznia</a></li>
<li><a href="testy">Sprawdziany, kartkówki</a></li>
</ul>
</div>
</div>
<center>
<select name="users" onchange="showUser(this.value)">
<option value="">Wybierz uczniów z klasy:</option>
<option value="1">1a</option>
<option value="2">1b</option>
<option value="3">1c</option>
<option value="4">2a</option>
<option value="5">2b</option>
<option value="6">2c</option>
<option value="7">3a</option>
<option value="8">3b</option>
<option value="9">3c</option>
</select>
</form>
</center>
</body>
</html>