mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
Add checkbox coin selection (js version)
This commit is contained in:
parent
d6d58a98db
commit
5a841216b8
@ -25,8 +25,22 @@
|
||||
:key="item.outpoint"
|
||||
v-bind:class="{ 'list-group-item-secondary': item.selected }"
|
||||
v-on:click="toggleItem($event, item, !item.selected)">
|
||||
<a v-on:click="toggleItem($event, item, !item.selected)" class="text-truncate flex-1" v-tooltip="item.outpoint" v-bind:href="item.link" target="_blank">{{item.outpoint}}</a>
|
||||
<div :id="item.outpoint" class="d-flex justify-content-between align-items-center">
|
||||
<div class="d-flex justify-content-between align-items-center w-100">
|
||||
<input class="mr-2"
|
||||
type="checkbox"
|
||||
v-bind:id="item.outpoint"
|
||||
v-bind:value="item.outpoint"
|
||||
v-bind:checked="item.selected">
|
||||
<label
|
||||
class="flex-1 d-inline-block text-truncate mb-0"
|
||||
v-bind:for="item.outpoint">
|
||||
<a
|
||||
v-tooltip="item.outpoint"
|
||||
v-bind:href="item.link"
|
||||
target="_blank">
|
||||
{{item.outpoint}}
|
||||
</a>
|
||||
</label>
|
||||
<div>
|
||||
<span v-if="item.comment" data-toggle="tooltip" v-tooltip="item.comment" class="badge badge-info badge-pill" style="font-style: italic">i</span>
|
||||
<span
|
||||
|
Loading…
Reference in New Issue
Block a user