mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 23:30:09 -05:00
[web] Remove non-standard icon
This commit is contained in:
parent
6354f9972a
commit
612c62dcb8
@ -9,7 +9,6 @@
|
|||||||
<div class="is-size-7 is-uppercase" v-text="$t('navigation.volume')" />
|
<div class="is-size-7 is-uppercase" v-text="$t('navigation.volume')" />
|
||||||
<control-slider
|
<control-slider
|
||||||
v-model:value="player.volume"
|
v-model:value="player.volume"
|
||||||
:cursor="cursor"
|
|
||||||
:max="100"
|
:max="100"
|
||||||
@change="changeVolume"
|
@change="changeVolume"
|
||||||
/>
|
/>
|
||||||
@ -19,7 +18,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ControlSlider from '@/components/ControlSlider.vue'
|
import ControlSlider from '@/components/ControlSlider.vue'
|
||||||
import { mdiCancel } from '@mdi/js'
|
|
||||||
import { usePlayerStore } from '@/stores/player'
|
import { usePlayerStore } from '@/stores/player'
|
||||||
import webapi from '@/webapi'
|
import webapi from '@/webapi'
|
||||||
|
|
||||||
@ -33,7 +31,6 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
cursor: mdiCancel,
|
|
||||||
old_volume: 0
|
old_volume: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
v-model:value="volume"
|
v-model:value="volume"
|
||||||
:disabled="!output.selected"
|
:disabled="!output.selected"
|
||||||
:max="100"
|
:max="100"
|
||||||
:cursor="cursor"
|
|
||||||
@change="changeVolume"
|
@change="changeVolume"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -28,7 +27,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ControlSlider from '@/components/ControlSlider.vue'
|
import ControlSlider from '@/components/ControlSlider.vue'
|
||||||
import { mdiCancel } from '@mdi/js'
|
|
||||||
import webapi from '@/webapi'
|
import webapi from '@/webapi'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -40,7 +38,6 @@ export default {
|
|||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
cursor: mdiCancel,
|
|
||||||
volume: this.output.selected ? this.output.volume : 0
|
volume: this.output.selected ? this.output.volume : 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
type="range"
|
type="range"
|
||||||
:style="{
|
:style="{
|
||||||
'--ratio': ratio,
|
'--ratio': ratio,
|
||||||
'--cursor': $filters.cursor(cursor)
|
|
||||||
}"
|
}"
|
||||||
@input="$emit('update:value', $event.target.valueAsNumber)"
|
@input="$emit('update:value', $event.target.valueAsNumber)"
|
||||||
/>
|
/>
|
||||||
@ -18,7 +17,6 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'ControlSlider',
|
name: 'ControlSlider',
|
||||||
props: {
|
props: {
|
||||||
cursor: { default: '', type: String },
|
|
||||||
disabled: Boolean,
|
disabled: Boolean,
|
||||||
max: { required: true, type: Number },
|
max: { required: true, type: Number },
|
||||||
value: { required: true, type: Number }
|
value: { required: true, type: Number }
|
||||||
@ -125,7 +123,7 @@ input[type='range'].slider {
|
|||||||
@include track;
|
@include track;
|
||||||
}
|
}
|
||||||
&.is-inactive {
|
&.is-inactive {
|
||||||
cursor: var(--cursor, not-allowed);
|
cursor: not-allowed;
|
||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
@include thumb-inactive;
|
@include thumb-inactive;
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import ControlSlider from '@/components/ControlSlider.vue'
|
import ControlSlider from '@/components/ControlSlider.vue'
|
||||||
import audio from '@/lib/Audio'
|
import audio from '@/lib/Audio'
|
||||||
import { mdiCancel } from '@mdi/js'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ControlStreamVolume',
|
name: 'ControlStreamVolume',
|
||||||
@ -41,7 +40,6 @@ export default {
|
|||||||
emits: ['change', 'mute'],
|
emits: ['change', 'mute'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
cursor: mdiCancel,
|
|
||||||
loading: false,
|
loading: false,
|
||||||
playing: false,
|
playing: false,
|
||||||
volume: 10
|
volume: 10
|
||||||
|
@ -16,11 +16,6 @@ export const filters = {
|
|||||||
}
|
}
|
||||||
return t('filter.channels', { value })
|
return t('filter.channels', { value })
|
||||||
},
|
},
|
||||||
cursor(path, size = 20) {
|
|
||||||
const viewbox = 24
|
|
||||||
const center = size / 2
|
|
||||||
return `url("data:image/svg+xml,%3Csvg width='${size}' height='${size}' viewBox='0 0 ${viewbox} ${viewbox}' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${path}'/%3E%3C/svg%3E") ${center} ${center}, auto`
|
|
||||||
},
|
|
||||||
date(value) {
|
date(value) {
|
||||||
return DateTime.fromISO(value)
|
return DateTime.fromISO(value)
|
||||||
.setLocale(locale.value)
|
.setLocale(locale.value)
|
||||||
|
@ -6,7 +6,6 @@ import {
|
|||||||
mdiBookOpenVariant,
|
mdiBookOpenVariant,
|
||||||
mdiBookshelf,
|
mdiBookshelf,
|
||||||
mdiBroadcast,
|
mdiBroadcast,
|
||||||
mdiCancel,
|
|
||||||
mdiCast,
|
mdiCast,
|
||||||
mdiCastVariant,
|
mdiCastVariant,
|
||||||
mdiCellphone,
|
mdiCellphone,
|
||||||
@ -72,7 +71,6 @@ export const icons = {
|
|||||||
mdiBookOpenVariant,
|
mdiBookOpenVariant,
|
||||||
mdiBookshelf,
|
mdiBookshelf,
|
||||||
mdiBroadcast,
|
mdiBroadcast,
|
||||||
mdiCancel,
|
|
||||||
mdiCast,
|
mdiCast,
|
||||||
mdiCastVariant,
|
mdiCastVariant,
|
||||||
mdiCellphone,
|
mdiCellphone,
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
class="mt-5"
|
class="mt-5"
|
||||||
:disabled="is_live"
|
:disabled="is_live"
|
||||||
:max="track_progress_max"
|
:max="track_progress_max"
|
||||||
:cursor="cursor"
|
|
||||||
@change="seek"
|
@change="seek"
|
||||||
@mousedown="start_dragging"
|
@mousedown="start_dragging"
|
||||||
@mouseup="end_dragging"
|
@mouseup="end_dragging"
|
||||||
@ -59,7 +58,6 @@ import ControlSlider from '@/components/ControlSlider.vue'
|
|||||||
import CoverArtwork from '@/components/CoverArtwork.vue'
|
import CoverArtwork from '@/components/CoverArtwork.vue'
|
||||||
import LyricsPane from '@/components/LyricsPane.vue'
|
import LyricsPane from '@/components/LyricsPane.vue'
|
||||||
import ModalDialogQueueItem from '@/components/ModalDialogQueueItem.vue'
|
import ModalDialogQueueItem from '@/components/ModalDialogQueueItem.vue'
|
||||||
import { mdiCancel } from '@mdi/js'
|
|
||||||
import { useLyricsStore } from '@/stores/lyrics'
|
import { useLyricsStore } from '@/stores/lyrics'
|
||||||
import { usePlayerStore } from '@/stores/player'
|
import { usePlayerStore } from '@/stores/player'
|
||||||
import { useQueueStore } from '@/stores/queue'
|
import { useQueueStore } from '@/stores/queue'
|
||||||
@ -89,7 +87,6 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
INTERVAL,
|
INTERVAL,
|
||||||
cursor: mdiCancel,
|
|
||||||
interval_id: 0,
|
interval_id: 0,
|
||||||
is_dragged: false,
|
is_dragged: false,
|
||||||
selected_item: {},
|
selected_item: {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user