label-studio

mail@pastecode.io avatar
unknown
xml
2 years ago
910 B
5
Indexable
Never
<View display="inline">
  <View style="position:sticky; position: -webkit-sticky; 

               top: 0; background-color: #a6e0f4; z-index: 2;

               border-radius: 5px;">
      <Labels name="Attributes" toName="text" showInline="true">
        <Label alias="pain" hotkey="N" value="pain" background="#d9534f"></Label>
        <Label alias="nausea" hotkey="F" value="nausea" background="#2bbbad"></Label>
        <Label alias="vomiting" hotkey="V" value="vomiting" background="#5cb0de"></Label>
        <Label alias="fever" hotkey="C" value="fever" background="#aa66cc"></Label>
        <Label alias="headache" hotkey="I" value="headache" background="#808080"></Label>
        <Label alias="tingling" hotkey="D" value="tingling" background="#ffdf4f"></Label>
      </Labels>
 </View>
  <View style="width:100%; z-index: 1;">    
      <Text name="text" value="$RPT_TEXT"></Text>
  </View>
</View>