diff --git a/www/aw.js b/www/aw.js index 871ec0f..e64036e 100644 --- a/www/aw.js +++ b/www/aw.js @@ -10,13 +10,13 @@ urlParam = function(name){ } populateTrackerInfo = function(json) { - $("#tracker").html(` - - - - -
Type: `+json.tracker.type+`
URI: `+json.tracker.uri+`
User Name: `+json.tracker.user_name+`
- `); + $("#tracker-type").text(json.tracker.type); + + var tracker_uri = $("#tracker-uri"); + tracker_uri.attr("href", json.tracker.uri); + tracker_uri.text(json.tracker.uri); + + $("#tracker-user-name").text(json.tracker.user_name); } populateNotes = function(json) { diff --git a/www/index.html b/www/index.html index d436567..7913404 100644 --- a/www/index.html +++ b/www/index.html @@ -13,7 +13,13 @@

Tracker

-
+
+ + + + +
Type:
URI:
User Name:
+