aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2019-01-07 00:27:39 +0100
committerKristian Lyngstol <kly@kly.no>2019-01-07 00:27:39 +0100
commit445420be2917628ab94dc6b0324f7b0f57f19a19 (patch)
treef57d3dd6853ee59d431b6f566c9922d936b12db9 /web
parented9e8db8f953f3064c3e21d9da75c0802f21ab1b (diff)
Bad attempt at fixing the margins in the oplog-entry
Too late, need sleeeezpzpeepzor
Diffstat (limited to 'web')
-rw-r--r--web/js/nms-oplog.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/js/nms-oplog.js b/web/js/nms-oplog.js
index eb0fd28..0580d40 100644
--- a/web/js/nms-oplog.js
+++ b/web/js/nms-oplog.js
@@ -47,9 +47,9 @@ class nmsOplog2 {
}
class nmsOplogInput extends nmsBox {
constructor() {
- super("div",{html:{class: "navbar-form", classList:["navbar-form","navbar-right","gondul-is-private"]}})
- var systemParent = new nmsBox("div",{html:{class:"form-group",classList:["form-group"]}});
- this._systems = new nmsBox("input", {html:{class:"form-control",classList:["form-control"],type:"text",size:"8",placeholder:"System(s)"}});
+ super("div",{html:{className: "navbar-form", classList:["navbar-form","navbar-right","gondul-is-private"]}})
+ var systemParent = new nmsBox("div",{html:{className:"form-group",classList:["form-group"]}});
+ this._systems = new nmsBox("input", {html:{className:"form-control",classList:["form-control"],type:"text",size:"8",placeholder:"System(s)"}});
this._systems.searchbox = document.getElementById("searchbox")
this._systems.html.oninput = function(e) {
this.nmsBox.searchbox.value = this.value;
@@ -57,8 +57,8 @@ class nmsOplogInput extends nmsBox {
}
systemParent.add(this._systems)
this.add(systemParent)
- var entryParent = new nmsBox("div",{html:{class:"form-group",classList:["form-group"]}});
- this._entry = new nmsBox("input", {html:{class:"form-control",classList:["form-control"],type:"text",size:"30",placeholder:"Log entry"}});
+ var entryParent = new nmsBox("div",{html:{className:"form-group",classList:["form-group"]}});
+ this._entry = new nmsBox("input", {html:{className:"form-control",classList:["form-control"],type:"text",size:"30",placeholder:"Log entry"}});
entryParent.add(this._entry)
this.add(entryParent)
var button = new nmsBox("button",{html:{classList:["btn","btn-default"],type:"button"}});