worker_specs kleine aanpassingen
This commit is contained in:
parent
81c2c5ec80
commit
08f2e4fd3e
2 changed files with 21 additions and 14 deletions
|
@ -17,9 +17,9 @@
|
|||
>
|
||||
|
||||
<div class='transition'>
|
||||
<p>Created HIT based on analog drawing</p>
|
||||
<p>Created subsequent HIT</p>
|
||||
<!-- <p>Created HIT at {{hit.created_at}}</p> -->
|
||||
<p v-else>Creating HIT based on analog drawing..</p>
|
||||
<p v-else>Creating subsequent HIT</p>
|
||||
<!-- <p>⇩</p> -->
|
||||
</div>
|
||||
|
||||
|
@ -31,13 +31,16 @@
|
|||
<p>{{hit.hit_id}}</p>
|
||||
<p class="descriptor">task description</p>
|
||||
<p>Use the mouse to draw a copy of the image above</p>
|
||||
|
||||
<!-- TASK FEE en FEE voor amazon (task fee * .2) -->
|
||||
|
||||
</div>
|
||||
|
||||
<div class='transition' v-if="hit.hit_id">
|
||||
<p v-if="!hit.assignment">waiting for guest worker to accept HIT..</p>
|
||||
<p v-if="!hit.assignment">waiting for worker</p>
|
||||
<template v-else>
|
||||
<p v-if="hit.assignment.returned_at || hit.assignment.abandoned_at">Asignment abandoned</p>
|
||||
<p v-else>Assignment accepted</p>
|
||||
<p v-if="hit.assignment.returned_at || hit.assignment.abandoned_at">task abandoned</p>
|
||||
<p v-else>task accepted</p>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
@ -48,12 +51,15 @@
|
|||
:class="[{'assignment-hidden': hit.assignment.returned_at || hit.assignment.abandoned_at}]">
|
||||
|
||||
<h2>guest worker</h2>
|
||||
|
||||
<!-- IF statement of worker id al beschikbaar is -->
|
||||
<p class="descriptor">worker id</p>
|
||||
<p>test{{hit.assignment.worker_id}}</p>
|
||||
<p class="descriptor">visiting from</p>
|
||||
<!-- {{hit.assignment.turk_browser}} / / {{hit.assignment.turk_os}}-->
|
||||
|
||||
<p>{{hit.assignment.turk_country}} ({{hit.assignment.turk_ip}}) </p>
|
||||
<p class="descriptor">visiting from</p>
|
||||
<!-- {{hit.assignment.turk_browser}} / / {{hit.assignment.turk_os}} ({{hit.assignment.turk_ip}}) -->
|
||||
|
||||
<p>{{hit.assignment.turk_country}}</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -64,23 +70,24 @@
|
|||
</div>
|
||||
|
||||
<div class='state' v-if="hit.assignment.submit_page_at">
|
||||
<h2>digital drawing</h2>
|
||||
<div class="statebox">
|
||||
<img :src="hit.svg_image">
|
||||
<h2>worker input</h2>
|
||||
<div class="svgcrop" style="height: 140px; overflow: hidden">
|
||||
<img :src="hit.svg_image" style="margin-top: -60px">
|
||||
</div>
|
||||
<!-- DURATION en afstand lijntekening -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='transition' v-if="hit.assignment.submit_page_at">
|
||||
<p v-if="!hit.scanned_at">Scanning..</p>
|
||||
<p v-if="!hit.scanned_at">Scanning</p>
|
||||
<p v-else>Scan completed</p>
|
||||
<!-- at {{hit.scanned_at}} -->
|
||||
</div>
|
||||
|
||||
|
||||
<div class='state' v-if="hit.scanned_at">
|
||||
<h2>analog drawing</h2>
|
||||
<!-- <h2>analog drawing</h2> -->
|
||||
<!-- <div class="statebox"> -->
|
||||
<img src="fake_scan.jpg">
|
||||
<!-- <img :src="hit.scan_image"> -->
|
||||
|
|
|
@ -147,7 +147,7 @@ html, body{
|
|||
}
|
||||
|
||||
to {
|
||||
max-height: 400px;
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue