guest_worker/mt_task.xml

70 lines
2.5 KiB
XML
Raw Normal View History

2019-10-31 15:06:33 +01:00
<HTMLQuestion xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd">
<HTMLContent><![CDATA[
<!-- YOUR HTML BEGINS -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
<script type='text/javascript' src='https://s3.amazonaws.com/mturk-public/externalHIT_v1.js'></script>
<link crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" integrity="sha384-IS73LIqjtYesmURkDE9MXKbXqYA8rvKEp/ghicjem7Vc3mGRdQRptJSz60tvrB6+" rel="stylesheet" />
</head>
<body>
<form name='mturk_form' method='post' id='mturk_form' action='https://www.mturk.com/mturk/externalSubmit'>
<input type='hidden' value='' name='assignmentId' id='assignmentId'/>
<section class="container" id="SurveyLink">
<div class="row">
<div class="col-xs-12 col-md-12">
<div class="panel panel-primary">
<div class="panel-heading"><strong>Tracing Instructions</strong></div>
<div class="panel-body" id="instructionBody">
<p>Select the link below to go to the drawing page. After submitting your trace, you will receive a code to paste into the box below to receive credit for completing the HIT.</p>
<p><strong>Make sure to leave this window open as you complete the drawing. </strong> When you are finished, you will return to this page to paste the code into the box.</p>
</div>
</div>
</div>
</div>
<div class="row" id="workContent">
<div class="col-xs-12 col-md-6 col-md-offset-3"><!-- Content for Worker -->
<table class="table table-condensed table-bordered">
<colgroup>
<col class="col-xs-4 col-md-4" />
<col class="col-xs-8 col-md-8" />
</colgroup>
<tbody>
<tr>
<td><label>Drawing link:</label></td>
<td><a href="http://here.rubenvandeven.com:8888/draw?id={HIT_NR}">drawing page</a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row" id="workInput">
<div class="col-xs-12 col-md-6 col-md-offset-3"><!-- Content for Worker -->
<div class="form-group"><label for="surveycode">Provide the token here:</label></div>
<div class="form-group"><input class="form-control" id="surveycode" name="surveycode" placeholder="e.g. 123456" required="" type="text" /></div>
<div class="form-group">
<input type='submit' id='submitButton' value='Submit' />
</div>
</div>
</div>
</section>
</form>
<script language='Javascript'>turkSetAssignmentID();</script>
</body>
</html>
]]></HTMLContent><FrameHeight>600</FrameHeight></HTMLQuestion>