From d1b6c589cef0c8957d8b2e3522106e30035bab97 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 1 Apr 2017 12:50:13 +0200 Subject: dashboard: show lmcd and more --- index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d3e66aa..13cd1f3 100644 --- a/index.html +++ b/index.html @@ -33,10 +33,13 @@ }); $("#update-form").submit(function(e) { let name = $("input:first").val(); - $.get("/api/player/name/" + name).done(function() { + $.get("/api/player/name/" + name).done(function(player) { $("#updates").append( $("
  • ") - .text(name + ": found") + .text(name + " (" + player.region + ")" + ": " + + "found in " + player.source + ", " + + "last update " + player.last_update + ) .css("color", "green") ); client.subscribe("/topic/" + name, (msg) => { -- cgit v1.3.1