mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-16 00:58:18 -04:00
[web] Change link to button
This commit is contained in:
parent
1c79273d76
commit
0d981d0ae1
@ -9,16 +9,17 @@
|
|||||||
<slot name="content" />
|
<slot name="content" />
|
||||||
</div>
|
</div>
|
||||||
<footer v-if="actions.length" class="card-footer">
|
<footer v-if="actions.length" class="card-footer">
|
||||||
<a
|
<button
|
||||||
v-for="action in actions"
|
v-for="action in actions"
|
||||||
:key="action.key"
|
:key="action.key"
|
||||||
class="card-footer-item"
|
class="card-footer-item is-small"
|
||||||
:class="{ 'is-disabled': action.disabled }"
|
:class="{ 'is-disabled': action.disabled }"
|
||||||
|
:disabled="action.disabled"
|
||||||
@click="action.handler"
|
@click="action.handler"
|
||||||
>
|
>
|
||||||
<mdicon class="icon" :name="action.icon" size="16" />
|
<mdicon class="icon" :name="action.icon" size="16" />
|
||||||
<span class="is-size-7" v-text="$t(action.key)" />
|
<span class="is-size-7" v-text="$t(action.key)" />
|
||||||
</a>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user