diff --git a/application/static/render.js b/application/static/render.js index 5b7ed6c..2f8cdbf 100644 --- a/application/static/render.js +++ b/application/static/render.js @@ -1,6 +1,12 @@ function clearMiddle(){ - ml.innerHTML = "" - mr.innerHTML = "" + string = ` +
+
+
+
` + document.getElementById("main").innerHTML = string; + ml = document.getElementById('middle-left'); + mr = document.getElementById('middle-right'); } function renderValidate(){ @@ -18,7 +24,10 @@ function renderValidate(){ function renderChange(){ clearMiddle() $("#middle-right").removeClass("border-danger").removeClass("border-success") - console.log("change") + string = ` + + ` + document.getElementById("main").innerHTML = string; } function renderEnrole(){ diff --git a/application/templates/index.html b/application/templates/index.html index ad19eac..8a5da34 100644 --- a/application/templates/index.html +++ b/application/templates/index.html @@ -34,21 +34,16 @@