0
css/bootstrap.min.css
vendored
Normal file → Executable file
0
css/bootstrap.min.css
vendored
Normal file → Executable file
25
css/style.css
Normal file → Executable file
25
css/style.css
Normal file → Executable file
@ -2,15 +2,28 @@ body {
|
|||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rotator {
|
#outside {
|
||||||
background: #dddddd;
|
|
||||||
width: 960px;
|
|
||||||
height: 627px;
|
|
||||||
overflow: hidden;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
z-index:10;
|
||||||
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#rotator {
|
||||||
|
background: #ffffff;
|
||||||
|
// 90vh is 90% of viewer height: http://stackoverflow.com/a/16837667/2152245
|
||||||
|
height:80vh;
|
||||||
|
width:auto;
|
||||||
|
//overflow: hidden;
|
||||||
|
cursor: pointer;
|
||||||
|
z-index:0;
|
||||||
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
|
top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rotator img {
|
#rotator img {
|
||||||
display: block;
|
display: block;
|
||||||
|
max-height:80vh;
|
||||||
|
width:auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
0
views/base.html.twig
Normal file → Executable file
0
views/base.html.twig
Normal file → Executable file
6
views/change.html.twig
Normal file → Executable file
6
views/change.html.twig
Normal file → Executable file
@ -2,15 +2,19 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<h1>Change blindness test (step {{ step_count }} of 3)</h1>
|
<h1>Change blindness test (step {{ step_count }} of {{ step_total }})</h1>
|
||||||
</header>
|
</header>
|
||||||
<div id="placeholder" class="well">
|
<div id="placeholder" class="well">
|
||||||
<p>Please wait while the images are loaded.</p>
|
<p>Please wait while the images are loaded.</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="outside">
|
||||||
|
<!-- This hidden image keeps the div open and the right size, even when #rotator is hidden in change.js. -->
|
||||||
|
<img src="{{ imageWithElement}}" style="visibility:hidden; position:relative;">
|
||||||
<div id="rotator" class="hide">
|
<div id="rotator" class="hide">
|
||||||
<img src="{{ imageWithElement}}">
|
<img src="{{ imageWithElement}}">
|
||||||
<img src="{{ imageWithoutElement}}">
|
<img src="{{ imageWithoutElement}}">
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<form method="post" action="" name="changeform" id="changeform">
|
<form method="post" action="" name="changeform" id="changeform">
|
||||||
<input type="hidden" name="xcoordinate" id="xcoordinate" value="0">
|
<input type="hidden" name="xcoordinate" id="xcoordinate" value="0">
|
||||||
<input type="hidden" name="ycoordinate" id="ycoordinate" value="0">
|
<input type="hidden" name="ycoordinate" id="ycoordinate" value="0">
|
||||||
|
0
views/finish.html.twig
Normal file → Executable file
0
views/finish.html.twig
Normal file → Executable file
0
views/index.html.twig
Normal file → Executable file
0
views/index.html.twig
Normal file → Executable file
4
views/next.html.twig
Normal file → Executable file
4
views/next.html.twig
Normal file → Executable file
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<h1>Change blindness test (step {{ step_count }} of 3)</h1>
|
<h1>Change blindness test (step {{ step_count }} of {{ step_total }})</h1>
|
||||||
</header>
|
</header>
|
||||||
<p>Your response has been recorded.</p>
|
<p>Your response has been recorded.</p>
|
||||||
<p><a class="btn">« Retry</a> <a class="btn btn-primary" href="{{ next_url }}">Continue to step {{ step_count + 1 }} »</a></p>
|
<p><a class="btn" href="{{ prev_url }}">« Retry</a> <a class="btn btn-primary" href="{{ next_url }}">Continue to step {{ step_count + 1 }} »</a></p>
|
||||||
{% endblock %}
|
{% endblock %}
|
0
views/results.html.twig
Normal file → Executable file
0
views/results.html.twig
Normal file → Executable file
0
views/results.txt.twig
Normal file → Executable file
0
views/results.txt.twig
Normal file → Executable file
Reference in New Issue
Block a user