|
@ -26,7 +26,7 @@ |
|
|
<div class="field is-grouped is-grouped-multiline"> |
|
|
<div class="field is-grouped is-grouped-multiline"> |
|
|
<div class="control" v-for="(annotation, index) in items[cur].labels"> |
|
|
<div class="control" v-for="(annotation, index) in items[cur].labels"> |
|
|
<div class="tags has-addons"> |
|
|
<div class="tags has-addons"> |
|
|
<span class="tag" |
|
|
|
|
|
|
|
|
<span class="tag is-medium" |
|
|
v-bind:style="{ color: annotation.label.text_color, backgroundColor: annotation.label.background_color }"> |
|
|
v-bind:style="{ color: annotation.label.text_color, backgroundColor: annotation.label.background_color }"> |
|
|
[[ annotation.label.text ]] |
|
|
[[ annotation.label.text ]] |
|
|
<button class="delete is-small" v-on:click="deleteLabel(index)"></button> |
|
|
<button class="delete is-small" v-on:click="deleteLabel(index)"></button> |
|
|