Add faction rank management CEF

This commit is contained in:
hydrant
2018-09-23 22:30:42 +02:00
parent 06715d7df4
commit e8201d9665
8 changed files with 86 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
<!--
* @overview Life of German Reallife - Client Save.html
* @author hydrant
* @copyright (c) 2008 - 2018 Life of German
*-->
<!DOCTYPE html>
<html lang="de" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<table id="rank-table">
<tr><td>some</td><td>entry</td></tr>
</table>
<script src="../../Dependences/jquery-3.3.1.min.js"></script>
<script src="../../Dependences/jquery.tablednd.0.8.min.js"></script>
<script>
$(document).ready(function () {
mp.trigger("onManageFactionRanksLoaded");
});
function loadData(rankData) {
var obj = JSON.parse(rankData);
obj.forEach(function (rank) {
$("table#rank-table").append(rank);
});
}
</script>
</body>
</html>

View File

@@ -0,0 +1 @@


View File

@@ -0,0 +1,3 @@
body
{
}