Added lastUpdate to softwares/uploaders/schemas

This commit is contained in:
AnthorNet committed 2015-05-07 22:40:31 +02:00
1 parent d5cb8e4815
commit b4aa9458f7
2 files changed
+30

No files matched your search

+24
View File
@@ -250,6 +250,14 @@
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-8">
<p class="text-muted small">
Last updated: <strong><span class="update_timestamp">N/A</span></strong>.
</p>
</div>
</div>
</div>
</div>
</div>
@@ -289,6 +297,14 @@
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-8">
<p class="text-muted small">
Last updated: <strong><span class="update_timestamp">N/A</span></strong>.
</p>
</div>
</div>
</div>
</div>
</div>
@@ -328,6 +344,14 @@
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-8">
<p class="text-muted small">
Last updated: <strong><span class="update_timestamp">N/A</span></strong>.
</p>
</div>
</div>
</div>
</div>
</div>
+6
View File
@@ -106,6 +106,8 @@ var doUpdateSoftwares = function()
if ($(this).html() == "0")
$(this).addClass("warning");
});
$('#softwares').find(".update_timestamp").html(d.toString("yyyy-MM-dd HH:mm:ss"));
}
});
}
@@ -165,6 +167,8 @@ var doUpdateUploaders = function()
if ($(this).html() == "0")
$(this).addClass("warning");
});
$('#uploaders').find(".update_timestamp").html(d.toString("yyyy-MM-dd HH:mm:ss"));
}
});
}
@@ -224,6 +228,8 @@ var doUpdateSchemas = function()
if ($(this).html() == "0")
$(this).addClass("warning");
});
$('#schemas').find(".update_timestamp").html(d.toString("yyyy-MM-dd HH:mm:ss"));
}
});
}