mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 21:42:20 +01:00
Merge branch 'wkuijltjes/playsinat' into 'marietje-zuid'
Fix toggling of Plays In/Plays At in mobile view Closes #86 See merge request technicie/MarietjeDjango!93
This commit is contained in:
@ -105,6 +105,10 @@ footer {
|
||||
transition: 1s transform ease-in-out;
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar-text {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
@ -85,8 +85,8 @@
|
||||
</td>
|
||||
<td class="col-md-1">
|
||||
<span class="control-icons">Control</span>
|
||||
<span v-if="playsIn" class="btn btn-link p-0 d-sm-none" v-on:click="toggle_details(song)">(Plays in)</span>
|
||||
<span v-else class="btn btn-link p-0 d-sm-none" v-on:click="toggle_details(song)">(Plays At)</span>
|
||||
<span v-if="playsIn" class="btn btn-link p-0 d-sm-none" v-on:click="playsIn = false" >(Plays In)</span>
|
||||
<span v-else class="btn btn-link p-0 d-sm-none" v-on:click="playsIn = true">(Plays At)</span>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -226,7 +226,7 @@
|
||||
${ song.artist }$
|
||||
</td>
|
||||
<td>
|
||||
<button v-on:click="request_song(song.id);" class="btn btn-link p-0 text-decoration-none" style="text-align: left">${ song.title }$</button>
|
||||
<button v-on:click="request_song(song.id);" class="btn btn-link p-0" style="text-align: left">${ song.title }$</button>
|
||||
</td>
|
||||
<td>
|
||||
<template v-if="song.user === null">
|
||||
@ -240,7 +240,7 @@
|
||||
${ song.duration.secondsToMMSS() }$
|
||||
</td>
|
||||
<td>
|
||||
<button v-on:click="report_song(song.id);" class="btn btn-link p-0 text-decoration-none">
|
||||
<button v-on:click="report_song(song.id);" class="btn btn-link p-0">
|
||||
⚑
|
||||
</button>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user