aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-oplog.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2019-01-11 22:18:33 +0100
committerKristian Lyngstol <kly@kly.no>2019-01-11 22:18:33 +0100
commite5db805157b2c7118ddfd3916e0427b2156e6e49 (patch)
treebdf57012c0e8224cdeb2467969e89b6fc348158e /web/js/nms-oplog.js
parenta4919da3a91236131f7b4e084761ff6a5f73b94f (diff)
Move the info summary in the info-box into nmsBox-logic
Also some other random drive-by fixes :D Fixes #180 References #181
Diffstat (limited to 'web/js/nms-oplog.js')
-rw-r--r--web/js/nms-oplog.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/js/nms-oplog.js b/web/js/nms-oplog.js
index 42452ff..33b2c00 100644
--- a/web/js/nms-oplog.js
+++ b/web/js/nms-oplog.js
@@ -65,12 +65,8 @@ class nmsOplogInput extends nmsBox {
this.nmsBox.searchbox.oninput();
}
this.add(this._systems)
- // This is to provide spacing.... should probably be solved in CSS.
- // If this annoys you, then fix it.
- this.add(new nmsBox("p",{html:{textContent:" ",style:{display: "inline"}}}))
this._entry = new nmsBox("input", {html:{className:"form-control",type:"text",size:"30",placeholder:"Log entry"}});
this.add(this._entry)
- this.add(new nmsBox("p",{html:{textContent:" ",style:{display: "inline"}}}))
var button = new nmsBox("button",{html:{className:"btn btn-default",type:"button"}});
button.html.textContent = "Log";
button.container = this;