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>
|
111
public/uwagi.html
Normal file → Executable file
111
public/uwagi.html
Normal file → Executable file
@ -1,68 +1,59 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
||||||
<title>BezVulcan</title>
|
<title>BezVulcan</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="menu.css">
|
<link rel="stylesheet" href="menu.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script>
|
<script type="text/JavaScript" src=https://backend.kill3rs4.usermd.net/uwagi.php"/>
|
||||||
function showUser(str) {
|
<script src="showMenu.js"></script>
|
||||||
if (str == "") {
|
<script src="logout.js"></script>
|
||||||
document.getElementById("txtHint").innerHTML = "";
|
<div id="menu" class="menu">
|
||||||
return;
|
<button type="button" id="show-menu" class="show-menu" onclick="showMenu();">
|
||||||
} else {
|
<i class="menu-bar menu-bar-1"></i>
|
||||||
var xmlhttp = new XMLHttpRequest();
|
<i class="menu-bar menu-bar-2"></i>
|
||||||
xmlhttp.onreadystatechange = function() {
|
<i class="menu-bar menu-bar-3"></i>
|
||||||
if (this.readyState == 4 && this.status == 200) {
|
</button>
|
||||||
document.getElementById("txtHint").innerHTML = this.responseText;
|
<div>
|
||||||
|
<h3>Menu</h3>
|
||||||
|
<ul>
|
||||||
|
<li><a href="komunikat">Komunikaty</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>
|
||||||
|
<li><a href="testy">Sprawdziany, kartkówki</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
}
|
<div style="margin: auto;width: 60%;">
|
||||||
};
|
<div class="alert alert-success alert-dismissible" id="success" style="display:none;">
|
||||||
xmlhttp.open("GET","https://backend.kill3rs4.usermd.net/uwagi.php?q="+str,true);
|
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
||||||
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>
|
||||||
</div>
|
<form id="fupForm" name="form1" method="get">
|
||||||
<center>
|
<div class="form-group" >
|
||||||
<select name="users" onchange="showUser(this.value)">
|
<label for="pwd">Uczeń:</label>
|
||||||
<option value="">Wybierz uczniów z klasy:</option>
|
<select name="text">
|
||||||
<option value="1">1a</option>
|
</select>
|
||||||
<option value="2">1b</option>
|
</div>
|
||||||
<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>
|
<div class="form-group">
|
||||||
</form>
|
<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">
|
||||||
|
|
||||||
</center>
|
</form>
|
||||||
</body>
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user