survey / layouts /task_layout.html
davidjurgens's picture
Deploy Potato demo: Potato — Survey Flow
459acdf verified
Raw
History Blame Contribute Delete
5.3 kB
<!-- CONFIG_HASH: afe0b39b96cf773f168e0fbd9892abcf_0c0812fa8139576180a172c3f3f88f1f -->
<!-- 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="sentiment" class="annotation-form likert shadcn-likert-container" action="javascript:void(0)" data-annotation-id="0" data-annotation-type="likert" data-schema-name="sentiment" data-grid-columns="1">
<fieldset schema="sentiment">
<legend class="shadcn-likert-title">Rate the sentiment of this text</legend>
<div class="shadcn-likert-scale" style="max-width: min(100%, calc(300px + 5 * 40px + 250px));">
<div class="shadcn-likert-endpoint">Very Negative</div>
<div class="shadcn-likert-options">
<div class="shadcn-likert-track"></div>
<div class="shadcn-likert-option">
<input class="sentiment shadcn-likert-input annotation-input"
type="radio"
id="sentiment_1_radio"
name="sentiment"
value="1"
schema="sentiment"
label_name="1"
selection_constraint="single"
validation="required"
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="sentiment_1_radio"></label>
<span class="shadcn-likert-label">1</span>
</div>
<div class="shadcn-likert-option">
<input class="sentiment shadcn-likert-input annotation-input"
type="radio"
id="sentiment_2_radio"
name="sentiment"
value="2"
schema="sentiment"
label_name="2"
selection_constraint="single"
validation="required"
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="sentiment_2_radio"></label>
<span class="shadcn-likert-label">2</span>
</div>
<div class="shadcn-likert-option">
<input class="sentiment shadcn-likert-input annotation-input"
type="radio"
id="sentiment_3_radio"
name="sentiment"
value="3"
schema="sentiment"
label_name="3"
selection_constraint="single"
validation="required"
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="sentiment_3_radio"></label>
<span class="shadcn-likert-label">3</span>
</div>
<div class="shadcn-likert-option">
<input class="sentiment shadcn-likert-input annotation-input"
type="radio"
id="sentiment_4_radio"
name="sentiment"
value="4"
schema="sentiment"
label_name="4"
selection_constraint="single"
validation="required"
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="sentiment_4_radio"></label>
<span class="shadcn-likert-label">4</span>
</div>
<div class="shadcn-likert-option">
<input class="sentiment shadcn-likert-input annotation-input"
type="radio"
id="sentiment_5_radio"
name="sentiment"
value="5"
schema="sentiment"
label_name="5"
selection_constraint="single"
validation="required"
onclick="onlyOne(this);registerAnnotation(this);">
<label class="shadcn-likert-button" for="sentiment_5_radio"></label>
<span class="shadcn-likert-label">5</span>
</div>
</div>
<div class="shadcn-likert-endpoint">Very Positive</div>
</div>
</fieldset></form>
</div>