Mercurial > hg > webaudioevaluationtool
changeset 2769:62ad83c6a403
Merge branch 'master' into Dev_main
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 21 Apr 2017 11:22:28 +0100 |
parents | 789ce0944e4d (diff) 9d31ddedae2b (current diff) |
children | 1f9773f8a49b |
files | |
diffstat | 3 files changed, 19 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/interfaces/AB.css Fri Apr 21 11:21:51 2017 +0100 +++ b/interfaces/AB.css Fri Apr 21 11:22:28 2017 +0100 @@ -2,6 +2,10 @@ /* Set the background colour (note US English spelling) to grey*/ background-color: #fff } +div#feedbackHolder { + display: flex; + flex-direction: column; +} div.pageTitle { width: auto; height: 20px; @@ -34,13 +38,25 @@ position: inherit; margin: 0px 5px; } +div#box-holders { + width: 100%; + display: flex; + flex-direction: row; + justify-content: center; + flex-wrap: wrap; +} +div#playback-holder{ + float:none; +} div.comparator-holder { width: 260px; height: 300px; border: black 1px solid; - float: left; padding-top: 5px; margin: 25px; + display: flex; + flex-direction: column; + align-items: center; } div.comparator-selector { width: 248px; @@ -49,6 +65,7 @@ position: relative; background-color: #FF0000; border-radius: 20px; + text-align: center; } div.disabled { background-color: #AAA;
--- a/interfaces/AB.js Fri Apr 21 11:21:51 2017 +0100 +++ b/interfaces/AB.js Fri Apr 21 11:22:28 2017 +0100 @@ -73,9 +73,7 @@ // Construct the AB Boxes var boxes = document.createElement('div'); - boxes.align = "center"; boxes.id = "box-holders"; - boxes.style.float = "left"; var submit = document.createElement('button'); submit.id = "submit"; @@ -375,9 +373,6 @@ boxW = numObj * 312; diff = window.innerWidth - boxW; } - document.getElementById('box-holders').style.marginLeft = diff / 2 + 'px'; - document.getElementById('box-holders').style.marginRight = diff / 2 + 'px'; - document.getElementById('box-holders').style.width = boxW + 'px'; var outsideRef = document.getElementById('outside-reference'); if (outsideRef !== null) {
--- a/xml/test-schema.xsd Fri Apr 21 11:21:51 2017 +0100 +++ b/xml/test-schema.xsd Fri Apr 21 11:22:28 2017 +0100 @@ -451,7 +451,7 @@ <xs:element name="survey"> <xs:complexType> - <xs:choice maxOccurs="unbounded"> + <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:element name="surveyentry" maxOccurs="unbounded"> <xs:complexType> <xs:sequence>