Changed whole project structure (split client and server into separat projects)
This commit is contained in:
40
ReallifeGamemode.Client/Gui/playerlist.html
Normal file
40
ReallifeGamemode.Client/Gui/playerlist.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!--
|
||||
* @overview Life of German Reallife - Client Gui playerlist.html
|
||||
* @author VegaZ
|
||||
* @copyright (c) 2008 - 2018 Life of German
|
||||
*-->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<script src="playerlist.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="playerlist">
|
||||
<div id="testDiv"></div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><center>ID</center></th>
|
||||
<th>Name</th>
|
||||
<th><center>Ping</center></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="playerData"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script src="jquery-3.3.1.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
//var table;
|
||||
for (var player in pList) {
|
||||
$("#playerData").append("<tr><td>" + player.Id + "</td><td>" + player.Name + "</td><td>" + player.Ping + "</td></tr>");
|
||||
//table =+ tableRow;
|
||||
}
|
||||
//document.getElementById("testDiv").innerHTML = table;
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user