Mercurial > hg > webaudioevaluationtool
changeset 325:d8fd1699f6de Dev_main
stash. test_create question now shows box size options.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 13 Oct 2015 10:20:04 +0100 |
parents | 25c16110d0fa |
children | 20325b53f543 |
files | test_create/test_create.html |
diffstat | 1 files changed, 28 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test_create/test_create.html Fri Oct 09 10:38:03 2015 +0100 +++ b/test_create/test_create.html Tue Oct 13 10:20:04 2015 +0100 @@ -29,6 +29,7 @@ popupInstance = new popup(); popupInstance.advanceState(); specificationNode = new Specification(); + specificationNode.projectReturn = "null"; }; function popup() @@ -1490,7 +1491,7 @@ this.node = null; this.previousState = 7; }; - popupInstace.state = 6; + popupInstance.state = 6; popupInstance.advanceState(); }; entry.appendChild(addPost); @@ -2192,6 +2193,7 @@ text.textContent = "Question"; input = document.createElement("input"); input.name = "question"; + input.style.width = "400px"; input.value = node.question; text.style.margin = "5px"; input.style.margin = "5px"; @@ -2207,6 +2209,31 @@ input.style.margin = "5px"; attributes.appendChild(text); attributes.appendChild(input); + text = document.createElement("span"); + text.textContent = "Reply box size"; + input = document.createElement("select"); + input.name = "boxsize"; + var option = document.createElement("option"); + option.textContent = "Normal"; + option.value = "normal"; + input.appendChild(option); + option = document.createElement("option"); + option.textContent = "Large"; + option.value = "large"; + input.appendChild(option); + option = document.createElement("option"); + option.textContent = "Small"; + option.value = "small"; + input.appendChild(option); + option = document.createElement("option"); + option.textContent = "Huge"; + option.value = "huge"; + input.appendChild(option); + text.style.margin = "5px"; + input.style.margin = "5px"; + attributes.appendChild(text); + attributes.appendChild(input); + input.value = node.boxsize; break; } return holder;