multi-span / layouts /task_layout.html
davidjurgens's picture
Deploy Potato demo: Potato — Multi-Field Spans
dc4d6fd verified
Raw
History Blame Contribute Delete
3.41 kB
<!-- CONFIG_HASH: 652157caed99459b804c6f8e24e2a0b9_9207da906c6e43a0f2415d75511d4da2 -->
<!-- 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="alignment" class="annotation-form span shadcn-span-container" action="javascript:void(0)" data-annotation-id="0" data-grid-columns="1">
<fieldset schema="alignment">
<legend class="shadcn-span-title">Highlight aligned phrases between premise and hypothesis</legend>
<div class="shadcn-span-options">
<div class="shadcn-span-option">
<input class="alignment shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="alignment_MATCH"
name="span_label:::alignment"
value="MATCH"
onclick="onlyOne(this); changeSpanLabel(this, 'alignment', 'MATCH', 'MATCH', '(110, 86, 207)', '');"
data-target-field=""
validation="">
<label for="alignment_MATCH" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Phrases that convey the same meaning">
<span style="background-color:rgb(110, 86, 207,0.4);">MATCH</span>
</label>
</div>
<div class="shadcn-span-option">
<input class="alignment shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="alignment_MISMATCH"
name="span_label:::alignment"
value="MISMATCH"
onclick="onlyOne(this); changeSpanLabel(this, 'alignment', 'MISMATCH', 'MISMATCH', '(239, 68, 68)', '');"
data-target-field=""
validation="">
<label for="alignment_MISMATCH" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Phrases where the meaning differs">
<span style="background-color:rgb(239, 68, 68,0.4);">MISMATCH</span>
</label>
</div>
<div class="shadcn-span-option">
<input class="alignment shadcn-span-checkbox"
for_span="true"
type="checkbox"
id="alignment_NEW_INFO"
name="span_label:::alignment"
value="NEW_INFO"
onclick="onlyOne(this); changeSpanLabel(this, 'alignment', 'NEW_INFO', 'NEW_INFO', '(113, 113, 122)', '');"
data-target-field=""
validation="">
<label for="alignment_NEW_INFO" class="shadcn-span-label" data-toggle="tooltip" data-html="true" data-placement="top" title="Information present in one field but not the other">
<span style="background-color:rgb(113, 113, 122,0.4);">NEW_INFO</span>
</label>
</div>
</div></fieldset></form>
</div>