Added action display
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ h1 {
|
||||
height: 60%;
|
||||
left: 35%;
|
||||
padding: 8pt;
|
||||
position: absolute;
|
||||
position: absolute; /*Should probably be 'fixed' instead*/
|
||||
top: -70%;
|
||||
width: 30%;
|
||||
z-index: 201;
|
||||
|
||||
Reference in New Issue
Block a user