some changes about uwagi
This commit is contained in:
parent
f2b0c70649
commit
083e6d6364
0
public/tabela.html
Normal file
0
public/tabela.html
Normal file
68
public/uwagi.backup
Normal file
68
public/uwagi.backup
Normal file
@ -0,0 +1,68 @@
|
||||
<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>
|
59
public/uwagi.html
Normal file → Executable file
59
public/uwagi.html
Normal file → Executable file
@ -7,25 +7,7 @@
|
||||
</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 type="text/JavaScript" src=https://backend.kill3rs4.usermd.net/uwagi.php"/>
|
||||
<script src="showMenu.js"></script>
|
||||
<script src="logout.js"></script>
|
||||
<div id="menu" class="menu">
|
||||
@ -34,12 +16,11 @@ function showUser(str) {
|
||||
<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="plan">Plan lekcji</a></li>
|
||||
<li><a href="oceny">Oceny</a></li>
|
||||
<li><a href="wychowawca">Wychowawca</a></li>
|
||||
<li><a href="uwagi">Uwagi ucznia</a></li>
|
||||
@ -47,22 +28,32 @@ function showUser(str) {
|
||||
</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>
|
||||
|
||||
<div style="margin: auto;width: 60%;">
|
||||
<div class="alert alert-success alert-dismissible" id="success" style="display:none;">
|
||||
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
||||
</div>
|
||||
<form id="fupForm" name="form1" method="get">
|
||||
<div class="form-group" >
|
||||
<label for="pwd">Uczeń:</label>
|
||||
<select name="text">
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="pwd">Treść uwagi/pochwały:</label>
|
||||
<input type="text" class="form-control" id="name" placeholder="Treść" name="tresc">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pwd">Ilość punktów:</label>
|
||||
<input type="text" class="form-control" id="phone" placeholder="Punkty" name="punkty">
|
||||
</div>
|
||||
<input type="button" name="save" class="btn btn-primary" value="Dodaj" id="butsave">
|
||||
|
||||
</form>
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user