diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-28 03:20:27 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-28 03:20:27 +0200 |
commit | 392ad3284d9e686ee49b51565490d665ca7e4284 (patch) | |
tree | 11ee393eb179cbd62b77c29936d1983e53ec7982 /web/js/nms-info-box.js | |
parent | 6cab3bad114fd0806fd1d3feb562a53138c91708 (diff) |
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
Diffstat (limited to 'web/js/nms-info-box.js')
-rw-r--r-- | web/js/nms-info-box.js | 3 |
1 files changed, 2 insertions, 1 deletions
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); |