c9889f0792
CHANGELOG: -webfront now displays player info and link to repz account -webfront shows ips for authed admin ( determined by ip ) -webfront now show chat and allows authed players to send ingame messages -webfront now has public ban list http://127.0.0.1/?pubbans -webfront now shows player history -fixed time span issue in webfront -fixed most recent ban always missing -fixed crash when RCON stops responding and removing a player -version on footer
29 lines
865 B
HTML
29 lines
865 B
HTML
<div id="footer">IW4M Admin v{{VERSION}} — <a href="http://raidmax.org/IW4MAdmin">RaidMax.org</a></div>
|
|
<script>
|
|
$('a').each(function () {
|
|
this.href = this.href.replace('userip', userip);
|
|
});
|
|
</script>
|
|
<script>
|
|
$(function () {
|
|
$("#history_dialog").dialog({
|
|
autoOpen: false,
|
|
modal: true,
|
|
width: 1000,
|
|
height: 350,
|
|
buttons: {
|
|
"Dismiss": function () {
|
|
$(this).dialog("close");
|
|
}
|
|
}
|
|
});
|
|
$("a.history").on("click", function (e) {
|
|
e.preventDefault();
|
|
$("#history_dialog").html("");
|
|
$("#history_dialog").dialog("option", "title", "Player History").dialog("open");
|
|
$("#history_dialog").load(this.href);
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |