pairwise-comparison / layouts /task_layout.html
davidjurgens's picture
Deploy Potato demo: Potato — Pairwise Comparison
1c5172e verified
Raw
History Blame Contribute Delete
2.04 kB
<!-- CONFIG_HASH: 54a21e864434235662dfddcb06b05426_fa2a4f6961caaf99d544c173348090a2 -->
<!-- Generated annotation layout file -->
<!-- This file was automatically generated based on the annotation schemes in your config -->
<!-- You can customize this file to modify the layout of your annotation interface -->
<!-- Changes to this file will be preserved across server restarts -->
<div class="annotation_schema">
<form id="preference" class="annotation-form pairwise pairwise-binary" action="javascript:void(0)" data-annotation-id="0" data-annotation-type="pairwise" data-schema-name="preference" data-mode="binary" data-items-key="text" data-grid-columns="1">
<fieldset schema="preference">
<legend class="pairwise-question">Which tweet is more intimate?</legend>
<!-- Compact selection tiles -->
<div class="pairwise-selection-container">
<div class="pairwise-tile" data-value="A" data-schema="preference" tabindex="0" data-key="1">
<span class="pairwise-tile-label">Option A</span>
<span class="pairwise-tile-shortcut">[1]</span>
</div>
<div class="pairwise-tile" data-value="B" data-schema="preference" tabindex="0" data-key="2">
<span class="pairwise-tile-label">Option B</span>
<span class="pairwise-tile-shortcut">[2]</span>
</div>
</div>
<div class="pairwise-extra-options">
<button type="button" class="pairwise-tie-btn" data-value="tie" data-schema="preference" data-key="0">
Hard to tell [0]
</button>
</div>
<input type="hidden" class="pairwise-value annotation-input"
name="preference"
schema="preference"
label_name="selection"
validation="required"
value="">
</fieldset>
</form>
</div>