mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-13 11:01:09 -04:00
[web] Change player controls to buttons
This commit is contained in:
parent
b52fd89474
commit
dbfc727b21
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<a v-if="visible" :disabled="disabled" @click="seek">
|
||||
<button v-if="visible" :disabled="disabled" @click="seek">
|
||||
<mdicon
|
||||
class="icon"
|
||||
name="rewind-10"
|
||||
:title="$t('player.button.seek-backward')"
|
||||
/>
|
||||
</a>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<a v-if="visible" :disabled="disabled" @click="seek">
|
||||
<button v-if="visible" :disabled="disabled" @click="seek">
|
||||
<mdicon
|
||||
class="icon"
|
||||
name="fast-forward-30"
|
||||
:title="$t('player.button.seek-forward')"
|
||||
/>
|
||||
</a>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<a :disabled="disabled" @click="next">
|
||||
<button :disabled="disabled" @click="next">
|
||||
<mdicon
|
||||
class="icon"
|
||||
name="skip-forward"
|
||||
:title="$t('player.button.skip-forward')"
|
||||
/>
|
||||
</a>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<a :disabled="disabled" @click="toggle">
|
||||
<button :disabled="disabled" @click="toggle">
|
||||
<mdicon class="icon" :name="icon" :title="$t(`player.button.${icon}`)" />
|
||||
</a>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<a :disabled="disabled" @click="previous">
|
||||
<button :disabled="disabled" @click="previous">
|
||||
<mdicon
|
||||
class="icon"
|
||||
name="skip-backward"
|
||||
:title="$t('player.button.skip-backward')"
|
||||
/>
|
||||
</a>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user