|
|
|
@ -41,6 +41,10 @@ $(document).ready(function() {
|
|
|
|
|
var newElement = '<div class="event" card-id="' + eventHistory[i].cardID + '">\
|
|
|
|
|
<div class="time">' + dateString + '</div>\
|
|
|
|
|
<div class="name">';
|
|
|
|
|
if (eventHistory[i].action == "fridge")
|
|
|
|
|
newElement += '<i class="fa fa-snowflake-o"></i>';
|
|
|
|
|
else if (eventHistory[i].action == "tools")
|
|
|
|
|
newElement += '<i class="fa fa-wrench"></i>';
|
|
|
|
|
if (eventHistory[i].name == "")
|
|
|
|
|
newElement += '<span class="unknown_card">' + eventHistory[i].cardID + '</span>';
|
|
|
|
|
else
|
|
|
|
|