diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-01 12:50:13 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-01 12:50:13 +0200 |
| commit | d1b6c589cef0c8957d8b2e3522106e30035bab97 (patch) | |
| tree | a481be9fec786f42cce2976516a02a99db739fec /index.html | |
| parent | c2e1a991820a880907b6da2da7210c27bf608613 (diff) | |
| download | bridge-d1b6c589cef0c8957d8b2e3522106e30035bab97.tar.gz bridge-d1b6c589cef0c8957d8b2e3522106e30035bab97.zip | |
dashboard: show lmcd and more
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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( $("<li>") - .text(name + ": found") + .text(name + " (" + player.region + ")" + ": " + + "found in " + player.source + ", " + + "last update " + player.last_update + ) .css("color", "green") ); client.subscribe("/topic/" + name, (msg) => { |
