|
|
@ -17,11 +17,11 @@ |
|
|
|
<div class="card-content"> |
|
|
|
<div class="has-text-right"> |
|
|
|
|
|
|
|
<div class="field is-grouped is-grouped-multiline has-text-weight-bold" style="padding-bottom:.75rem;"> |
|
|
|
<div class="field is-grouped is-grouped-multiline has-text-weight-bold pbrem075"> |
|
|
|
<div class="control" v-for="label in labels"> |
|
|
|
<div class="tags has-addons"> |
|
|
|
<span class="tag is-medium" v-bind:style="{ color: label.text_color, 'background-color': label.background_color }"> |
|
|
|
<button class="delete is-small" style="margin-right:.25rem;margin-left:-.375rem;" @click="removeLabel(label)"></button> |
|
|
|
<button class="delete is-small mrrem025 mlrem-0375" @click="removeLabel(label)"></button> |
|
|
|
[[ label.text ]] |
|
|
|
</span> |
|
|
|
<span class="tag is-medium">[[ label.shortcut ]]</span> |
|
|
@ -30,9 +30,9 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="field is-horizontal bordered-row"> |
|
|
|
<label class="label column is-3" style="margin-bottom:0;">Preview</label> |
|
|
|
<label class="label column is-3 mb0">Preview</label> |
|
|
|
<div class="control column is-6"> |
|
|
|
<div class="tags has-addons" style="font-weight:700;"> |
|
|
|
<div class="tags has-addons has-text-weight-bold"> |
|
|
|
<a class="tag is-medium" v-bind:style="{ color: textColor, backgroundColor: backgroundColor }"> |
|
|
|
[[ labelText ]] |
|
|
|
</a> |
|
|
@ -42,14 +42,14 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="field is-horizontal bordered-row"> |
|
|
|
<label class="label column is-3" style="margin-bottom:0;">Label Name</label> |
|
|
|
<label class="label column is-3 mb0">Label Name</label> |
|
|
|
<div class="control column is-6"> |
|
|
|
<input class="input" type="text" placeholder="Text input" v-model="labelText"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="field is-horizontal bordered-row"> |
|
|
|
<label class="label column is-3" style="margin-bottom:0;">Shortcut Key</label> |
|
|
|
<label class="label column is-3 mb0">Shortcut Key</label> |
|
|
|
<div class="control column is-6"> |
|
|
|
<div class="select"> |
|
|
|
<select v-model="selectedShortkey"> |
|
|
@ -64,14 +64,14 @@ |
|
|
|
|
|
|
|
<div class="field is-horizontal bordered-row"> |
|
|
|
|
|
|
|
<label class="label column is-3" style="margin-bottom:0;">Background Color</label> |
|
|
|
<label class="label column is-3 mb0">Background Color</label> |
|
|
|
<div class="control column is-6"> |
|
|
|
<input class="input" type="color" v-model="backgroundColor"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="field is-horizontal bordered-row"> |
|
|
|
<label class="label column is-3" style="margin-bottom:0;">Text Color</label> |
|
|
|
<label class="label column is-3 mb0">Text Color</label> |
|
|
|
<div class="control column is-6"> |
|
|
|
<input class="input" type="color" v-model="textColor"> |
|
|
|
</div> |
|
|
|