From 392ad3284d9e686ee49b51565490d665ca7e4284 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sat, 28 May 2016 03:20:27 +0200 Subject: front: More visual tweaks and tuneups - Time in oplog is now localtime and properly padded (00:10, not 0:10) - Health map instead of combo/aggregated - Tweak the menu slightly - Rotate and resize the random switch in guess_placement --- web/js/nms-info-box.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/js/nms-info-box.js') diff --git a/web/js/nms-info-box.js b/web/js/nms-info-box.js index 772f711..cd5594e 100644 --- a/web/js/nms-info-box.js +++ b/web/js/nms-info-box.js @@ -837,7 +837,8 @@ var switchCommentsPanel = function () { tr.className = td1 = tr.insertCell(0); td2 = tr.insertCell(1); - td1.textContent = logs[v]['timestamp']; + var date = new Date(logs[v]['timestamp']); + td1.textContent = date.toString(); td2.textContent = "[" + logs[v]['username'] + "] " + logs[v]['log']; } domObj.appendChild(table); -- cgit v1.2.3