diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 590be00..ce225ba 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -10,6 +10,9 @@
+
+ Current user: +
diff --git a/src/main/resources/static/map.js b/src/main/resources/static/map.js index 2f2b686..66639d1 100644 --- a/src/main/resources/static/map.js +++ b/src/main/resources/static/map.js @@ -1,4 +1,10 @@ -var userName = "swhite"; // Currently hardcoded +$.getJSON("/user", function(data) { + $.each( data, function() { + $('#select-user').append($('