aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-info-box.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-28 18:55:44 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-28 18:55:44 +0200
commit1838a33016807e6a5403d5a893056929fa435971 (patch)
tree7a163e67739c5e34ec9cc8c3967c18b435137d40 /web/js/nms-info-box.js
parente9ca10ec32c7cd7054550b3b56e723d1d1fdd4a6 (diff)
front: Tweak logbook and info-box styles and feel
- Don't overload the logbook overlay - Neater date formatting (ugh, I hate that we need to do this) - Caption for the logbook in the info box
Diffstat (limited to 'web/js/nms-info-box.js')
-rw-r--r--web/js/nms-info-box.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/nms-info-box.js b/web/js/nms-info-box.js
index 37332a0..1a4ab4f 100644
--- a/web/js/nms-info-box.js
+++ b/web/js/nms-info-box.js
@@ -832,6 +832,9 @@ var switchCommentsPanel = function () {
table.className = "table";
table.classList.add("table");
table.classList.add("table-condensed");
+ var cap = document.createElement("caption");
+ cap.textContent = "Relevant log entries";
+ table.appendChild(cap);
for (var v in logs) {
tr = table.insertRow(-1);
tr.className =